Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: deprecate block_duration_minutes from aws_spot_instance_request resource #37613

Open
DanielRieske opened this issue May 20, 2024 · 1 comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Milestone

Comments

@DanielRieske
Copy link
Contributor

DanielRieske commented May 20, 2024

Description

The test TestAccEC2SpotInstanceRequest_withBlockDuration mentioned in #35747 is failing because the block_duration_minutes argument in RequestSpotInstancesInput has been deprecated.

You cannot set this argument anymore, if you do you get the following API respone:

api error InvalidParameterValue: BlockDurationMinutes is not a valid parameter.

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

@DanielRieske DanielRieske added the enhancement Requests to existing resources that expand the functionality or scope. label May 20, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label May 20, 2024
@justinretzolk justinretzolk added service/ec2 Issues and PRs that pertain to the ec2 service. and removed needs-triage Waiting for first response or review from a maintainer. labels May 28, 2024
@ewbankkit ewbankkit added this to the v6.0.0 milestone Jun 10, 2024
ewbankkit added a commit to DanielRieske/terraform-provider-aws that referenced this issue Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

No branches or pull requests

3 participants