Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove T2 specifics to unify Terraform object names inside TF State #111

Merged
merged 1 commit into from
Jul 21, 2019
Merged

Conversation

smihajlovic-frame
Copy link
Contributor

Terraform 0.12 introduced HCL2.0 which enabled usage of null values in resources/modules. This PR includes code that would manage the same "aws_instance" resource no matter the instance type.

@antonbabenko antonbabenko merged commit 4cc5f2c into terraform-aws-modules:master Jul 21, 2019
@antonbabenko
Copy link
Member

I like this PR, thanks Stefan!

v2.6.0 has been released.

terraform state mv command can be used to rename resource if using previous version of this module without recreation of the resource. Eg, terraform state mv module.ec2.aws_instance.this_t2[0] module.ec2.aws_instance.this[0]

@github-actions
Copy link

github-actions bot commented Nov 9, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants