This message was deleted.
# automation-api
s
This message was deleted.
r
You can get the outputs for a stack with
Stack.outputs()
or
LocalWorkspace.stackOutputs()
. You can check the outputs before running
Stack.up()
to achieve what you want.
c
We generally create a dynamic resource for this.
Here is a gist of our LeastUsedLoadbalancer component which picks the load balancer with the least amount of rules specified from a pool, then uses that. But after it makes that choice it can’t change https://gist.github.com/JakeGinnivan/c40c24b93463ea5949ce441a21a8a0f4
b
sweet