I need to create API Gateway VPC Links using Netwo...
# general
b
I need to create API Gateway VPC Links using Network Load Balancers that were created during provisioning of an Elastic Beanstalk environment. I see that I can get the load balancer id's from the Elastic Beanstalk environment, but is there a way to get the ARN's of those load balancer id's so I can pass them to a
new VPCLink()
? I was thinking that I could import the Beanstalk NLB's, but it doesn't look like the import syntax works on those.
g
aws.lb.getLoadBalancer
will let you get the LB by its name and the result will contain the arn.
b
@gentle-diamond-70147 ok thanks I'll give that a shot!
@gentle-diamond-70147 worked perfectly. Thanks
👍 1