Terraform & IaC
terraform import
terraform import associates existing infrastructure with state.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Terraform & IaC
- Data sourcesBeginner · 5 min
Data sources read existing infrastructure for configuration.
- Reading a plan: create, change, destroy and replaceBeginner · 5 min
The summary line of a plan counts replacements twice. How to read every symbol, find the attribute that forced a replacement, and spot drift.
- Terraform refreshBeginner · 4 min
Terraform refresh reads current provider objects into planning.
- Moved blocksBeginner · 4 min
Moved blocks record resource address refactors.
- IAM policy for automationBeginner · 4 min
IAM policy for automation bounds Terraform permissions.
- S3 remote backendBeginner · 4 min
S3 remote backend persists Terraform state in an S3 object.