Difference between revisions of "Terraform plan"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 6: | Line 6: | ||
== Command examples == | == Command examples == | ||
* <code>[[terraform plan --help]]</code> | * <code>[[terraform plan --help]]</code> | ||
+ | [[-no-color]] | ||
* <code>terraform plan [[-out]]=tfplan.out</code> | * <code>terraform plan [[-out]]=tfplan.out</code> | ||
* <code>terraform plan [[-out]]=[[tfplan]]</code> | * <code>terraform plan [[-out]]=[[tfplan]]</code> |
Revision as of 16:06, 15 March 2023
terraform plan
creates an execution plan.
terraform init
->terraform plan
->terraform apply
->terraform show
Command examples
-no-color
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 -target
terraform plan -refresh-only
terraform plan -parallelism
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
Error: Reference to undeclared input variable
export TF_LOG=DEBUG
See also
Advertising: