Skip to content

Commit

Permalink
[Security] ecs/cluster - Update ECS optimized Amazon Linux 2 to 20191…
Browse files Browse the repository at this point in the history
…212 (widdix#379)
  • Loading branch information
michaelwittig committed Dec 19, 2019
1 parent c89d10e commit 8c79d16
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 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=amzn2-ami-ecs-hvm-2.0.20191114-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.20191212-x86_64-ebs" --query "Images[0].ImageId" --output "text"); printf "'$region':\n ECSAMI: '$ami'\n"; done
```
36 changes: 18 additions & 18 deletions ecs/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,41 +194,41 @@ Parameters:
Mappings:
RegionMap:
'eu-north-1':
ECSAMI: 'ami-0f8edbbca6bac13a6'
ECSAMI: 'ami-0fef99c22d8363093'
'ap-south-1':
ECSAMI: 'ami-0312d67ff59a3db34'
ECSAMI: 'ami-055c242d89deb39da'
'eu-west-3':
ECSAMI: 'ami-03490ca40775a62f0'
ECSAMI: 'ami-069c1953e4db12d37'
'eu-west-2':
ECSAMI: 'ami-0393b5f363fbd613a'
ECSAMI: 'ami-0749bd3fac17dc2cc'
'eu-west-1':
ECSAMI: 'ami-0bf45a5f4ab05b949'
ECSAMI: 'ami-027078d981e5d4010'
'ap-northeast-2':
ECSAMI: 'ami-0fa5d85859452a178'
ECSAMI: 'ami-01dbce8fc02bec9ba'
'me-south-1':
ECSAMI: 'ami-083574c628ab7ed55'
ECSAMI: 'ami-02db21daaab89cf41'
'ap-northeast-1':
ECSAMI: 'ami-0934e28fe3e390537'
ECSAMI: 'ami-08798a629a97d8551'
'sa-east-1':
ECSAMI: 'ami-0c947c117562538ee'
ECSAMI: 'ami-076ade7c122b5607b'
'ca-central-1':
ECSAMI: 'ami-0057d82f917a17334'
ECSAMI: 'ami-08decf7a4d56cff6e'
'ap-east-1':
ECSAMI: 'ami-06f0831524c0965d8'
ECSAMI: 'ami-06520483e1aac2d06'
'ap-southeast-1':
ECSAMI: 'ami-01f07b3fa86406c96'
ECSAMI: 'ami-0310a9b646b817d26'
'ap-southeast-2':
ECSAMI: 'ami-07610e278b1ddf331'
ECSAMI: 'ami-0adc350d7c7a2259f'
'eu-central-1':
ECSAMI: 'ami-074dc9dd588b6ea52'
ECSAMI: 'ami-01933d3dbcb8f63e0'
'us-east-1':
ECSAMI: 'ami-097e3d1cdb541f43e'
ECSAMI: 'ami-00afc256a955c31b5'
'us-east-2':
ECSAMI: 'ami-0fbd313043845c4f2'
ECSAMI: 'ami-01a7c6aed63b6014f'
'us-west-1':
ECSAMI: 'ami-03d7632ea0ab75eaa'
ECSAMI: 'ami-01b3329a1f446d6aa'
'us-west-2':
ECSAMI: 'ami-0fb71e703258ab7eb'
ECSAMI: 'ami-0cbd7a68124b9cff9'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down

0 comments on commit 8c79d16

Please sign in to comment.