Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.
Feature Description
Currently for the EBS builder, when using spot instances the user has the option of specifying the maximum spot price threshold. This is achieved through the spot_price parameter. However, the default value for this parameter is 0, which is the equivalent of using on-demand price. Due to the user wanting to user spot instances to reduce cost, it makes sense to have the default value be auto.
Use Case(s)
Any user wanting to user spot instances and is comfortable letting Packer use its logic to determine the best spot price.
Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.
Feature Description
Currently for the EBS builder, when using spot instances the user has the option of specifying the maximum spot price threshold. This is achieved through the
spot_priceparameter. However, the default value for this parameter is0, which is the equivalent of using on-demand price. Due to the user wanting to user spot instances to reduce cost, it makes sense to have the default value beauto.Use Case(s)
Any user wanting to user spot instances and is comfortable letting Packer use its logic to determine the best spot price.