spot instance request stay opened when module exit with timeout (#51535)

Fixes: #51534

* set valid_until equal to current time + spot_wait_timeout
* add setting ValidUntil to  value
* add changelog fragment
* fix shebang issue
This commit is contained in:
Viktor Utkin
2019-02-07 19:08:19 +03:00
committed by Abhijeet Kasurde
parent 890394aeed
commit d40f0313e2
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- ec2 - Correctly sets the end date of the Spot Instance request. Sets `ValidUntil` value in proper way so it will be auto-canceled through `spot_wait_timeout` interval.