When trying to use redun with AWS Batch on Fargate using the existing AWSBatchExecutor, we get the following error:
botocore.errorfactory.ClientException: An error occurred (ClientException) when calling the SubmitJob operation: vcpus is not applicable for Fargate. Use resource requirements instead.
As it turns out, it looks like specifying vcpu and memory directly on containerProperties is now deprecated (see here for vcpu and here for memory) in favor of specifying them in the resourceRequirements array, so that's the update provided here.
This update will allow running on Fargate with the AWSBatchExecutor.
When trying to use redun with AWS Batch on Fargate using the existing
AWSBatchExecutor
, we get the following error:As it turns out, it looks like specifying
vcpu
andmemory
directly oncontainerProperties
is now deprecated (see here for vcpu and here for memory) in favor of specifying them in theresourceRequirements
array, so that's the update provided here.This update will allow running on Fargate with the AWSBatchExecutor.