This message was deleted.
# general
s
This message was deleted.
g
This is due to the auto-naming feature within Pulumi - https://www.pulumi.com/docs/reference/programming-model/#autonaming.
b
Yessir, can you try this please:
Copy code
new aws.route53.Record('my-api', {
    name: "my-api'",
    aliases: [
      {
        evaluateTargetHealth: false,
        name: loadBalancer.dnsName,
        zoneId: loadBalancer.zoneId,
      },
    ],
    type: aws.route53.RecordTypes.A,
    zoneId: zone.zoneId,
  });
r
Yeah, but for dns records doesn't make sense to me @gentle-diamond-70147
b
@rich-easter-89163 we can override the name with the code block above
r
triyin' @broad-dog-22463
It worked, thanks @broad-dog-22463
b
👍
as @gentle-diamond-70147 said, we have autonaming but we can override that