Skip to content

Commit

Permalink
updated ECS optimized Amazon Linux to 2017.09.b
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Nov 14, 2017
1 parent b953eed commit 430dd9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 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.a-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.b-amazon-ecs-optimized" --query "Images[0].ImageId" --output "text"); printf "'$region':\n ECSAMI: '$ami'\n"; done
```
24 changes: 12 additions & 12 deletions ecs/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,29 +140,29 @@ Parameters:
Mappings:
RegionMap:
'eu-west-2':
ECSAMI: 'ami-ee7d618a'
ECSAMI: 'ami-4f8d912b'
'eu-west-1':
ECSAMI: 'ami-d65dfbaf'
ECSAMI: 'ami-014ae578'
'ap-northeast-2':
ECSAMI: 'ami-70d0741e'
ECSAMI: 'ami-502c883e'
'ap-northeast-1':
ECSAMI: 'ami-95903df3'
ECSAMI: 'ami-3405af52'
'ca-central-1':
ECSAMI: 'ami-fc5fe798'
ECSAMI: 'ami-c802baac'
'ap-southeast-1':
ECSAMI: 'ami-c8c98bab'
ECSAMI: 'ami-134e0670'
'ap-southeast-2':
ECSAMI: 'ami-e3b75981'
ECSAMI: 'ami-2ab95148'
'eu-central-1':
ECSAMI: 'ami-ebfb7e84'
ECSAMI: 'ami-4255d32d'
'us-east-1':
ECSAMI: 'ami-20ff515a'
ECSAMI: 'ami-71ef560b'
'us-east-2':
ECSAMI: 'ami-b0527dd5'
ECSAMI: 'ami-1b8ca37e'
'us-west-1':
ECSAMI: 'ami-b388b4d3'
ECSAMI: 'ami-e5cdf385'
'us-west-2':
ECSAMI: 'ami-3702ca4f'
ECSAMI: 'ami-a64d9ade'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down

0 comments on commit 430dd9b

Please sign in to comment.