Interview Prep/Terraform/IaC and Terraform Fundamentals

What does idempotency mean in the context of Terraform?

IntermediateConceptIaC and Terraform Fundamentals
Answer

Running terraform apply repeatedly with unchanged config and unchanged real infrastructure produces no changes after the first run. Terraform achieves that by comparing configuration, state and refreshed reality. If a second apply immediately after the first still shows a diff, something is wrong, often a provider bug or a normalised value such as an IAM policy JSON.

All Terraform questions Roadmap: Terraform

More on IaC and Terraform Fundamentals