Terraform

terraform commande

terraform init

terraform plan

terraform destroy

terraform destroy -target aws_instance.web
terraform destroy -target github_repository.example
terraform apply -auto-approve
terraform validate
terraform fmt

Version

terraform plan -var="instance_type=t3.micro"
terraform plan -var-file=custom.tfvars
setx TF_VAR_instance_type t2.micro
terraform show

Terraform variable assignment