Complete the code to preview changes before applying them in Terraform.
terraform [1]The terraform plan command shows the changes Terraform will make without applying them.
Complete the command to save the Terraform plan to a file for later use.
terraform plan -out=[1]The -out=tfplan option saves the plan to a file named tfplan.
Fix the error in the command to preview changes with detailed output.
terraform plan [1]The correct flag is -detailed-exitcode to get detailed exit codes after planning.
Fill both blanks to preview changes and specify the directory with Terraform configuration.
terraform [1] -chdir=[2]
Use plan to preview and -chdir= to specify the directory.
Fill all three blanks to preview changes, save the plan, and specify the input directory.
terraform [1] -out=[2] -chdir=[3]
Use plan to preview, -out=tfplan to save, and -chdir=config to specify directory.