diff --git a/packages/cdk-static-website/src/static-website.ts b/packages/cdk-static-website/src/static-website.ts index e5f31c7c..d68ff1b6 100644 --- a/packages/cdk-static-website/src/static-website.ts +++ b/packages/cdk-static-website/src/static-website.ts @@ -367,7 +367,7 @@ export class StaticWebsite extends Construct { return new aws_certificatemanager.DnsValidatedCertificate(this, 'Certificate', { domainName: domainNames[0], - subjectAlternativeNames: domainNames, + subjectAlternativeNames: domainNames.slice(1), hostedZone, region: 'us-east-1', });