terraform plan
terraform plan
creates an execution plan.
terraform init
->terraform plan
->terraform apply
->terraform show
Command examples
terraform plan --help
terraform plan -out=tfplan.out
terraform plan -out=tfplan
terraform plan -lock=false
terraform plan -var-file="your_file.tfvars"
terraform plan -var=XXXX
terraform plan -replace=XXXX
terraform plan | more -R
https://www.terraform.io/cli/commands/plan#planning-options
-refresh=false -replace=ADDRESS terraform plan -target=ADDRESS
Execution examples
Related terms
- Terraform examples: Terraform: Hello_world.tf
- GitLab Preview of summary of
terraform plan
in Merge Requests https://about.gitlab.com/releases/2020/05/22/gitlab-13-0-released/#review-summary-of-terraform-plan-in-merge-requests terraform validate
terraform apply
terraform show
aws cloudformation list-change-sets
aws cloudformation describe-change-set
terragrunt plan
terraform debug
See also
terraform plan
: [-refresh-only | -lock=false
|-target
|-var-file
|will be created
|--help
], Terraform plan errors, Terraform plan examples, Terraform plan execution errors, (known after apply)- Terraform, OpenTofu, Terrakube.org, Installation, Terraform AWS, Terraform GCP, Terraform commands, Terraform Cloud, Terraform Enterprise (TFE), HCL, HIL, meta-arguments, providers, modules, resource, provisioners, data sources, backends: remote backends, examples, configuration files, state files, variables, types, Terraform Registry, conditionals:
depends_on
, functions, Blocks, dynamic blocks, errors, Terragrunt, Terraformer, Terratest, Terraform certifications, Terraform map type, Terraform Associate, Terraform: list type,TF_VAR_, TF_LOG
, Terraform provider versioning, Terraform Style Conventions, Required version, Terraform plugin, Terraform Named Values, tags, Changelog,tfsec, tflint
, Operators, Expressions:for, splat
, Debugging, Namespaces, Terraform Landing Zones, CDKTF, Atmos
Advertising: