https://pulumi.com logo
#general
Title
# general
b

big-nail-28315

10/04/2019, 2:02 PM
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

gentle-diamond-70147

10/04/2019, 2:13 PM
aws.lb.getLoadBalancer
will let you get the LB by its name and the result will contain the arn.
b

big-nail-28315

10/04/2019, 2:20 PM
@gentle-diamond-70147 ok thanks I'll give that a shot!
@gentle-diamond-70147 worked perfectly. Thanks
👍 1
2 Views