Blog111.1K views1,736 votes0 replies1,511 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.