Terraform State
Learn how Terraform stores and alters its infrastructure state.
We'll cover the following...
Overview
Managing our Terraform infrastructure is possible because Terraform maintains the state of our infrastructure. The state is maintained in a file called a state file or the terraform.tfstate
file. The state file contains the mapping of our infrastructure on our cloud platform to the configuration files we’ve defined.
Press + to interact
Terraform state file format
The Terraform state file is written in JSON. One important thing to note is that it’s ...