[Enhancement]: deprecate block_duration_minutes
from aws_spot_instance_request
resource
#37613
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
The test
TestAccEC2SpotInstanceRequest_withBlockDuration
mentioned in #35747 is failing because theblock_duration_minutes
argument inRequestSpotInstancesInput
has been deprecated.You cannot set this argument anymore, if you do you get the following API respone:
After the SDKv2 migration of this resource here, I will create a PR for the removal of the argument so we can release it with the next major version.
This issue is purely for visibility for the argument at hand but we might need to review this resource altogether.
It's currently strongly discouraged to use
RequestSpotInstances
action within it.Affected Resource(s) and/or Data Source(s)
aws_spot_instance_request
Potential Terraform Configuration
No response
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: