From 64fadcd1c3db4c054a1fa8955c61717d377cb4ae Mon Sep 17 00:00:00 2001 From: Claude-GP Date: Wed, 8 May 2024 11:32:04 -0400 Subject: [PATCH] compiling package --- dist/build-task-definition.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/build-task-definition.sh b/dist/build-task-definition.sh index 7bd847b..13313d2 100755 --- a/dist/build-task-definition.sh +++ b/dist/build-task-definition.sh @@ -5,7 +5,7 @@ get_task_definition() { task_name=$1 # Thoses keys are returned by the Amazon ECS DescribeTaskDefinition, but are not valid fields when registering a new task definition - keys_to_omit=".compatibilities, .taskDefinitionArn, .requiresAttributes, .revision, .status, .registeredBy, .registeredAt" + keys_to_omit=".compatibilities, .taskDefinitionArn, .requiresAttributes, .revision, .status, .registeredBy, .registeredAt, .containerDefinitions[].systemControls" returned_task_definition=$(aws ecs describe-task-definition --task-definition "${task_name}" | jq .taskDefinition | jq "del($keys_to_omit)") if [ -z "${returned_task_definition}" ]; then