Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 72 Topic 8 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 72 Topic 8 Discussion

Terraform-Associate-004 Exam Topic 8 Question 72 Discussion:
Question #: 72
Topic #: 8

Exhibit:

Error: Saved plan is stale

The given plan file can no longer be applied because the state was changed by another operation after the plan was created.

You have a saved execution plan containing desired changes for infrastructure managed by Terraform. After running terraform apply my.tfplan, you receive the error shown. How can you apply the desired changes? (Pick the 2 correct responses below.)


A.

Generate a new execution plan file with terraform plan, and apply the new plan.


B.

Run terraform apply without the saved execution plan.


C.

Force the apply command by adding the flag -lock=false.


D.

Refresh the current state data using the -refresh-only flag.


E.

Update the current plan file using the terraform state push command.


Get Premium Terraform-Associate-004 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.