Where does the Terraform local backend store its state?
Where does the Terraform local backend store its state?
The local backend in Terraform stores its state in a file named terraform.tfstate. This file resides in the root directory of the Terraform project and contains a detailed representation of the managed infrastructure. Terraform uses this state file to map real-world resources to your configuration, keep track of metadata, and improve performance for large infrastructures.
C. https://www.terraform.io/language/settings/backends/local
The local backend stores state on the local filesystem, locks that state using system APIs, and performs operations locally. https://developer.hashicorp.com/terraform/language/settings/backends/local
terraform.tfstate , C is the correct ans
C is the correct answer
C is the correct answer.
C. terraform.tfstate
C. .tfstate file
C state.tf file
The state is stored in the terraform.tfstate file in the root directory of the terraform project