Blog111.1K views2,584 votes0 replies1,219 following
Refactor Terraform Without Destruction: A Practical Guide to `moved` Blocks
Renaming a Terraform resource usually triggers a destroy and create. `moved` blocks let you refactor addresses without replacing infrastructure—if you know their limits.