Interview Prep/Terraform/IaC and Terraform Fundamentals

What is the difference between mutable and immutable infrastructure?

IntermediateConceptIaC and Terraform Fundamentals
Answer

Mutable means you change servers in place (patch, reconfigure over SSH). Immutable means you replace them with a new image or instance whenever something changes. Terraform leans immutable: many attribute changes show as -/+ (destroy and recreate), and we bake AMIs with Packer rather than patching live nodes. It reduces snowflake servers and drift.

All Terraform questions Roadmap: Terraform

More on IaC and Terraform Fundamentals