hey folks, what is a proven-practice to wait for userData script to complete. We currently the problem that pulumi shuts-down instances too early when replaced, because the userData script still runs. 😞
My favorite way would be that I can have pulumi shut down the old instances and replace ips in lb only once the new userData is done
02/12/2022, 9:35 PM
would it be an option to toss them in an ASG and set up a health check that isn't healthy until userdata runs?
02/13/2022, 12:22 PM
Not really, since we have the same issue with multiple cloud providers 😮