Skip to content

Commit

Permalink
Updated ECS optimized Amazon Linux to 2018.03.c
Browse files Browse the repository at this point in the history
michaelwittig committed Aug 7, 2018
1 parent c3ecee4 commit 7154f29
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
@@ -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-2018.03.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-2018.03.c-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
@@ -154,35 +154,35 @@ Parameters:
Mappings:
RegionMap: # TODO update to Amazon Linux 2 (don't forget to adjust awslogs config as well)
'ap-south-1':
ECSAMI: 'ami-921d2efd'
ECSAMI: 'ami-f4b88a9b'
'eu-west-3':
ECSAMI: 'ami-2187375c'
ECSAMI: 'ami-e976c694'
'eu-west-2':
ECSAMI: 'ami-e8a04a8f'
ECSAMI: 'ami-2e9866c5'
'eu-west-1':
ECSAMI: 'ami-74e7fe9e'
ECSAMI: 'ami-39d530d4'
'ap-northeast-2':
ECSAMI: 'ami-2095224e'
ECSAMI: 'ami-8f44f3e1'
'ap-northeast-1':
ECSAMI: 'ami-2b4d26c6'
ECSAMI: 'ami-7d0c7a90'
'sa-east-1':
ECSAMI: 'ami-0a8caa66'
ECSAMI: 'ami-a2c6e7ce'
'ca-central-1':
ECSAMI: 'ami-06ac2162'
ECSAMI: 'ami-c1b63ba5'
'ap-southeast-1':
ECSAMI: 'ami-3b1d59d1'
ECSAMI: 'ami-ae1b5a44'
'ap-southeast-2':
ECSAMI: 'ami-09bf186b'
ECSAMI: 'ami-706cca12'
'eu-central-1':
ECSAMI: 'ami-c123232a'
ECSAMI: 'ami-9fe2e074'
'us-east-1':
ECSAMI: 'ami-fbc1c684'
ECSAMI: 'ami-644a431b'
'us-east-2':
ECSAMI: 'ami-8f4e74ea'
ECSAMI: 'ami-79d8e21c'
'us-west-1':
ECSAMI: 'ami-638c6100'
ECSAMI: 'ami-4351bc20'
'us-west-2':
ECSAMI: 'ami-7ddf8005'
ECSAMI: 'ami-f189d189'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']

0 comments on commit 7154f29

Please sign in to comment.