DEV Community


Posted on • Updated on

Terraform Cheat Sheet

Will add more later:
Terraform reference -
Alternatively, You can break it up into separate files:
Terraform reference - Page 2

Terraform AWS resource list

terraform init
initialize a working directory containing Terraform configuration files

terraform fmt
formats the files to be Terraform friendly.

terraform validate
checks config files but does not check remote services

terraform plan
creates execution plan

terraform apply
executes the actions proposed in a Terraform plan

terraform destroy
tears down terraform infrastructure

For the Terraform Import method:

Top comments (0)