HashiCorp
TERRAFORM-ASSOCIATE-004 · Question #223
terraform apply will fail if you have not run terraform plan first to update the plan output.
The correct answer is B. False. terraform apply can run without explicitly running terraform plan first. Running terraform plan before apply is recommended but not mandatory. If no plan file is provided, terraform apply automatically creates and executes a plan before applying changes.
Submitted by paula_co· Apr 18, 2026Use Terraform CLI
Question
terraform apply will fail if you have not run terraform plan first to update the plan output.
Options
- ATrue
- BFalse
How the community answered
(41 responses)- A12% (5)
- B88% (36)
Explanation
terraform apply can run without explicitly running terraform plan first. Running terraform plan before apply is recommended but not mandatory. If no plan file is provided, terraform apply automatically creates and executes a plan before applying changes.
Topics
#terraform apply#terraform plan#CLI workflow
Community Discussion
No community discussion yet for this question.