Make spot block duration optional in the docker machine config
What
- Make
amazonec2-block-duration-minutes
param optional in the runner config
Why
- Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new AWS customers from July 1, 2021. For customers who have previously used the feature, AWS will continue to support Spot Instances with a defined duration until December 31, 2022 (deprecation notice). If you don't need Spot Instances with a defined duration, please set
spot_block_duration
parameter to 0 in the runner config object