Difference between revisions of ".terraform/terraform.tfstate"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* <code>[[terraform show]]</code>, <code>[[terraform plan]]</code> | * <code>[[terraform show]]</code>, <code>[[terraform plan]]</code> | ||
* [[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> | ||
+ | * [[Terraform S3 backend]] | ||
== Activities == | == Activities == |
Latest revision as of 11:06, 29 August 2024
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[edit]
.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
- Terraform S3 backend
Activities[edit]
See also[edit]
- 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: