Terraform: rename resources

· Thiago Perrotta · March 19, 2025, 11:11 a.m.
Summary
This blog post provides a concise guide on how to rename Terraform resources without incurring downtime, specifically using the `terraform state mv` command and the `moved` block in HCL. It offers practical tips that can be valuable for developers managing infrastructure with Terraform.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →