Skip to content

Commit

Permalink
updated ECS optimized Amazon Linux to 2017.09.c
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Nov 19, 2017
1 parent dd691c1 commit 9a78c74
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.b-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.c-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-4f8d912b'
ECSAMI: 'ami-e36b7487'
'eu-west-1':
ECSAMI: 'ami-014ae578'
ECSAMI: 'ami-faa10a83'
'ap-northeast-2':
ECSAMI: 'ami-502c883e'
ECSAMI: 'ami-88f85fe6'
'ap-northeast-1':
ECSAMI: 'ami-3405af52'
ECSAMI: 'ami-cb3a8cad'
'ca-central-1':
ECSAMI: 'ami-c802baac'
ECSAMI: 'ami-cace75ae'
'ap-southeast-1':
ECSAMI: 'ami-134e0670'
ECSAMI: 'ami-ca3762a9'
'ap-southeast-2':
ECSAMI: 'ami-2ab95148'
ECSAMI: 'ami-a9a14acb'
'eu-central-1':
ECSAMI: 'ami-4255d32d'
ECSAMI: 'ami-1f9f1f70'
'us-east-1':
ECSAMI: 'ami-71ef560b'
ECSAMI: 'ami-6944c513'
'us-east-2':
ECSAMI: 'ami-1b8ca37e'
ECSAMI: 'ami-6e56780b'
'us-west-1':
ECSAMI: 'ami-e5cdf385'
ECSAMI: 'ami-bbe6dfdb'
'us-west-2':
ECSAMI: 'ami-a64d9ade'
ECSAMI: 'ami-f5fc2c8d'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down

0 comments on commit 9a78c74

Please sign in to comment.