Hi! Is anyone out there building an Elastic Beanstalk stack with a Network Load Balancer? Is there away to get the load balancer that is automatically created via Elastic Beanstalk to be managed by Pulumi? Ultimately, what I need to do is to pass the load balancer URN to a VPCLink, but I don’t actually have the auto-created load balancer URN at runtime.
b
broad-dog-22463
09/09/2019, 12:50 PM
which Elastic Beanstalk resource are you using?
b
big-nail-28315
09/09/2019, 12:54 PM
@pulumi/aws/elasticbeanstalk
Environment
I see that there is a .loadBalancers call, but unfortunately it just gives an Output<string[]> and I need the underlying string. Once I get that string, I can retrieve the resource to be managed by Pulumi, then ultimately get the URN to pass to the VPCLink
the payload of env.loadbalancers is an Output<string[]> so the underlying object is a string[], but the docs say that is not available until the program finishes