green-salesclerk-34937
07/01/2020, 8:18 AMalias.0.name: required field is not set
error with this code
export const apiDnsRecord = new aws.route53.Record('WSAPIRecord', {
name: domainName.domainName,
type: 'A',
zoneId,
aliases: [
{
evaluateTargetHealth: true,
name: domainName.domainNameConfiguration.targetDomainName,
zoneId,
},
],
})
so I tried domainName.domainNameConfigurationg.apply(config => …) to resolve empty targetDomainName but it didn’t work.
what I found is that export const domainName = …
clearly shows correct targetDomainName but I can’t get that.
Any help/advice what i can try?