Terraform state files
https://www.terraform.io/docs/language/state/index.html
terraform.tfstate
fileterraform.tfstate.d
directory for Workspaces
Terraform workspaces allows to have multiple state files in the same working directory.
News
- May 2021 Controlled Remote State Access https://www.hashicorp.com/blog/announcing-controlled-remote-state-access-for-terraform-cloud-and-enterprise
Related terms
terraform output
terraform state
terraform force-unlock
terraform apply -refresh-only
- Remote state backends to manage Terraform state
key
in Terraform S3 backend- Terraform Associate: Understand secret management in state files
.terraform.lock.hcl
(Generated executing:terraform init
)terraform workspace
- Terraform Cloud: Controlled remote state Access (May 2021[1]) feature in Terraform Cloud and Terraform Enterprise, users now have a new way to establish granular controls for state accessibility.
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
Advertising: