Skip to content

Commit

Permalink
Updated ECS optimized Amazon Linux to 2017.09.i
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Feb 24, 2018
1 parent b4c7df1 commit 9e40d73
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ 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.09.h-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.09.i-amazon-ecs-optimized" --query "Images[0].ImageId" --output "text"); printf "'$region':\n ECSAMI: '$ami'\n"; done
```
30 changes: 15 additions & 15 deletions ecs/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,35 +140,35 @@ Parameters:
Mappings:
RegionMap:
'ap-south-1':
ECSAMI: 'ami-ca8ad9a5'
ECSAMI: 'ami-2e461a41'
'eu-west-3':
ECSAMI: 'ami-6fa21412'
ECSAMI: 'ami-698b3d14'
'eu-west-2':
ECSAMI: 'ami-42a64325'
ECSAMI: 'ami-f4e20693'
'eu-west-1':
ECSAMI: 'ami-880d64f1'
ECSAMI: 'ami-0693ed7f'
'ap-northeast-2':
ECSAMI: 'ami-0acc6e64'
ECSAMI: 'ami-a5dd70cb'
'ap-northeast-1':
ECSAMI: 'ami-e3166185'
ECSAMI: 'ami-68ef940e'
'sa-east-1':
ECSAMI: 'ami-69f7b805'
ECSAMI: 'ami-d44008b8'
'ca-central-1':
ECSAMI: 'ami-4b9c182f'
ECSAMI: 'ami-5ac94e3e'
'ap-southeast-1':
ECSAMI: 'ami-66c98f1a'
ECSAMI: 'ami-0a622c76'
'ap-southeast-2':
ECSAMI: 'ami-36867d54'
ECSAMI: 'ami-ee884f8c'
'eu-central-1':
ECSAMI: 'ami-63cbae0c'
ECSAMI: 'ami-0799fa68'
'us-east-1':
ECSAMI: 'ami-5e414e24'
ECSAMI: 'ami-a7a242da'
'us-east-2':
ECSAMI: 'ami-67ab9e02'
ECSAMI: 'ami-b86a5ddd'
'us-west-1':
ECSAMI: 'ami-00898660'
ECSAMI: 'ami-9ad4dcfa'
'us-west-2':
ECSAMI: 'ami-10ed6968'
ECSAMI: 'ami-92e06fea'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down

0 comments on commit 9e40d73

Please sign in to comment.