Please add support for --instance-market-options
when creating EC2 instances.
#3340
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Terraform Version
Additional Context
Apologies if this is a duplicate... I searched but there are 1451 Issues so my search-fu might have missed something :-).
As of late 2017, AWS supports a new flag
--instance-market-options
to launch Spot instances from the same API used to launch on-demand or reserved instances. See https://aws.amazon.com/blogs/aws/amazon-ec2-update-streamlined-access-to-spot-capacity-smooth-price-changes-instance-hibernation/ and https://docs.aws.amazon.com/cli/latest/reference/ec2/run-instances.htmlSupporting this option would accomplish several goals:
An example of how we have been doing this (outside Terraform) is:
The only difference between running this with Spot Instances vs On-demand instances is the inclusion of a few simple parameters.
The text was updated successfully, but these errors were encountered: