sparse-intern-71089
12/14/2022, 1:10 AMbillowy-army-68599
apply
you can use the AWS SDK and a waiter:
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-auto-scaling/globals.html#waitforgroupinservice
I don’t have an example of this for this use case, but here’s an example which might help you with syntax:
https://gist.github.com/lukehoban/fd0355ed5b82386bd89c0ffe2a3c916acuddly-computer-18851
12/14/2022, 2:59 AMcuddly-computer-18851
12/20/2022, 1:14 AM