Bitzu

Terraform Associate 004 ยท Core Terraform workflow

Write, plan, apply workflow

The three-stage core workflow, how it repeats, and where each CLI command fits (3a).

Key points

  • The core Terraform workflow has three stages: write the configuration (and check it with fmt and validate), plan to preview proposed changes, then apply to make them real.
  • It is a loop: every new change starts again at write.
  • Solo users often run apply to see the plan; teams review speculative plans on pull requests before merging.

Source: https://developer.hashicorp.com/terraform/intro/core-workflow

Practice questions

Single choice

Which three stages make up the core Terraform workflow?

  1. Install, configure, deploy
  2. Write, plan, apply
  3. Init, test, release
  4. Draft, review, destroy
Show answer

Answer: B. Write, plan, apply

The core workflow is write, plan, apply, and it repeats for every change. The other lists mix real commands or invented stages that are not the workflow.

Select all that apply

Which statements about the core workflow are accurate?

  1. It is a loop that starts again for each new change
  2. Apply must be run before plan so the plan has data to compare
  3. The workflow is only used for the very first deployment
  4. Reviewing the plan before approving is a built-in checkpoint
  5. Plan and apply are the same stage under two names
Show answer

Answer: A. It is a loop that starts again for each new change, D. Reviewing the plan before approving is a built-in checkpoint

The workflow loops for every change, and the plan gives a review point before apply. Plan comes before apply, the loop is not first-deploy only, and plan and apply are distinct stages.

True or false

After the first successful apply, later changes use a different process than write, plan, apply.

Show answer

Answer: False

False. The workflow is a loop; every later change goes through write, plan, apply again.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More Terraform Associate 004 topics in this module