Complete the code to run Terraform apply without manual approval.
terraform apply [1]The -auto-approve flag runs Terraform apply without asking for confirmation.
Complete the command to safely plan changes before applying.
terraform [1]terraform plan shows what changes will happen without applying them.
Fix the error in the command that tries to auto-approve but uses wrong flag.
terraform apply [1]The correct flag to auto-approve is -auto-approve. Others cause errors.
Fill both blanks to explain the danger of using auto-approve in production.
Using [1] can cause [2] changes without review.
Using -auto-approve can cause unexpected changes without review, which is risky.
Fill all three blanks to complete the best practice for Terraform apply.
Always run [1] first, then [2] without [3] in production.
Best practice is to run terraform plan first, then terraform apply without -auto-approve in production to avoid mistakes.