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