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 6b429d9 commit 931f72dCopy full SHA for 931f72d
deploy.sh
@@ -186,7 +186,7 @@ make_task_def(){
186
}
187
188
register_definition() {
189
- if revision=$(aws ecs register-task-definition --container-definitions "$task_def" --family $family | $JQ '.taskDefinition.taskDefinitionArn'); then
+ if revision=$(aws ecs register-task-definition --container-definitions "$task_def" --family $family --requires-compatibilities "[\"EC2\", \"FARGATE\"]" --network-mode "awsvpc" | $JQ '.taskDefinition.taskDefinitionArn'); then
190
echo "Revision: $revision"
191
else
192
echo "Failed to register task definition"
0 commit comments