QuestionQ96

Core Terraform workflow

You changed your local Terraform configuration and ran terraform plan to review the modifications. At the same time, your teammate manually changed the infrastructure component you are working on.

Because you already ran terraform plan locally, the execution plan for terraform apply will be identical.

  • A True
  • B False
Explanation

A speculative terraform plan is not preserved for a later apply. Unless terraform apply is supplied with a saved plan file, Terraform refreshes its view of the infrastructure and creates a new execution plan; an intervening manual infrastructure change can therefore change that plan.

Community Discussion

No comments yet. Be the first to start the discussion!