The init, plan, apply, destroy cycle

The Terraform workflow chains four commands: terraform init initializes the project and downloads providers and modules, plan computes the changes without applying them, apply executes them after confirmation, and destroy removes the managed resources.

Example

terraform init
terraform plan
terraform apply

Related concepts

The whole glossary