Skip to content

Commit

Permalink
update Amazon Linux 2 to 20191217.0
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Jan 24, 2020
1 parent cc6e1b3 commit da43293
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 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=amzn2-ami-hvm-2.0.20191116.0-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=amzn2-ami-hvm-2.0.20191217.0-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
```

## Manually Update ClamAV db
Expand Down
38 changes: 19 additions & 19 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,41 +151,41 @@ Conditions:
Mappings:
RegionMap:
'eu-north-1':
AMI: 'ami-006cda581cf39451b'
AMI: 'ami-0662eb9b9b8685935'
'ap-south-1':
AMI: 'ami-0ce933e2ae91880d3'
AMI: 'ami-0217a85e28e625474'
'eu-west-3':
AMI: 'ami-0e9e6ba6d3d38faa8'
AMI: 'ami-007fae589fdf6e955'
'eu-west-2':
AMI: 'ami-05f37c3995fffb4fd'
AMI: 'ami-0089b31e09ac3fffc'
'eu-west-1':
AMI: 'ami-01f14919ba412de34'
AMI: 'ami-0713f98de93617bb4'
'ap-northeast-2':
AMI: 'ami-0d59ddf55cdda6e21'
AMI: 'ami-0bea7fd38fabe821a'
'me-south-1':
AMI: 'ami-0c55b36523aa89a7c'
AMI: 'ami-05f93aaf03b9bf20c'
'ap-northeast-1':
AMI: 'ami-068a6cefc24c301d2'
AMI: 'ami-011facbea5ec0363b'
'sa-east-1':
AMI: 'ami-07820a4443539a2b0'
AMI: 'ami-09de7b4017733e2af'
'ca-central-1':
AMI: 'ami-0ff24797826ebbcd5'
AMI: 'ami-0a269ca7cc3e3beff'
'ap-east-1':
AMI: 'ami-cd86fcbc'
AMI: 'ami-db3d78aa'
'ap-southeast-1':
AMI: 'ami-07539a31f72d244e7'
AMI: 'ami-05c64f7b4062b0a21'
'ap-southeast-2':
AMI: 'ami-0119aa4d67e59007c'
AMI: 'ami-0b8b10b5bf11f3a22'
'eu-central-1':
AMI: 'ami-0d4c3eabb9e72650a'
AMI: 'ami-07cda0db070313c52'
'us-east-1':
AMI: 'ami-00068cd7555f543d5'
AMI: 'ami-062f7200baf2fa504'
'us-east-2':
AMI: 'ami-0dacb0c129b49f529'
AMI: 'ami-02ccb28830b645a41'
'us-west-1':
AMI: 'ami-0b2d8d1abb76a53d8'
AMI: 'ami-03caa3f860895f82e'
'us-west-2':
AMI: 'ami-0c5204531f799e0c6'
AMI: 'ami-04590e7389a6e577c'
Resources:
FindingsTopic:
Type: 'AWS::SNS::Topic'
Expand Down Expand Up @@ -237,7 +237,7 @@ Resources:
Statement:
- Effect: Allow
Principal:
AWS: '*'
AWS: '*' # FIXME security issue that can not be solved??? https://twitter.com/hellomichibye/status/1214997715152715778
Action: 'SQS:SendMessage'
Resource: !GetAtt 'ScanQueue.Arn'
Queues:
Expand Down

0 comments on commit da43293

Please sign in to comment.