Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 158


terraform apply will fail if you have not am terraform plan first to update the plan output.

Show Answer
Correct Answer: B

Terraform plan is not mandatory before running terraform apply. The plan command is used to create an execution plan, showing what actions Terraform will take to change the infrastructure, but it is an optional step. Therefore, terraform apply will not fail if terraform plan has not been run first.

Discussion

5 comments
Sign in to comment
Pinky0289Option: B
Sep 17, 2022

Terraform plan is not mandatory. It just lays our the execution plan. It is an optional command. So, the answer is B. False

depal_dhirOption: B
Sep 7, 2022

Terraform plan is optional

keiffo2Option: B
Sep 6, 2022

you don't need to do plan before you do apply

Anil_K786Option: B
Jan 14, 2024

answer is B. False

090200fOption: B
Jul 21, 2024

No deed to run terraform plan cmd before running terraform apply. it's optional. so answer is B: False