[Enhancement]: Add capacity-reservation-options flag to on-demand-options in Resource aws_ec2_fleet #28828
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Description
Currently, the aws_ec2_fleet
on-demand-options
specification only supportsallocation_strategy
flags. Support forcapacity-reservation-options
was released a good amount of time ago to specify that the EC2 fleet needs to take advantage of capacity reservations specified in the Launch Template of the fleet specification.I would like to add support for
capacity_reservation_options
as indicated in the EC2 CreateFleet API.Affected Resource(s) and/or Data Source(s)
aws_ec2_fleet
Potential Terraform Configuration
References
https://docs.aws.amazon.com/cli/latest/reference/ec2/create-fleet.html
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-ondemandoptionsrequest.html#cfn-ec2-ec2fleet-ondemandoptionsrequest-capacityreservationoptions
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: