cuddly-computer-18851
12/14/2022, 1:10 AMinstanceRefresh: {
strategy: "Rolling",
preferences: {
minHealthyPercentage: 50,
},
triggers: ["tag"],
},
is there a way to get Pulumi to wait until the refresh is complete?billowy-army-68599
12/14/2022, 2:03 AMapply
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 AM