https://pulumi.com logo
Title
b

bland-smartphone-19451

08/23/2021, 2:12 AM
Hi, i'm following this example to Running Containers on ECS Fargate, how to add a route 53 record to point the load balancer endpoint?
g

great-sunset-355

08/23/2021, 6:21 AM
You take the output from LB and then create R53 Alias Record with that
b

bland-smartphone-19451

08/23/2021, 7:40 AM
thanks for your reply, i'll try it and will give you feedback whatever it success or failed
i follow this example to create a route 53 alias record, the symbol 'aws_route53_zone' is not found
const zone = new aws.route53.Zone("<http://alliance-dev.com|alliance-dev.com>", {});

const www = new aws.route53.Record("www", {
    zoneId: zone.zoneId,
    name: 'orders-center',
    type: 'A',
    aliases: [{
        name: main.loadBalancer.loadBalancer.dnsName,
        zoneId: main.loadBalancer.loadBalancer.zoneId,
        evaluateTargetHealth: true,
    }],
});
this is my latest code, it creates blow route53 records: how to remove the suffix
@great-sunset-355