Using Terraform CLI, how do you apply plan that you previously stored using terraform plan command?

Experience Level: Junior
Tags: Terraform

Answer

To store a plan, run the following command:

terraform plan -out plan.zip

To apply the stored plan, run the following command:

terraform approve plan.zip

Comments

No Comments Yet.
Be the first to tell us what you think.
Terraform CLI
Terraform CLI

Are you learning Terraform ? Try our test we designed to help you progress faster.

Test yourself