State File - CI/CD Glossary Definition
A state file is the record an IaC tool keeps of the resources it manages, mapping configuration to real-world objects so it knows what to create, change, or destroy.
A state file is the record an IaC tool keeps of the resources it manages, mapping configuration to real-world objects so it knows what to create, change, or destroy.
Terraform stores this mapping in a state file; losing or corrupting it disconnects your code from the resources it controls.
Related guides
Remote State - CI/CD Glossary DefinitionRemote State: Remote state stores an IaC tool's state file in a shared backend (such as an S3 bucket or a man…
State Locking - CI/CD Glossary DefinitionState Locking: State locking prevents two runs from modifying the same IaC state at once by acquiring a lock…
Configuration Drift - CI/CD Glossary DefinitionConfiguration Drift: Drift is the divergence between a system's real configuration and the state declared in…