Hello, I’m suffering `alias.0.name: required field is not set` error with this code ```export const...
g
Hello, I’m suffering
alias.0.name: required field is not set
error with this code
Copy 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?