There is already a Construct with name 'CloudFrontDomainName' in UserPoolDomain #8603
Labels
@aws-cdk/aws-cognito
Related to Amazon Cognito
bug
This issue is a bug.
in-progress
This issue is being actively worked on.
p1
Trying to add the Route53 entry for the UserPoolDomain more than one time (i.e. in the public and in the private zone) in a single stack causes the below error. I think the direct cause is that the id is hard-coded in the UserPoolDomainTarget, but the indirect cause is perhaps that the construct is initialized on each call to the UserPoolDomainTarget instead to be initialized once and then cached - but it could be that I'm wrong with this assumption.
Reproduction Steps
Error Log
Environment
Other
relates to #7224
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: