Terraform State

Learn how Terraform stores and alters its infrastructure state.

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.

Get hands-on with 1200+ tech skills courses.