.terraform/terraform.tfstate
Jump to navigation
Jump to search
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
- Terraform S3 backend
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: