awslabs / idf-modules

Industry Data Framework (IDF) IAC modules repository
Apache License 2.0
24 stars 14 forks source link

[FEATURE] Enable option for aws batch best-fit-progressive allocation strategy #239

Open kevinsoucy opened 2 months ago

kevinsoucy commented 2 months ago

Is your feature request related to a problem? Please describe.

Enable an optional parameter on the AWS batch module for On Demand compute environments to use BEST FIT PROGRESSIVE, without it, it can take a long time for instances to spin up.

allocation_strategy=batch.AllocationStrategy("BEST_FIT_PROGRESSIVE"),

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

srinivasreddych commented 2 months ago

Thanks for reaching out. I will be looking into it

srinivasreddych commented 2 months ago

Gave an initial attempt to add the AllocationStrategies. I was able to deploy them fine but the pytests are failing bc it is not recognizing these strategies. I guess i need to move to GA batch cdk module from alpha to fix the pytests issue.