Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
updated AMI
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Jul 17, 2017
1 parent 8d8b577 commit 35454ab
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 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.1.20161221-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-2017.03.1.20170623-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
```

## Manually Update ClamAV db
Expand Down
29 changes: 14 additions & 15 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,37 +105,36 @@ Conditions:
HasNotSSHBastionSecurityGroup: !Equals [!Ref ParentSSHBastionStack, '']
HasNewRelic: !Not [!Equals [!Ref NewRelicLicenseKey, '']]
HasDeleteInfectedFiles: !Equals [!Ref DeleteInfectedFiles, 'true']
Resources:
Mappings:
RegionMap:
'ap-south-1':
AMI: 'ami-9fc7b0f0'
AMI: 'ami-47205e28'
'eu-west-2':
AMI: 'ami-bfe0eadb'
AMI: 'ami-ed100689'
'eu-west-1':
AMI: 'ami-c51e3eb6'
AMI: 'ami-d7b9a2b1'
'ap-northeast-2':
AMI: 'ami-94bb6dfa'
AMI: 'ami-e21cc38c'
'ap-northeast-1':
AMI: 'ami-9f0c67f8'
AMI: 'ami-3bd3c45c'
'sa-east-1':
AMI: 'ami-bb40d8d7'
AMI: 'ami-87dab1eb'
'ca-central-1':
AMI: 'ami-eb20928f'
AMI: 'ami-a7aa15c3'
'ap-southeast-1':
AMI: 'ami-4dd6782e'
AMI: 'ami-77af2014'
'ap-southeast-2':
AMI: 'ami-28cff44b'
AMI: 'ami-10918173'
'eu-central-1':
AMI: 'ami-211ada4e'
AMI: 'ami-82be18ed'
'us-east-1':
AMI: 'ami-9be6f38c'
AMI: 'ami-a4c7edb2'
'us-east-2':
AMI: 'ami-38cd975d'
AMI: 'ami-8a7859ef'
'us-west-1':
AMI: 'ami-b73d6cd7'
AMI: 'ami-327f5352'
'us-west-2':
AMI: 'ami-1e299d7e'
AMI: 'ami-6df1e514'
Resources:
FindingsTopic:
Type: 'AWS::SNS::Topic'
Expand Down

0 comments on commit 35454ab

Please sign in to comment.