Difference between revisions of "Terraform plan"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== Command examples == | == Command examples == | ||
− | * <code>terraform plan</code> | + | * <code>[[Exmples: terraform plan]]</code> |
* <code>terraform plan [[-out]]=tfplan.out</code> | * <code>terraform plan [[-out]]=tfplan.out</code> | ||
* <code>[[terraform plan -lock=false]]</code> | * <code>[[terraform plan -lock=false]]</code> |
Revision as of 15:32, 19 October 2021
terraform plan
creates an execution plan.
terraform init
->terraform plan
->terraform apply
->terraform show
Command examples
Exmples: terraform plan
terraform plan -out=tfplan.out
terraform plan -lock=false
terraform plan -var-file="your_file.tfvars"
terraform plan --help
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
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
[untaint | fmt
|apply
|show
|state
|init | plan | console | output
|validate
|destroy
|debug
|import
|providers
|get
|graph
|workspaces
|resource
|login
|-var-file
|state mv
|state pull
|state push
|state replace-provider
|state rm
|force-unlock
|env
|tfe
|--version
|remote-exec
|delete on termination
| deprecated commands |terraform --help
]- 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: