Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit e42c7db

Browse files
Alexander PatrikalakisAlexander Patrikalakis
authored andcommitted
[skip ci] sort region and architecture lists (fixes #287)
1 parent c1968e0 commit e42c7db

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

dynamodb-janusgraph-storage-backend-cfn.yaml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,64 +2,64 @@
22
Description: This stack creates a VPC, an EC2 Amazon Linux host in the VPC with a
33
Public IP, and deploys Gremlin Server on it. **WARNING** This template creates
44
an Amazon EC2 instance. You will be billed for the AWS resources used if you
5-
create a stack from this template.
5+
create a stack from this template. Amazon Linux created on 2018-06-22.
66
AWSTemplateFormatVersion: '2010-09-09'
77
Mappings:
88
AWSRegionArch2AMI:
9-
ap-south-1:
10-
HVMG2: ami-5a8da735
11-
HVM64: ami-bc83a9d3
12-
eu-west-3:
13-
HVM64: ami-78f24205
14-
HVMG2: ami-d50bbaa8
15-
eu-west-2:
16-
HVMG2: ami-b2b55cd5
17-
HVM64: ami-e2b35a85
18-
eu-west-1:
19-
PV64: ami-3c5758d6
20-
HVM64: ami-41505fab
21-
HVMG2: ami-e4515e0e
22-
ap-northeast-2:
23-
HVM64: ami-5bd46135
24-
HVMG2: ami-ebc47185
259
ap-northeast-1:
2610
HVM64: ami-449f483b
27-
PV64: ami-6593441a
2811
HVMG2: ami-9c9443e3
29-
sa-east-1:
30-
HVM64: ami-09d58f65
31-
PV64: ami-6dd58f01
32-
HVMG2: ami-83d58fef
33-
ca-central-1:
34-
HVMG2: ami-03e86a67
35-
HVM64: ami-49e86a2d
12+
PV64: ami-6593441a
13+
ap-northeast-2:
14+
HVM64: ami-5bd46135
15+
HVMG2: ami-ebc47185
16+
ap-south-1:
17+
HVM64: ami-bc83a9d3
18+
HVMG2: ami-5a8da735
3619
ap-southeast-1:
37-
PV64: ami-c8fcffb4
3820
HVM64: ami-d6fdfeaa
3921
HVMG2: ami-ed838091
22+
PV64: ami-c8fcffb4
4023
ap-southeast-2:
41-
HVMG2: ami-33f92051
4224
HVM64: ami-4ff8212d
25+
HVMG2: ami-33f92051
4326
PV64: ami-c4c71ea6
27+
ca-central-1:
28+
HVM64: ami-49e86a2d
29+
HVMG2: ami-03e86a67
4430
eu-central-1:
45-
PV64: ami-1a744bf1
46-
HVMG2: ami-a058674b
4731
HVM64: ami-e056690b
32+
HVMG2: ami-a058674b
33+
PV64: ami-1a744bf1
34+
eu-west-1:
35+
HVM64: ami-41505fab
36+
HVMG2: ami-e4515e0e
37+
PV64: ami-3c5758d6
38+
eu-west-2:
39+
HVM64: ami-e2b35a85
40+
HVMG2: ami-b2b55cd5
41+
eu-west-3:
42+
HVM64: ami-78f24205
43+
HVMG2: ami-d50bbaa8
44+
sa-east-1:
45+
HVM64: ami-09d58f65
46+
HVMG2: ami-83d58fef
47+
PV64: ami-6dd58f01
4848
us-east-1:
49-
PV64: ami-b41445cb
50-
HVMG2: ami-cfe4b2b0
5149
HVM64: ami-f316478c
50+
HVMG2: ami-cfe4b2b0
51+
PV64: ami-b41445cb
5252
us-east-2:
53-
HVMG2: ami-40142d25
5453
HVM64: ami-ae0f36cb
54+
HVMG2: ami-40142d25
5555
us-west-1:
56+
HVM64: ami-25bf5946
5657
HVMG2: ami-0e86606d
5758
PV64: ami-1a876179
58-
HVM64: ami-25bf5946
5959
us-west-2:
60+
HVM64: ami-39d39d41
6061
HVMG2: ami-0ad99772
6162
PV64: ami-21d09e59
62-
HVM64: ami-39d39d41
6363
AWSInstanceType2Arch:
6464
t2.nano:
6565
Arch: HVM64

src/test/resources/get-recent-al-amis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
LATER_THAN_DATE=$1
1919

20-
aws ec2 describe-regions --query 'Regions[*].[RegionName]' | sed -e '/\[/d' -e '/\]/d' -e "s/^[ \t]*//" | sed 's/\"//g' | while read region; do
20+
aws ec2 describe-regions --query 'Regions[*].[RegionName]' | sed -e '/\[/d' -e '/\]/d' -e "s/^[ \t]*//" | sed 's/\"//g' | sort | while read region; do
2121
echo " ${region}:"
2222
aws ec2 describe-images \
2323
--region ${region} \
@@ -35,5 +35,5 @@ aws ec2 describe-regions --query 'Regions[*].[RegionName]' | sed -e '/\[/d' -e '
3535
-e '/pv/s/\(.*\),\(.*\)/PV64:\ \2/' \
3636
-e '/x86_64-gp2/s/\(.*\),\(.*\)/HVMG2:\ \2/' \
3737
-e '/x86_64-ebs/s/\(.*\),\(.*\)/HVM64:\ \2/' \
38-
-e 's/^/\ \ \ \ \ \ /'
38+
-e 's/^/\ \ \ \ \ \ /' | sort
3939
done

0 commit comments

Comments
 (0)