-
Notifications
You must be signed in to change notification settings - Fork 4k
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(acm): validated certificate survives eventual consistency in service #3528
Conversation
I think await sleep(Math.random() * (Math.pow(attempt, 2) * 100)); should be await sleep(Math.random() * (Math.pow(2, attempt) * 100)); Can you add this fix? Then my PR is obsolete. |
Next thing is that it only uses the first DomainValidation. If there are more ResourceRecords to set (e.g. for SANs) they are not populated in R53. |
…ate response in DnsValidatedCertificate
Agree. Changed to 2^attempt. |
Yes, it should also support providing a SAN/HostedZoneId map instead of a single hosted zone to cover all ACM/Route53 certificate creation scenarios. |
I had to adjust the max attempts to 5 before it worked for me, but after that, it worked 👍 |
The
DomainValidationOptions
array could be empty, which would make the custom resource fail.Handle that case, and limit the amount of retries.
Fixes #3527.
Please read the contribution guidelines and follow the pull-request checklist.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license