5
Managing Terraform State
One of the most important artifacts of Terraform is the Terraform state file. Terraform state is the file that contains all the configuration that has been applied during the Terraform workflow.
Since the Terraform State file is not necessarily a physical file but can also be in blob object format, for example, throughout this chapter, we will use the term Terraform State to refer to the Terraform State file.
For more information about Terraform State file, read the documentation overview here: https://developer.hashicorp.com/terraform/language/state.
In most situations, we don’t need to interact with it directly. However, you may need to manipulate it either to view its information, delete resources, import resources, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access