Complete the command to display the current Terraform state in a human-readable format.
terraform [1]The terraform show command displays the current state of your infrastructure in a readable format.
Complete the command to show the Terraform state from a specific state file named 'prod.tfstate'.
terraform show [1]The -state=prod.tfstate option tells Terraform to show the state from the specified file.
Fix the error in the command to output the Terraform state in JSON format.
terraform show [1]The correct flag to output the state in JSON format is -json.
Fill both blanks to show the Terraform state in JSON format from a specific file named 'dev.tfstate'.
terraform show [1] [2]
Use -state=dev.tfstate to specify the state file and -json to output in JSON format.
Fill all three blanks to show the Terraform state in JSON format from the state file 'terraform.tfstate' without refreshing.
terraform show [1] [2] [3]
-state-out=staging.tfstate which writes output to a file.Use -state=terraform.tfstate to specify the state file, -refresh=false to disable refresh, and -json to output in JSON format.