late-printer-99022
01/16/2020, 4:16 AMambitious-ram-5811
01/16/2020, 4:27 AMlate-printer-99022
01/16/2020, 5:09 AMerror: Running program '/home/narendra/Coding/platform/syngenta-platform-infra-using-pulumi' failed with an unhandled exception:
Error: invocation of aws:route53/getZone:getZone returned an error: invoking aws:route53/getZone:getZone: no matching Route53Zone found
at /home/narendra/Coding/platform/syngenta-platform-infra-using-pulumi/node_modules/@pulumi/pulumi/runtime/invoke.js:172:33
at Object.onReceiveStatus (/home/narendra/Coding/platform/syngenta-platform-infra-using-pulumi/node_modules/grpc/src/client_interceptors.js:1210:9)
at InterceptingListener._callNext (/home/narendra/Coding/platform/syngenta-platform-infra-using-pulumi/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/home/narendra/Coding/platform/syngenta-platform-infra-using-pulumi/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/home/narendra/Coding/platform/syngenta-platform-infra-using-pulumi/node_modules/grpc/src/client_interceptors.js:847:24)
ambitious-ram-5811
01/16/2020, 5:28 AMlate-printer-99022
01/16/2020, 5:29 AMinvoking aws:route53/getZone:getZone: no matching Route53Zone found
I am trying to get ZoneId of ELB url.*Alias Hosted Zone ID:* Z35SXDOTRQ7X7K
white-balloon-205
late-printer-99022
01/16/2020, 6:15 AMZ35SXDOTRQ7X7K
in my code.
There must be a way to get ZoneId of <http://us-east-1.elb.amazonaws.com|us-east-1.elb.amazonaws.com>.
white-balloon-205
aws.elb.getHostedZoneId()
is for:
import * as aws from "@pulumi/aws";
export const elbHostedZoneId = aws.elb.getHostedZoneId().id;
Outputs:
elbHostedZoneId: "Z35SXDOTRQ7X7K"