-
-
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
feat!: Added validation_option configuration and upgraded AWS provider to v4 #106
feat!: Added validation_option configuration and upgraded AWS provider to v4 #106
Conversation
af6695f
to
74ffc67
Compare
@bryantbiggs Should this also be a major release? Sometimes I have mixed feelings and am unsure whether a major release is a right decision when the AWS provider goes up from v2 to v4. |
9584445
to
d02c7b0
Compare
@antonbabenko ya - I think any provider major version update is automatically a module version update. It forces users to upgrade their provider version. We will potentially have a lot of major version upgrades in modules for this but I guess thats how it goes |
@antonbabenko is there anything left for me to finish this up ? |
@antonbabenko could you do a release with this please ? |
@philicious can you also bump the required minimum Terraform version to 1.0 since we're taking this as a breaking change |
@bryantbiggs will do tomorrow 👍🏼 |
1c29f64
to
003f13b
Compare
examples/complete-email-validation-with-validation-domain/versions.tf
Outdated
Show resolved
Hide resolved
examples/complete-email-validation-with-validation-domain/README.md
Outdated
Show resolved
Hide resolved
@bryantbiggs we somehow managed to commit the same change almost at the same time :D |
@philicious should we support this through the separate resource instead of the nested attribute in the certificate resource https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/acm_certificate_validation ? I don't see anything currently that prefers one way versus the other, but in other modules I know its been preferable to use the standalone resource rather than the nested attribute. [Edit] Or are these two different things that I am confusing 😅 |
@bryantbiggs afaict the Lines 53 to 59 in 3e88a71
afaiu it has a different purpose: retrieving the status of validation, not configuring validation method. So imho it should also work for domains that have an overridden 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.
LGTM, if @philicious can confirm that you ran code in the examples/complete-email-validation-with-validation-domain
and that it works as expected.
590be31
to
03e0ff4
Compare
0634575
to
9af364d
Compare
9af364d
to
f6ff99c
Compare
This PR is included in version 4.0.0 🎉 |
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
Adds
validation_domain
option as described in #105Motivation and Context
The ACM-request option
--domain-validation-options ValidationDomain=bar.com,DomainName="foo.bar.com"
for modifying the domain used for sending the validation email to, couldnt be used yet as the TF-provider didnt support it. Finally, after only 4yrs being open, the PR got merged and its available in provider 4.12.0How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request