Terraform Cheatsheet 1
Terraform Cheatsheet 1
Terraform Cheatsheet 1
the essential
initialize terraform in the current working directory apply the current state of terraform code
Terraform terraform init terraform apply
Cheatsheet
skip plugin installation specify a previously generated plan to apply
terraform init -get-plugins=false terraform apply current.tfplan
by justin o’connor force plugin installation from a directory enable auto-approval or automation
terraform init -plugin-dir=PATH terraform apply -auto-approve
format terraform code to HCL standards list all resources in terraform state
terraform fmt plan terraform terraform state list