Need ability to specify "on-demand" instance count for aws_spot_fleet_request resource #16607
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Description
I created an AWS launch template via the aws_launch_template resource, and am creating a spot fleet request using the template via the aws_spot_fleet_request resource.
In the AWS console, when creating a spot fleet request using a launch template, I have the option to specify on-demand instances.
However, I don't see that option in the aws_spot_fleet_request resource. So even though I'm able to create the spot fleet request, all of the instances are spot instances, and no on-demand instances. Can we add it please?
I posted Setting AWS on-demand instances using Terraform aws_spot_fleet_request resource using a launch_template? in Stackoverflow which has the screen shot of the AWS console option I mention.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: