Explain it in 60 seconds
Terraform state internals and refresh behaviour
Cloud & DevOps · Terraform and IaC · Experienced
What does Terraform state contain internally, and how does refresh work?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- JSON: resources, instances, attributes, dependencies, provider addresses.
- Serial and lineage for consistency.
- Refresh reads real attributes via provider.
- -refresh-only to accept drift.
- Never hand-edit; use state commands/blocks.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.