Difference between revisions of "Terraform state (command)"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* <code>[[terraform state replace-provider]]</code> | * <code>[[terraform state replace-provider]]</code> | ||
* <code>[[terraform state rm]]</code> | * <code>[[terraform state rm]]</code> | ||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == |
Revision as of 08:57, 8 February 2022
https://www.terraform.io/docs/language/state/index.html
terraform state
and terraform state --help
Examples
terraform state list
List resources in the stateterraform state show
terraform state mv
terraform state pull
terraform state push
terraform state replace-provider
terraform state rm
Related terms
See also
- Terraform configuration files, Terraform state files:
.tf
,.tfvars
,main.tf, outputs.tf
,variables.tf
,.terraform.d/
,terraform init
,providers.tf
,.terraform/
,terraform.tfstate
,.terraform.lock.hcl
,terraform.tfstate.d, override.tf, versions.tf
- Terraform state:
terraform [ state | replace-provider | mv ]
,backend.tf
, Remote state backends to manage Terraform state, State locking,terraform force-unlock
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
]
Advertising: