ecs-deploy icon indicating copy to clipboard operation
ecs-deploy copied to clipboard

ResourceRequirements on task definition not possible on ecs deploy

Open dmatos2012 opened this issue 1 year ago • 1 comments

Hello,

First of all , thanks for the amazing tool. Is it possible to add resource requirements to the task definition, to enable the use of gpu. For instance:

"resourceRequirements": [
    {
        "type": "GPU",
        "value": "1"
    }
]

Or maybe a "manual" way to adding an arbitrary command to our task definition?

Thank you so much

dmatos2012 avatar Aug 15 '24 13:08 dmatos2012

Hi @dmatos2012,

thanks, you're very welcome.

Yes we can add this. The parameters allowed to be set in the task definition is depending on the version of boto3, which strictly checks the parameters. This means we need to upgrade the boto3 library that is used in the ecs-deploy installation.

I will look into if we can find a manual/generic way. But an update of boto3 would still be needed to support newly introduced ECS parameters.

Best Fabian

fabfuel avatar Aug 21 '24 13:08 fabfuel