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

Release v2.13.0 destroys ACM validation records #72

Closed
nickelozz opened this issue Feb 23, 2021 · 4 comments · Fixed by #75
Closed

Release v2.13.0 destroys ACM validation records #72

nickelozz opened this issue Feb 23, 2021 · 4 comments · Fixed by #75

Comments

@nickelozz
Copy link
Contributor

nickelozz commented Feb 23, 2021

I'm creating this issue to raise awareness.

With the release of v2.13.0, performing a terraform apply will remove a duplicate route53 validation record (see more here).

However, as mentioned in this comment, removing the duplicate record from the state file will effectively remove the actual record from AWS even though there's still 1 entry in the state file.

The way I solved this situation was by removing the duplicate record from the module with something like the following before yielding the first terraform apply post-module upgrade:

terraform state rm module.acm.aws_route53_record.validation[1]

@antonbabenko perhaps a release note mentioning this situation could come in handy for people upgrading to this module version?

@antonbabenko
Copy link
Member

Good point, terraform state rm aws_route53_record.validation[1] where [1] can be something else depending on your inputs. Could you open a PR that updated README about this?

@nickelozz
Copy link
Contributor Author

Hi, @antonbabenko I can definitely do that. Do you have any preference on where to add this info? I'm thinking of putting it under Notes.

@antonbabenko
Copy link
Member

Yes, Notes sounds reasonable.

@github-actions
Copy link

I'm going to lock this issue 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 similar to this, 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 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants