Siva Nadesan
08/27/2024, 6:47 PMKevin Grismore
08/27/2024, 7:01 PM"enableExecuteCommand": true
on the "task_run_request"
part of the ecs work pool's base job templateKevin Grismore
08/27/2024, 7:01 PMSiva Nadesan
08/27/2024, 7:02 PMSiva Nadesan
08/27/2024, 7:04 PM"task_run_request": {
"launchType": "{{ launch_type }}",
"cluster": "${ cluster }",
"overrides": {
"containerOverrides": [
{
"name": "{{ container_name }}",
"command": "{{ command }}",
"environment": "{{ env }}",
"cpu": ${cpu},
"memory": ${memory}
}
],
"enableExecuteCommand": true,
"cpu": ${cpu},
"memory": ${memory},
"taskRoleArn": "{{task_role_arn}}"
},
"tags": "{{ labels }}",
"taskDefinition": "{{ task_definition_arn }}"
},
Kevin Grismore
08/27/2024, 7:05 PM"task_run_request": {
"tags": "{{ labels }}",
"cluster": "{{ cluster }}",
"overrides": {
"cpu": "{{ cpu }}",
"memory": "{{ memory }}",
"taskRoleArn": "{{ task_role_arn }}",
"containerOverrides": [
{
"cpu": "{{ cpu }}",
"name": "{{ container_name }}",
"memory": "{{ memory }}",
"command": "{{ command }}",
"environment": "{{ env }}"
}
]
},
"launchType": "{{ launch_type }}",
"taskDefinition": "{{ task_definition_arn }}",
"enableExecuteCommand": true,
"capacityProviderStrategy": "{{ capacity_provider_strategy }}"
},
Kevin Grismore
08/27/2024, 7:06 PMKevin Grismore
08/27/2024, 7:06 PMSiva Nadesan
08/27/2024, 7:07 PMKevin Grismore
08/27/2024, 7:08 PMSiva Nadesan
08/27/2024, 7:09 PMSiva Nadesan
08/27/2024, 7:41 PMKevin Grismore
08/27/2024, 7:41 PM