Add support for AWS Batch consumable resources
Describe the feature
As of 2/27/2025, support for resource aware (consumable resources like 3rd party api calls, etc) has been added to AWS Batch.
Use Case
I would like to schedule batch jobs that are limited by the number of 3rd party api calls that can be made at one time. In my specific use case, I will define a resource based on the batch type and only allow one to run at a time.
Submitting this request so an upstream ticket can then be created for the terraform provider.
Proposed Solution
No response
Other Information
Useful links:
https://docs.aws.amazon.com/batch/latest/userguide/resource-aware-scheduling.html https://docs.aws.amazon.com/batch/latest/userguide/resource-aware-scheduling-how-to-create.html https://docs.aws.amazon.com/batch/latest/userguide/resource-aware-scheduling-how-to-for-jobs.html https://docs.aws.amazon.com/batch/latest/userguide/resource-aware-scheduling-how-to-delete.html
https://docs.aws.amazon.com/batch/latest/APIReference/API_ListConsumableResources.html
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
AWS Go SDK V2 Module Versions Used
1.36.3
Go version used
1.23.7