Skip to content

Commit 20b0d98

Browse files
committed
With this auth being handled in a child zone we need a little more configuration
1 parent 4d92969 commit 20b0d98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stacksets/userpool/stackset.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ Resources:
4646

4747
SiteCertificate:
4848
Type: AWS::CertificateManager::Certificate
49-
DependsOn: AuthnzZone
5049
Properties:
5150
DomainName: !Ref UserPoolDomainName
5251
ValidationMethod: DNS
52+
DomainValidationOptions:
53+
- DomainName: !Ref UserPoolDomainName
54+
HostedZoneId: !GetAtt AuthnzZone.Id
5355

5456
UserPoolDomain:
5557
Type: AWS::Cognito::UserPoolDomain

0 commit comments

Comments
 (0)