I am new to AWS CDK typescript, any help is appreciated.
My Issue [Tried to create resource record set [name='xxxxx', type='CNAME'] but it already exists]"}
Using AWS CDK typescript I am creating stacks in eu-west1 and eu-central regions. So is there any mechanism to check if cname is not created then only create?
my code current code:
const cName = new route53.CnameRecord(this, "cName", {
zone: route53.HostedZone.fromLookup(this, "lowerHostedZone3", {
domainName: topDomain,
}),
recordName: topFQDN,
domainName: lowerFQDN
});