State File [2025]
: It helps identify "resource drift," which occurs when someone manually changes a resource (e.g., via the AWS Console) outside of the Terraform workflow.
In the context of , specifically Terraform , a "State File" is a JSON-formatted file that serves as the single source of truth for your deployed infrastructure. It maps the resources defined in your configuration code to the real-world resources currently provisioned in your cloud environment. Purpose and Functionality State File
: It records the exact state of what was deployed. When you run an update, Terraform compares your code to this file to determine if resources need to be created, modified, or deleted. : It helps identify "resource drift," which occurs
