Hashicorp Certified Terraform Associate 003 · Free Practice Question Easy
Question 21
True or False? A terraform plan is a required step before running a terraform apply?
-
A
False
-
B
True
Reveal correct answer
Correct answer: A
Explanation
If no explicit plan file is given on the command line, terraform apply will create a new plan automatically and prompt for approval to apply it
https://developer.hashicorp.com/terraform/intro/core-workflow
A.
Correct. While it is highly recommended to run a terraform plan to preview changes and ensure accuracy, it is not a mandatory step before running a terraform apply. You can directly apply your Terraform configuration without running a plan, but it is considered a best practice to do so to avoid unexpected outcomes.
B.
False. While it is highly recommended to run a terraform plan to preview changes and ensure accuracy, it is not a mandatory step before running a terraform apply. You can directly apply your Terraform configuration without running a plan, but it is considered a best practice to do so to avoid unexpected outcomes.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
