IntermediatePhone
2 min
Purpose of Terraform State
TerraformIaCCloud
Advertisement
Interview Question
What is Terraform state and why is it important to store it remotely?
Key Points to Cover
- State maps resources in cloud to config for diff/plan
- Remote state enables collaboration and locking
- Protects against drift and concurrent changes
Evaluation Rubric
Defines Terraform state accurately34% weight
Explains benefits of remote state/locking33% weight
Mentions drift/concurrency concerns33% weight
Hints
- 💡Backends: S3+DynamoDB lock, GCS, Azure Blob.
Potential Follow-up Questions
- ❓What’s `terraform import` for?
- ❓How do workspaces relate to state?
Advertisement