File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -307,17 +307,6 @@ ECS_template_create_register() {
307
307
template=$( echo $template | jq --arg image $AWS_ACCOUNT_ID .dkr.ecr.$AWS_REGION .amazonaws.com/$AWS_REPOSITORY :$ECS_TAG ' .containerDefinitions[0].image=$image' )
308
308
log " ECR Image name updated"
309
309
310
- # Container readonlyRootFilesystem
311
- if [ -z $AWS_ECS_READONLY_ROOTFILESYSTEM ];
312
- then
313
- log " No ECS readonlyRootFilesystem defined. Going with default value as true"
314
- AWS_ECS_READONLY_ROOTFILESYSTEM=true
315
- template=$( echo $template | jq --argjson readonlyRootFilesystem $AWS_ECS_READONLY_ROOTFILESYSTEM ' .containerDefinitions[0].readonlyRootFilesystem=$readonlyRootFilesystem' )
316
- else
317
- template=$( echo $template | jq --argjson readonlyRootFilesystem $AWS_ECS_READONLY_ROOTFILESYSTEM ' .containerDefinitions[0].readonlyRootFilesystem=$readonlyRootFilesystem' )
318
- fi
319
- log " ECS readonlyRootFilesystem updated."
320
-
321
310
# Container Memory reservation
322
311
if [ -z $AWS_ECS_CONTAINER_MEMORY_RESERVATION ];
323
312
then
You can’t perform that action at this time.
0 commit comments