Terraform commands
auto approve
terraform apply -auto-approveinitialize
terraform initpreview terraform actions
terraform planapply configuration with variables
terraform apply -var-file terraform-dev.tfvarsdestroy a single resource
terraform destroy -target aws_vpc.myapp-vpcdestroy everything fromtf files
show resources and components from current state
show current state of a specific resource/data
set avail_zone as custom tf environment variable - before apply
Last updated