copilot help task exec

Execute a command in a running container part of a task

Options

NameDescription
--app, -a <name>Name of the application
--command, -c <command>Optional. The command that is passed to a running container
--defaultOptional. Execute commands in running tasks in default cluster and default subnets
--name, -n <name>Name of the environment
--name, -n <name>Name of the service, job, or task group
--task-id <task-id>Optional. ID of the task you want to exec in
--yesOptional. Whether to update the Session Manager Plugin
--help, -hHelp for command