Problem Statement
What should you do when the Terraform state file becomes inconsistent with real infrastructure?
Explanation
When the Terraform state diverges from actual infrastructure, running 'terraform refresh' updates it to match real-world conditions.
If resources were created manually, they can be imported using 'terraform import'. This ensures Terraform's understanding of the environment stays accurate and consistent.
