$ ./guess_the_languageDevOps
DevOps · hard · #247

What does this block prevent on the next apply?

moved {
  from = aws_instance.web
  to   = aws_instance.app
}
  1. Drift detection on that resource
  2. Any later change to its tags
  3. A destroy-and-recreate of it
  4. A second import of the instance
Renaming a resource address would normally plan a destroy and create; moved tells Terraform to update the state address instead.
Play DevOps ▸