Refactoring Terraform HashiCorp Developer

rw-book-cover

URL: https://developer.hashicorp.com/terraform/language/modules/develop/refactoring#moved-block-syntax
Author: Refactoring | Terraform | HashiCorp Developer

Summary

How to make backward-compatible changes to modules already in use.

Highlights Added July 17, 2024 at 11:02 AM

The example above records that the resource currently known as aws_instance.b was known as aws_instance.a in a previous version of this module. ([View Highlight] (https://read.readwise.io/read/01gzjhj7rk9dfxw8w3vzqmm9gh))