Skip to content

Commit

Permalink
Keep proxyConfiguration, if present
Browse files Browse the repository at this point in the history
  • Loading branch information
forevermatt authored May 14, 2024
1 parent 0e958ad commit 729236b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecs-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ function createNewTaskDefJson() {

# Some options in task definition should only be included in new definition if present in
# current definition. If found in current definition, append to JQ filter.
CONDITIONAL_OPTIONS=(networkMode taskRoleArn placementConstraints executionRoleArn runtimePlatform ephemeralStorage)
CONDITIONAL_OPTIONS=(networkMode taskRoleArn placementConstraints executionRoleArn runtimePlatform ephemeralStorage, proxyConfiguration)
for i in "${CONDITIONAL_OPTIONS[@]}"; do
re=".*${i}.*"
if [[ "$DEF" =~ $re ]]; then
Expand Down

0 comments on commit 729236b

Please sign in to comment.