Terraform State File Management with Remote Backend
On day 4 of my learning journey I learnt how Terraform remembers what it creates, and how to manage that memory safely using a remote backend. When running terraform apply , a file named terraform.tfstate is generated in the working directory. This file is critical because it stores metadata that Terraform uses to track infrastructure resources. Why Remote State Matters When Terraform runs, it keeps track of infrastructure in a state file. If that file stays on a local machine: It’s not shareabl
Comment
Sign in to join the discussion.
Loading comments…