This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check on ASG activities insufficient resource (#27)
* Add check on ASG activities insufficient resource When hit this code. Means already have spot instance can't provision longer then 3 mins. So check is any activity's StatusMessage got insufficient error message. If yes, change the launch type to on-demand. I didn't make any record on it. So on next check. It should auto change back to spot instance. * Handle case without `StatusMessage` and add test * Fix function name Sorry, some copy and paste error. And didn't test again after that.
- Loading branch information
1 parent
e6b83ea
commit fc27397
Showing
2 changed files
with
93 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters