Skip to content

Commit

Permalink
updated region map
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Mar 8, 2017
1 parent 1d786d1 commit 6379387
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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-hvm-2016.09.0.20160923-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
$ for region in $regions; do ami=$(aws --region $region ec2 describe-images --filters "Name=name,Values=amzn-ami-hvm-2016.09.1.20161221-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
```

## Manually Update ClamAV db
Expand Down
28 changes: 16 additions & 12 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,29 +103,33 @@ Resources:
Mappings:
RegionMap:
'ap-south-1':
AMI: 'ami-cacbbea5'
AMI: 'ami-9fc7b0f0'
'eu-west-2':
AMI: 'ami-bfe0eadb'
'eu-west-1':
AMI: 'ami-d41d58a7'
AMI: 'ami-c51e3eb6'
'ap-northeast-2':
AMI: 'ami-a04297ce'
AMI: 'ami-94bb6dfa'
'ap-northeast-1':
AMI: 'ami-1a15c77b'
AMI: 'ami-9f0c67f8'
'sa-east-1':
AMI: 'ami-b777e4db'
AMI: 'ami-bb40d8d7'
'ca-central-1':
AMI: 'ami-eb20928f'
'ap-southeast-1':
AMI: 'ami-7243e611'
AMI: 'ami-4dd6782e'
'ap-southeast-2':
AMI: 'ami-55d4e436'
AMI: 'ami-28cff44b'
'eu-central-1':
AMI: 'ami-0044b96f'
AMI: 'ami-211ada4e'
'us-east-1':
AMI: 'ami-c481fad3'
AMI: 'ami-9be6f38c'
'us-east-2':
AMI: 'ami-71ca9114'
AMI: 'ami-38cd975d'
'us-west-1':
AMI: 'ami-de347abe'
AMI: 'ami-b73d6cd7'
'us-west-2':
AMI: 'ami-b04e92d0'
AMI: 'ami-1e299d7e'
Resources:
FindingsTopic:
Type: 'AWS::SNS::Topic'
Expand Down

0 comments on commit 6379387

Please sign in to comment.