From 8574eff0eb294d4e99b16d519909cf0b621856d1 Mon Sep 17 00:00:00 2001 From: Michael Wittig Date: Fri, 25 Aug 2017 07:17:15 +0200 Subject: [PATCH] updated Amazon ECS AMI to 2017.03.f --- ecs/README.md | 2 +- ecs/cluster.yaml | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ecs/README.md b/ecs/README.md index 5efb6f86a..df5482d2d 100644 --- a/ecs/README.md +++ b/ecs/README.md @@ -9,7 +9,7 @@ To update the region map execute the following lines in your terminal: ``` $ regions=$(aws ec2 describe-regions --query "Regions[].RegionName" --output text) -$ for region in $regions; do ami=$(aws --region $region ec2 describe-images --filters "Name=name,Values=amzn-ami-2017.03.e-amazon-ecs-optimized" --query "Images[0].ImageId" --output "text"); printf "'$region':\n ECSAMI: '$ami'\n"; done +$ for region in $regions; do ami=$(aws --region $region ec2 describe-images --filters "Name=name,Values=amzn-ami-2017.03.f-amazon-ecs-optimized" --query "Images[0].ImageId" --output "text"); printf "'$region':\n ECSAMI: '$ami'\n"; done ``` ## Premium Support diff --git a/ecs/cluster.yaml b/ecs/cluster.yaml index a544eaf87..06bc15861 100644 --- a/ecs/cluster.yaml +++ b/ecs/cluster.yaml @@ -146,27 +146,27 @@ Parameters: Mappings: RegionMap: 'eu-west-2': - ECSAMI: 'ami-0a85946e' + ECSAMI: 'ami-cb1101af' 'eu-west-1': - ECSAMI: 'ami-bd7e8dc4' + ECSAMI: 'ami-8fcc32f6' 'ap-northeast-1': - ECSAMI: 'ami-ab5ea9cd' + ECSAMI: 'ami-b743bed1' 'ca-central-1': - ECSAMI: 'ami-32bb0556' + ECSAMI: 'ami-b677c9d2' 'ap-southeast-1': - ECSAMI: 'ami-ae0b91cd' + ECSAMI: 'ami-9d1f7efe' 'ap-southeast-2': - ECSAMI: 'ami-c3233ba0' + ECSAMI: 'ami-c1a6bda2' 'eu-central-1': - ECSAMI: 'ami-f15ff69e' + ECSAMI: 'ami-0460cb6b' 'us-east-1': - ECSAMI: 'ami-d61027ad' + ECSAMI: 'ami-9eb4b1e5' 'us-east-2': - ECSAMI: 'ami-bb8eaede' + ECSAMI: 'ami-1c002379' 'us-west-1': - ECSAMI: 'ami-514e6431' + ECSAMI: 'ami-4a2c192a' 'us-west-2': - ECSAMI: 'ami-c6f81abe' + ECSAMI: 'ami-1d668865' Conditions: HasKeyName: !Not [!Equals [!Ref KeyName, '']] HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']