Skip to content

Commit

Permalink
[Security] * - Update Amazon Linux 2 to 2.0.20190115
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Jan 25, 2019
1 parent d2fce64 commit bd6af97
Show file tree
Hide file tree
Showing 13 changed files with 134 additions and 133 deletions.
2 changes: 1 addition & 1 deletion ec2/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-hvm-2.0.20181114-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.20190115-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
```
32 changes: 16 additions & 16 deletions ec2/ec2-auto-recovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,37 +137,37 @@ Parameters:
Mappings:
RegionMap:
'ap-south-1':
AMI: 'ami-06bcd1131b2f55803'
AMI: 'ami-0937dcc711d38ef3f'
'eu-west-3':
AMI: 'ami-051707cdba246187b'
AMI: 'ami-0854d53ce963f69d8'
'eu-north-1':
AMI: 'ami-07ec6279'
AMI: 'ami-6d27a913'
'eu-west-2':
AMI: 'ami-0274e11dced17bb5b'
AMI: 'ami-0664a710233d7c148'
'eu-west-1':
AMI: 'ami-09693313102a30b2c'
AMI: 'ami-0fad7378adf284ce0'
'ap-northeast-2':
AMI: 'ami-0b4fdb56a00adb616'
AMI: 'ami-018a9a930060d38aa'
'ap-northeast-1':
AMI: 'ami-0a2de1c3b415889d2'
AMI: 'ami-0d7ed3ddb85b521a6'
'sa-east-1':
AMI: 'ami-0112d42866980b373'
AMI: 'ami-0b04450959586da29'
'ca-central-1':
AMI: 'ami-076b4adb3f90cd384'
AMI: 'ami-0de8b8e4bc1f125fe'
'ap-southeast-1':
AMI: 'ami-0b84d2c53ad5250c2'
AMI: 'ami-04677bdaa3c2b6e24'
'ap-southeast-2':
AMI: 'ami-08589eca6dcc9b39c'
AMI: 'ami-0c9d48b5db609ad6e'
'eu-central-1':
AMI: 'ami-034fffcc6a0063961'
AMI: 'ami-0eaec5838478eb0ba'
'us-east-1':
AMI: 'ami-009d6802948d06e52'
AMI: 'ami-035be7bafff33b6b6'
'us-east-2':
AMI: 'ami-02e680c4540db351e'
AMI: 'ami-04328208f4f0cf1fe'
'us-west-1':
AMI: 'ami-011b6930a81cd6aaf'
AMI: 'ami-0799ad445b5727125'
'us-west-2':
AMI: 'ami-01bbe152bf19d0289'
AMI: 'ami-032509850cf9ee54e'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down
2 changes: 1 addition & 1 deletion jenkins/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-hvm-2.0.20181114-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.20190115-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
```
32 changes: 16 additions & 16 deletions jenkins/jenkins2-ha-agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,37 +193,37 @@ Parameters:
Mappings:
RegionMap:
'ap-south-1':
AMI: 'ami-06bcd1131b2f55803'
AMI: 'ami-0937dcc711d38ef3f'
'eu-west-3':
AMI: 'ami-051707cdba246187b'
AMI: 'ami-0854d53ce963f69d8'
'eu-north-1':
AMI: 'ami-07ec6279'
AMI: 'ami-6d27a913'
'eu-west-2':
AMI: 'ami-0274e11dced17bb5b'
AMI: 'ami-0664a710233d7c148'
'eu-west-1':
AMI: 'ami-09693313102a30b2c'
AMI: 'ami-0fad7378adf284ce0'
'ap-northeast-2':
AMI: 'ami-0b4fdb56a00adb616'
AMI: 'ami-018a9a930060d38aa'
'ap-northeast-1':
AMI: 'ami-0a2de1c3b415889d2'
AMI: 'ami-0d7ed3ddb85b521a6'
'sa-east-1':
AMI: 'ami-0112d42866980b373'
AMI: 'ami-0b04450959586da29'
'ca-central-1':
AMI: 'ami-076b4adb3f90cd384'
AMI: 'ami-0de8b8e4bc1f125fe'
'ap-southeast-1':
AMI: 'ami-0b84d2c53ad5250c2'
AMI: 'ami-04677bdaa3c2b6e24'
'ap-southeast-2':
AMI: 'ami-08589eca6dcc9b39c'
AMI: 'ami-0c9d48b5db609ad6e'
'eu-central-1':
AMI: 'ami-034fffcc6a0063961'
AMI: 'ami-0eaec5838478eb0ba'
'us-east-1':
AMI: 'ami-009d6802948d06e52'
AMI: 'ami-035be7bafff33b6b6'
'us-east-2':
AMI: 'ami-02e680c4540db351e'
AMI: 'ami-04328208f4f0cf1fe'
'us-west-1':
AMI: 'ami-011b6930a81cd6aaf'
AMI: 'ami-0799ad445b5727125'
'us-west-2':
AMI: 'ami-01bbe152bf19d0289'
AMI: 'ami-032509850cf9ee54e'
Conditions:
HasZeroAgents: !Equals [!Ref AgentDesiredCapacity, '0']
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
Expand Down
32 changes: 16 additions & 16 deletions jenkins/jenkins2-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,37 +133,37 @@ Parameters:
Mappings:
RegionMap:
'ap-south-1':
AMI: 'ami-06bcd1131b2f55803'
AMI: 'ami-0937dcc711d38ef3f'
'eu-west-3':
AMI: 'ami-051707cdba246187b'
AMI: 'ami-0854d53ce963f69d8'
'eu-north-1':
AMI: 'ami-07ec6279'
AMI: 'ami-6d27a913'
'eu-west-2':
AMI: 'ami-0274e11dced17bb5b'
AMI: 'ami-0664a710233d7c148'
'eu-west-1':
AMI: 'ami-09693313102a30b2c'
AMI: 'ami-0fad7378adf284ce0'
'ap-northeast-2':
AMI: 'ami-0b4fdb56a00adb616'
AMI: 'ami-018a9a930060d38aa'
'ap-northeast-1':
AMI: 'ami-0a2de1c3b415889d2'
AMI: 'ami-0d7ed3ddb85b521a6'
'sa-east-1':
AMI: 'ami-0112d42866980b373'
AMI: 'ami-0b04450959586da29'
'ca-central-1':
AMI: 'ami-076b4adb3f90cd384'
AMI: 'ami-0de8b8e4bc1f125fe'
'ap-southeast-1':
AMI: 'ami-0b84d2c53ad5250c2'
AMI: 'ami-04677bdaa3c2b6e24'
'ap-southeast-2':
AMI: 'ami-08589eca6dcc9b39c'
AMI: 'ami-0c9d48b5db609ad6e'
'eu-central-1':
AMI: 'ami-034fffcc6a0063961'
AMI: 'ami-0eaec5838478eb0ba'
'us-east-1':
AMI: 'ami-009d6802948d06e52'
AMI: 'ami-035be7bafff33b6b6'
'us-east-2':
AMI: 'ami-02e680c4540db351e'
AMI: 'ami-04328208f4f0cf1fe'
'us-west-1':
AMI: 'ami-011b6930a81cd6aaf'
AMI: 'ami-0799ad445b5727125'
'us-west-2':
AMI: 'ami-01bbe152bf19d0289'
AMI: 'ami-032509850cf9ee54e'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down
2 changes: 1 addition & 1 deletion security/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-hvm-2.0.20181114-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.20190115-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
```
32 changes: 16 additions & 16 deletions security/auth-proxy-ha-github-orga.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,37 +127,37 @@ Parameters:
Mappings:
RegionMap:
'ap-south-1':
AMI: 'ami-06bcd1131b2f55803'
AMI: 'ami-0937dcc711d38ef3f'
'eu-west-3':
AMI: 'ami-051707cdba246187b'
AMI: 'ami-0854d53ce963f69d8'
'eu-north-1':
AMI: 'ami-07ec6279'
AMI: 'ami-6d27a913'
'eu-west-2':
AMI: 'ami-0274e11dced17bb5b'
AMI: 'ami-0664a710233d7c148'
'eu-west-1':
AMI: 'ami-09693313102a30b2c'
AMI: 'ami-0fad7378adf284ce0'
'ap-northeast-2':
AMI: 'ami-0b4fdb56a00adb616'
AMI: 'ami-018a9a930060d38aa'
'ap-northeast-1':
AMI: 'ami-0a2de1c3b415889d2'
AMI: 'ami-0d7ed3ddb85b521a6'
'sa-east-1':
AMI: 'ami-0112d42866980b373'
AMI: 'ami-0b04450959586da29'
'ca-central-1':
AMI: 'ami-076b4adb3f90cd384'
AMI: 'ami-0de8b8e4bc1f125fe'
'ap-southeast-1':
AMI: 'ami-0b84d2c53ad5250c2'
AMI: 'ami-04677bdaa3c2b6e24'
'ap-southeast-2':
AMI: 'ami-08589eca6dcc9b39c'
AMI: 'ami-0c9d48b5db609ad6e'
'eu-central-1':
AMI: 'ami-034fffcc6a0063961'
AMI: 'ami-0eaec5838478eb0ba'
'us-east-1':
AMI: 'ami-009d6802948d06e52'
AMI: 'ami-035be7bafff33b6b6'
'us-east-2':
AMI: 'ami-02e680c4540db351e'
AMI: 'ami-04328208f4f0cf1fe'
'us-west-1':
AMI: 'ami-011b6930a81cd6aaf'
AMI: 'ami-0799ad445b5727125'
'us-west-2':
AMI: 'ami-01bbe152bf19d0289'
AMI: 'ami-032509850cf9ee54e'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down
3 changes: 2 additions & 1 deletion vpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ $ regions=$(aws ec2 describe-regions --query "Regions[].RegionName" --output tex

#### AMI
```
$ for region in $regions; do ami=$(aws --region $region ec2 describe-images --filters "Name=name,Values=amzn2-ami-hvm-2.0.20181114-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.20190115-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
```


#### NATAMI
```
$ for region in $regions; do ami=$(aws --region $region ec2 describe-images --filters "Name=name,Values=amzn-ami-vpc-nat-hvm-2018.03.0.20181116-x86_64-ebs" --query "Images[0].ImageId" --output "text"); printf "'$region':\n NATAMI: '$ami'\n"; done
Expand Down
32 changes: 16 additions & 16 deletions vpc/vpc-ssh-bastion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,37 +78,37 @@ Parameters:
Mappings:
RegionMap:
'ap-south-1':
AMI: 'ami-06bcd1131b2f55803'
AMI: 'ami-0937dcc711d38ef3f'
'eu-west-3':
AMI: 'ami-051707cdba246187b'
AMI: 'ami-0854d53ce963f69d8'
'eu-north-1':
AMI: 'ami-07ec6279'
AMI: 'ami-6d27a913'
'eu-west-2':
AMI: 'ami-0274e11dced17bb5b'
AMI: 'ami-0664a710233d7c148'
'eu-west-1':
AMI: 'ami-09693313102a30b2c'
AMI: 'ami-0fad7378adf284ce0'
'ap-northeast-2':
AMI: 'ami-0b4fdb56a00adb616'
AMI: 'ami-018a9a930060d38aa'
'ap-northeast-1':
AMI: 'ami-0a2de1c3b415889d2'
AMI: 'ami-0d7ed3ddb85b521a6'
'sa-east-1':
AMI: 'ami-0112d42866980b373'
AMI: 'ami-0b04450959586da29'
'ca-central-1':
AMI: 'ami-076b4adb3f90cd384'
AMI: 'ami-0de8b8e4bc1f125fe'
'ap-southeast-1':
AMI: 'ami-0b84d2c53ad5250c2'
AMI: 'ami-04677bdaa3c2b6e24'
'ap-southeast-2':
AMI: 'ami-08589eca6dcc9b39c'
AMI: 'ami-0c9d48b5db609ad6e'
'eu-central-1':
AMI: 'ami-034fffcc6a0063961'
AMI: 'ami-0eaec5838478eb0ba'
'us-east-1':
AMI: 'ami-009d6802948d06e52'
AMI: 'ami-035be7bafff33b6b6'
'us-east-2':
AMI: 'ami-02e680c4540db351e'
AMI: 'ami-04328208f4f0cf1fe'
'us-west-1':
AMI: 'ami-011b6930a81cd6aaf'
AMI: 'ami-0799ad445b5727125'
'us-west-2':
AMI: 'ami-01bbe152bf19d0289'
AMI: 'ami-032509850cf9ee54e'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down
32 changes: 16 additions & 16 deletions vpc/vpc-vpn-bastion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,37 +100,37 @@ Parameters:
Mappings:
RegionMap:
'ap-south-1':
AMI: 'ami-06bcd1131b2f55803'
AMI: 'ami-0937dcc711d38ef3f'
'eu-west-3':
AMI: 'ami-051707cdba246187b'
AMI: 'ami-0854d53ce963f69d8'
'eu-north-1':
AMI: 'ami-07ec6279'
AMI: 'ami-6d27a913'
'eu-west-2':
AMI: 'ami-0274e11dced17bb5b'
AMI: 'ami-0664a710233d7c148'
'eu-west-1':
AMI: 'ami-09693313102a30b2c'
AMI: 'ami-0fad7378adf284ce0'
'ap-northeast-2':
AMI: 'ami-0b4fdb56a00adb616'
AMI: 'ami-018a9a930060d38aa'
'ap-northeast-1':
AMI: 'ami-0a2de1c3b415889d2'
AMI: 'ami-0d7ed3ddb85b521a6'
'sa-east-1':
AMI: 'ami-0112d42866980b373'
AMI: 'ami-0b04450959586da29'
'ca-central-1':
AMI: 'ami-076b4adb3f90cd384'
AMI: 'ami-0de8b8e4bc1f125fe'
'ap-southeast-1':
AMI: 'ami-0b84d2c53ad5250c2'
AMI: 'ami-04677bdaa3c2b6e24'
'ap-southeast-2':
AMI: 'ami-08589eca6dcc9b39c'
AMI: 'ami-0c9d48b5db609ad6e'
'eu-central-1':
AMI: 'ami-034fffcc6a0063961'
AMI: 'ami-0eaec5838478eb0ba'
'us-east-1':
AMI: 'ami-009d6802948d06e52'
AMI: 'ami-035be7bafff33b6b6'
'us-east-2':
AMI: 'ami-02e680c4540db351e'
AMI: 'ami-04328208f4f0cf1fe'
'us-west-1':
AMI: 'ami-011b6930a81cd6aaf'
AMI: 'ami-0799ad445b5727125'
'us-west-2':
AMI: 'ami-01bbe152bf19d0289'
AMI: 'ami-032509850cf9ee54e'
Conditions:
HasKeyName: !Not [!Equals [!Ref KeyName, '']]
HasIAMUserSSHAccess: !Equals [!Ref IAMUserSSHAccess, 'true']
Expand Down
2 changes: 1 addition & 1 deletion wordpress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,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.20181114-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.20190115-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n AMI: '$ami'\n"; done
```

### Load Test
Expand Down
Loading

0 comments on commit bd6af97

Please sign in to comment.