Hi all,
I’m new to Terraform and am trying to basically merge a module with the current config template without causing a destroy + recreate on the resources that are currently part of the module.
Is there a way to do something like this?
terraform state mv ‘module.module_name’ ‘./’
Or is my only option moving each individual resource under the module?
terraform state mv ‘module.module_name.resource_type.resource_name’ ‘resource_type.resource_name’
Any help would be greatly appreciated.