Terraform
Created: October 11, 2020
| Description | Command |
|---|---|
| Initialise Terraform within a directory. Pull down plugins. | terraform init |
Apply configuration defined in .tf files. |
terraform apply |
| Show running configuration. | terraform show |
| Destroy all infrastructure created by Terraform. | terraform destroy |
Validate .tf files in the current directory. |
terraform validate |
Format .tf files in the current directory. |
terraform fmt |
| Advanced state management. | terraform state SUBCOMMAND |
- The
terraform.tfstatefile holds metadata about the infrastructure that Terraform creates.