Skip to content

Commit

Permalink
fix: use node id to prevent unresolved tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
trautonen committed Apr 29, 2024
1 parent f237572 commit 9ac9720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns-validated-certificate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export class DnsValidatedCertificate extends cdk.Resource implements certificate
},
'ForAllValues:StringLike': {
'route53:ChangeResourceRecordSetsNormalizedRecordNames': domainNames.map((name, index) => {
return this.wildcardDomainName(`DomainWildcard${zone.hostedZone.hostedZoneId}${index}`, name)
return this.wildcardDomainName(`DomainWildcard${zone.hostedZone.node.id}${index}`, name)
}),
},
},
Expand Down

0 comments on commit 9ac9720

Please sign in to comment.