1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Hello.
I think it will work if you also specify the subdomain in "DomainValidationOptions".
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-subjectalternativenames
Resources:
SiteCert:
Type: AWS::CertificateManager::Certificate
Properties:
DomainName: !Ref DomainName
DomainValidationOptions:
- DomainName: !Ref DomainName
HostedZoneId: !Ref HostedZoneId
- DomainName: !Sub "www.${DomainName}"
HostedZoneId: !Ref HostedZoneId
SubjectAlternativeNames:
- !Sub "www.${DomainName}"
ValidationMethod: DNS
관련 콘텐츠
- 질문됨 6달 전
- AWS 공식업데이트됨 일 년 전