Skip to content

ebs builder - spot_price parameter should have auto as default value #8791

@karl-cardenas-coding

Description

@karl-cardenas-coding

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions