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
…114 (widdix#369)
  • Loading branch information
michaelwittig committed Nov 15, 2019
1 parent 7365e7a commit a1af242
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.20191031-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.20191114-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 @@ -201,41 +201,41 @@ Parameters:
Mappings:
RegionMap:
'eu-north-1':
ECSAMI: 'ami-0fb9c77321cbfec1f'
ECSAMI: 'ami-0f8edbbca6bac13a6'
'ap-south-1':
ECSAMI: 'ami-00c9ea0fa19811160'
ECSAMI: 'ami-0312d67ff59a3db34'
'eu-west-3':
ECSAMI: 'ami-084782c5b95d70e09'
ECSAMI: 'ami-03490ca40775a62f0'
'eu-west-2':
ECSAMI: 'ami-0e4e5c424778d57b1'
ECSAMI: 'ami-0393b5f363fbd613a'
'eu-west-1':
ECSAMI: 'ami-05c0240426c25004c'
ECSAMI: 'ami-0bf45a5f4ab05b949'
'ap-northeast-2':
ECSAMI: 'ami-077c3aea18b1effa7'
ECSAMI: 'ami-0fa5d85859452a178'
'me-south-1':
ECSAMI: 'ami-0a03f8571a81722e1'
ECSAMI: 'ami-083574c628ab7ed55'
'ap-northeast-1':
ECSAMI: 'ami-06c98c6fe6f20c437'
ECSAMI: 'ami-0934e28fe3e390537'
'sa-east-1':
ECSAMI: 'ami-037d92649e2a676ab'
ECSAMI: 'ami-0c947c117562538ee'
'ca-central-1':
ECSAMI: 'ami-07243ebddb8e654ee'
ECSAMI: 'ami-0057d82f917a17334'
'ap-east-1':
ECSAMI: 'ami-0543fe9b915d1fbb3'
ECSAMI: 'ami-06f0831524c0965d8'
'ap-southeast-1':
ECSAMI: 'ami-0d01c8832e8b0915b'
ECSAMI: 'ami-01f07b3fa86406c96'
'ap-southeast-2':
ECSAMI: 'ami-0020ff5d19a60c0e5'
ECSAMI: 'ami-07610e278b1ddf331'
'eu-central-1':
ECSAMI: 'ami-008fc232afbf08234'
ECSAMI: 'ami-074dc9dd588b6ea52'
'us-east-1':
ECSAMI: 'ami-08fa2eb77f5afe360'
ECSAMI: 'ami-097e3d1cdb541f43e'
'us-east-2':
ECSAMI: 'ami-073b44c7c2e03e3d3'
ECSAMI: 'ami-0fbd313043845c4f2'
'us-west-1':
ECSAMI: 'ami-02960ab220404c9a6'
ECSAMI: 'ami-03d7632ea0ab75eaa'
'us-west-2':
ECSAMI: 'ami-04240723d51aeeb2d'
ECSAMI: 'ami-0fb71e703258ab7eb'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down

0 comments on commit a1af242

Please sign in to comment.