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

ancient-cricket-42076

12/20/2021, 3:14 PM
Hello people, I have a small obstacle on my project where beanstalk's ec2 instances take longer to create and I need the instances ID so I can work with their security groups and their ingress rules Is the any module native to pulumi to let it know it needs to wait (I rather no use use async if it's possible).
b

billowy-army-68599

12/20/2021, 3:23 PM
this is kinda complex, it's not possible without async. You'd need to wait for the autoscaling output to resolve, do a lookup on the autoscaling group to retrieve the instance ids and then pass it to the ingress rule
a

ancient-cricket-42076

12/20/2021, 3:46 PM
I understand, async time then, thank you!👍
2 Views