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

ResourceRequirements on task definition not possible on ecs deploy #232

Open
dmatos2012 opened this issue Aug 15, 2024 · 1 comment
Open

Comments

@dmatos2012
Copy link

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

@fabfuel
Copy link
Owner

fabfuel commented Aug 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants