Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Terraform Advance Workflow loop explained!!!

validate – Validates the Terraform files
init – Init. Initialize the (local) Terraform environment. Usually executed only once per session.
providers – Prints a tree of the providers used in the configuration
graph – Create a visual graph of Terraform resources
plan – Plan. Compare the Terraform state with the as-is state in the cloud, build and display an execution plan. This does not change change the deployment (read-only).
show – Inspect Terraform state or plan
apply – Apply the plan from the plan phase. This potentially changes the deployment (read and write).
show – Inspect Terraform state or plan
output – Read an output from a state file
destroy – Destroy all resources that are governed by this specific terraform environment.

  • validate – Validates the Terraform files
  • init – Init. Initialize the (local) Terraform environment. Usually executed only once per session.
  • providers – Prints a tree of the providers used in the configuration
  • graph – Create a visual graph of Terraform resources
  • plan – Plan. Compare the Terraform state with the as-is state in the cloud, build and display an execution plan. This does not change change the deployment (read-only).
  • show – Inspect Terraform state or plan
  • apply – Apply the plan from the plan phase. This potentially changes the deployment (read and write).
  • show – Inspect Terraform state or plan
  • output – Read an output from a state file
  • destroy – Destroy all resources that are governed by this specific terraform environment.
Rajesh Kumar
Follow me