Terraform

You would like to change the name of a resource but afraid to cause downtime. What can be done?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

If it's a matter of changing a resource name, you could make use of terraform state mv