-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
fix: create missing validation records in cases (eg, wildcard SAN) #89
fix: create missing validation records in cases (eg, wildcard SAN) #89
Conversation
…e for distinct domain validation options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
@@ -30,6 +30,7 @@ module "acm" { | |||
"*.alerts.${local.domain_name}", | |||
"new.sub.${local.domain_name}", | |||
"*.${local.domain_name}", | |||
"alerts.${local.domain_name}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line was enough to reproduce the error.
Thank you, @flora-five ! v3.1.0 has been just released. |
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. |
Description
Make sure that a single validation record is created for both
*.domain
anddomain
items fromaws_acm_certificate.this[0].domain_validation_options
.Motivation and Context
Fixes #82
When wildcard SANs are used, the module may not create all the necessary validation records.
Breaking Changes
It may affect the users, if any, who have created a certificate that is not yet validated because of the missing validation records. Running
terraform apply
may delete one or more existing validation records due to the recomputedvalidation_domains
list. Runningapply
one more time will be necessary to create again the validation records deleted by the previousapply
.How Has This Been Tested?
Using the example from the #82
terraform console
output.