aws-actions / amazon-ecs-deploy-task-definition

Registers an Amazon ECS task definition and deploys it to an ECS service.
MIT License
624 stars 229 forks source link

Enable ECS Exec #327

Open WorkplaceCowboy opened 2 years ago

WorkplaceCowboy commented 2 years ago

Looking to deploy an ECS Fargate task with ECS Exec enabled so I can remotely explore inside the container using AWS CLI as described Here

flatrocks commented 2 years ago

It looks like the issue is that the updateEcsService in index.js does not implement --enable-execute-command or --disable-execute-command options. But it seems like there are a bunch of other missing options as well, so it may become a question of the scope for this plugin.

It does not seem possible to include enable/disable execute command in the task definition. It's starting to seem like the intent is to only initiate exec-able tasks/containers from the command line, which would make sense as this has only been touted as a debug tool.

kotowick commented 4 months ago

+1 Need this feature implemented.

arnold-keyvalue commented 1 month ago

Any updates on this feature?

karanbokil commented 1 month ago

Hi @arnold-keyvalue, thank you for reporting this feature request to us, we will look into this more and evaluate it.