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]: aws_batch_job_queue jobStateTimeLimitActions parameter #36384

Closed
drewmullen opened this issue Mar 14, 2024 · 7 comments · Fixed by #38784
Closed

[Enhancement]: aws_batch_job_queue jobStateTimeLimitActions parameter #36384

drewmullen opened this issue Mar 14, 2024 · 7 comments · Fixed by #38784
Assignees
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/batch Issues and PRs that pertain to the batch service.
Milestone

Comments

@drewmullen
Copy link
Collaborator

Description

AWS Batch now supports a Batch Job Queue Blocked CloudWatch Event for jobs stuck in RUNNABLE state. Customers can automate actions using EventBridge to be able to take an action on these stuck jobs. Additionally, customers can configure jobStateTimeLimitActions parameter from the CreateJobQueue and UpdateJobQueue APIs to terminate the stuck job unblocking the jobs behind it within the queue.

Affected Resource(s) and/or Data Source(s)

  • aws_batch_job_queue

Potential Terraform Configuration

job_state_time_limit_actions {
   reason         = "string" 
   state          = "string"            
   maxTimeSeconds = number     
   action         = "string"            
}

References

Would you like to implement a fix?

Yes

@drewmullen drewmullen added enhancement Requests to existing resources that expand the functionality or scope. service/batch Issues and PRs that pertain to the batch service. labels Mar 14, 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 Mar 14, 2024
@drewmullen drewmullen removed the needs-triage Waiting for first response or review from a maintainer. label Mar 14, 2024
@drewmullen drewmullen self-assigned this Mar 14, 2024
@pwyliu
Copy link

pwyliu commented Jun 24, 2024

@drewmullen Hello - and sorry to pry - I was wondering if the above PR could be finished off to close this issue. It's so close to the finish line and it seems only a minor looking CI issue is blocking.

In my organization we're desperately needing this feature and would benefit greatly, for Batch users operating at large scale it is tremendously useful. I think this is probably true for lots of people, so it's a shame to not be able to manage this in TF. We programatically generate our queues and have very many, so it's really tedious to manage this out of band.

@rito-sixt
Copy link

Could we have this soon please? Much needed!

@gusostow
Copy link

gusostow commented Aug 5, 2024

ANy chance we could get this merged in?

Copy link

Warning

This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

@github-actions github-actions bot added this to the v5.64.0 milestone Aug 16, 2024
Copy link

This functionality has been released in v5.63.1 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/batch Issues and PRs that pertain to the batch service.
Projects
None yet
4 participants