sparse-intern-71089
02/04/2021, 9:56 PMlittle-cartoon-10569
02/04/2021, 10:11 PMaws.route53.Record
is of type pulumi.Input<pulumi.Input<string>[]>
, so you can put the Output<string> directly into the array.lemon-machine-35564
02/04/2021, 10:18 PMurl
for API Gateway which includes the protocol and path, etc. A DNS record will just want the hostname, so I need to do string operations to get that out of there.little-cartoon-10569
02/04/2021, 10:32 PMnew aws.route53.Route(name, {
records: [ url.apply((url) => getFqdnFromUri(url)) ]
}
You'll need to write the function yourself.
I'm slightly surprised that Route53 doesn't have better integration with apigateway. The alb package targets lambdas, instances etc. very nicely. Maybe they expect ALBs to sit between route53 and apigateways...lemon-machine-35564
02/04/2021, 10:42 PMlemon-machine-35564
02/04/2021, 10:43 PM