Difference between revisions of ".terraform/terraform.tfstate"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 13: | Line 13: | ||
* [[Terraform data source]]: <code>[[Terraform data source: terraform remote state|terraform remote state]]</code> | * [[Terraform data source]]: <code>[[Terraform data source: terraform remote state|terraform remote state]]</code> | ||
+ | == Activities == | ||
+ | * [[By default, where does Terraform CLI store its state?]] | ||
== See also == | == See also == |
Revision as of 16:27, 4 April 2023
https://www.terraform.io/docs/language/state/index.html
terraform.tfstate
cat .terraform/terraform.tfstate | jq -c '.backend.config.bucket' | tr -d '"' | grep -c "$(echo $AWS_ENV)"
Related terms
.tf
,.terraform.lock.hcl
- Terraform state files:
terraform.tfstate
- Remote state backends to manage Terraform state:
backend
terraform show
,terraform plan
- Terraform data source:
terraform remote state
Activities
See also
- Terraform state:
terraform [ state | replace-provider | mv ]
,backend.tf
, Remote state backends to manage Terraform state, State locking,terraform force-unlock
- 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
Advertising: