Skip to content

Conversation

pmeinhardt
Copy link

Previously, the first domain name was passed to the DnsValidatedCertificate construct twice.

In the domainName prop and again in the subjectAlternativeNames.

For example, when using new StaticWebsite(app, "Website", { domainNames: ["example.org"], … }), the wildcard domain *.example.org was specified twice.

For reference, see the corresponding code in DnsValidatedCertificate.

There is one thing I was not able to verify yet. The value of subjectAlternativeNames is used in one more place in the DnsValidatedCertificate construct:
https://github.com/aws/aws-cdk/blob/v2.153.0/packages/aws-cdk-lib/aws-certificatemanager/lib/dns-validated-certificate.ts#L147

The custom resource also receives domainName separately, but I couldn't tell whether removing it from the subjectAlternativeNames might have any side effects here.

Kind regards,
Paul

Previously, the first domain name was passed to the
`DnsValidatedCertificate` construct twice.

In the `domainName` prop and again in the `subjectAlternativeNames`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant