-
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(cognito): cannot add multiple route53 targets to the same user pool domain #8622
Conversation
…ol domain The root cause here is that calling `cloudFrontDomainName` getter on `UserPoolDomain` results in creating a custom resource with a fixed node id. This resulted in the error - "There is already a Construct with name 'CloudFrontDomainName' in UserPoolDomain". Changed the logic around so that the `CustomResource` construct is only created on first call to the getter, and is reused on subsequent calls. fixes #8603
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
The root cause here is that calling
cloudFrontDomainName
getter onUserPoolDomain
results in creating a custom resource with a fixed nodeid. This resulted in the error - "There is already a Construct with name
'CloudFrontDomainName' in UserPoolDomain".
Changed the logic around so that the
CustomResource
construct is onlycreated on first call to the getter, and is reused on subsequent calls.
fixes #8603
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license