Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] ecs/cluster - Update Amazon ECS-Optimized Amazon Linux 2 AMI to 20190204 #270

Merged
merged 2 commits into from
Feb 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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=amzn2-ami-ecs-hvm-2.0.20190118-x86_64-ebs" --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=amzn2-ami-ecs-hvm-2.0.20190204-x86_64-ebs" --query "Images[0].ImageId" --output "text"); printf "'$region':\n ECSAMI: '$ami'\n"; done
```
34 changes: 17 additions & 17 deletions ecs/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,38 +187,38 @@ Parameters:
ConstraintDescription: 'Must be >= 2'
Mappings:
RegionMap:
'eu-north-1':
ECSAMI: 'ami-092c0f6a6cc3638c4'
'ap-south-1':
ECSAMI: 'ami-0b69100abbf75258c'
ECSAMI: 'ami-06016d6b78ec83843'
'eu-west-3':
ECSAMI: 'ami-0d86fa8483cfc9a34'
'eu-north-1':
ECSAMI: 'ami-0bb17cf9f4c34ccde'
ECSAMI: 'ami-0ab92fbd5dc35efa5'
'eu-west-2':
ECSAMI: 'ami-0b48a90115318e01c'
ECSAMI: 'ami-0bcc92a4e661446c1'
'eu-west-1':
ECSAMI: 'ami-059d1b1771487e7a2'
ECSAMI: 'ami-0885003261a52af1c'
'ap-northeast-2':
ECSAMI: 'ami-076742548207a9869'
ECSAMI: 'ami-0ae0c329bb532b6d0'
'ap-northeast-1':
ECSAMI: 'ami-06884bb5517cd1ec5'
ECSAMI: 'ami-0ea322c77fc5ff655'
'sa-east-1':
ECSAMI: 'ami-0cbc976a4d63b3523'
ECSAMI: 'ami-002111a63f9ad4724'
'ca-central-1':
ECSAMI: 'ami-06956934e43c09088'
ECSAMI: 'ami-0df37f84fc18ba923'
'ap-southeast-1':
ECSAMI: 'ami-06534f8692c419582'
ECSAMI: 'ami-060c7b75c31ac0a2a'
'ap-southeast-2':
ECSAMI: 'ami-0d5df8acd1ff68422'
ECSAMI: 'ami-046f9a4716a10bfa3'
'eu-central-1':
ECSAMI: 'ami-016b7db231a5906da'
ECSAMI: 'ami-08ab7d08250c248ce'
'us-east-1':
ECSAMI: 'ami-014810e050a2986e9'
ECSAMI: 'ami-032564940f9afd5c0'
'us-east-2':
ECSAMI: 'ami-093b710aa3d88540d'
ECSAMI: 'ami-03757cbb3bae03fe7'
'us-west-1':
ECSAMI: 'ami-0ed6989bdf821b0fb'
ECSAMI: 'ami-030dcc999f03d168b'
'us-west-2':
ECSAMI: 'ami-0bd5f1e6656ee98d6'
ECSAMI: 'ami-0291b991e70d83d33'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down