We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61d6b9d commit 0ffa2b2Copy full SHA for 0ffa2b2
src/run-task.sh
@@ -37,7 +37,7 @@ if [[ "$SERVICE_TYPE" == "FARGATE" ]]; then
37
TASK_ID=$(aws ecs run-task \
38
--cluster $CLUSTER_NAME \
39
--task-definition $TASK_ARN \
40
- --network-configuration "awsvpcConfiguration={subnets=[${SUBNETS}]}" \
+ --network-configuration "awsvpcConfiguration={subnets=[${SUBNETS}],securityGroups=[${SECURITY_GROUPS}]}" \
41
--launch-type FARGATE \
42
--query="tasks[0].taskArn" \
43
--output=text)
0 commit comments