We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 374d519 + 6e3bee6 commit c682eb5Copy full SHA for c682eb5
1 file changed
shared/infra/aws/lib/dns.ts
@@ -20,10 +20,13 @@ export class Dns extends Construct {
20
const certificateArn = process.env.CERTIFICATE_ARN!;
21
22
if (hostedZoneId && certificateArn) {
23
- this.hostedZone = PublicHostedZone.fromHostedZoneId(
+ this.hostedZone = PublicHostedZone.fromHostedZoneAttributes(
24
this,
25
"ImportedHostedZone",
26
- hostedZoneId,
+ {
27
+ hostedZoneId: hostedZoneId,
28
+ zoneName: "stickerlandia.dev",
29
+ },
30
) as PublicHostedZone;
31
32
this.certificate = Certificate.fromCertificateArn(
0 commit comments