Skip to content

Commit ec2ddc3

Browse files
authored
Merge pull request #35 from cloudgraphdev/alpha
Beta release
2 parents 5047264 + 1185c92 commit ec2ddc3

File tree

3 files changed

+115
-61
lines changed

3 files changed

+115
-61
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# [0.38.0-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-gcp/compare/0.37.2...0.38.0-alpha.1) (2023-05-03)
2+
3+
4+
### Features
5+
6+
* add new regions ([db435d2](https://github.com/cloudgraphdev/cloudgraph-provider-gcp/commit/db435d27b76e9120c13f71f4a770cf7e7da239ad))
7+
8+
## [0.37.2](https://github.com/cloudgraphdev/cloudgraph-provider-gcp/compare/0.37.1...0.37.2) (2023-03-08)
9+
10+
11+
### Bug Fixes
12+
13+
* **services:** fix for autoscaling policy ([61bb7e2](https://github.com/cloudgraphdev/cloudgraph-provider-gcp/commit/61bb7e29e04d81fe29020c7185a4beebb4327f61))
14+
* **services:** update dataproc policy/workflow template id field to use name and be unique ([45ab59f](https://github.com/cloudgraphdev/cloudgraph-provider-gcp/commit/45ab59ff1e287e3449c45d7fae9b3f08418f7240))
15+
116
## [0.37.2-beta.1](https://github.com/cloudgraphdev/cloudgraph-provider-gcp/compare/0.37.1...0.37.2-beta.1) (2023-03-08)
217

318

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudgraph/cg-provider-gcp",
3-
"version": "0.37.2-beta.1",
3+
"version": "0.38.0-alpha.1",
44
"description": "CloudGraph provider plugin for GCP used to fetch GCP cloud data.",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org/",

src/enums/regions.ts

Lines changed: 99 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,131 @@
11
export const regionMap = {
22
// US
3-
usCentral1: 'us-central1',
4-
usEast1: 'us-east1',
5-
usEast4: 'us-east4',
6-
usWest1: 'us-west1',
7-
usWest2: 'us-west2',
8-
usWest3: 'us-west3',
9-
usWest4: 'us-west4',
3+
usCentral1: 'us-central1',
4+
usEast1: 'us-east1',
5+
usEast4: 'us-east4',
6+
usEast5: 'us-east5',
7+
usWest1: 'us-west1',
8+
usWest2: 'us-west2',
9+
usWest3: 'us-west3',
10+
usWest4: 'us-west4',
11+
usSouth1: 'us-south1',
1012
// Canada
1113
northAmericaNorthEast1: 'northamerica-northeast1',
14+
northamericaNorthEast2: 'northamerica-northeast2',
1215
// Brazil
13-
southAmericaEast1: 'southamerica-east1',
16+
southAmericaEast1: 'southamerica-east1',
17+
southamericaWest1: 'southamerica-west1',
1418
// Australia
15-
australiaSoutheast1: 'australia-southeast1',
19+
australiaSoutheast1: 'australia-southeast1',
20+
australiaSoutheast2: 'australia-southeast2',
1621
// Asia
17-
asiaEast1: 'asia-east1',
22+
asiaEast1: 'asia-east1',
1823
asiaEast2: 'asia-east2',
19-
asiaNortheast1: 'asia-northeast1',
20-
asiaNortheast2: 'asia-northeast2',
21-
asiaNortheast3: 'asia-northeast3',
22-
asiaSouth1: 'asia-south1',
23-
asiaSoutheast1: 'asia-southeast1',
24-
asiaSoutheast2: 'asia-southeast2',
24+
asiaNortheast1: 'asia-northeast1',
25+
asiaNortheast2: 'asia-northeast2',
26+
asiaNortheast3: 'asia-northeast3',
27+
asiaSouth1: 'asia-south1',
28+
asiaSouth2: 'asia-south2',
29+
asiaSoutheast1: 'asia-southeast1',
30+
asiaSoutheast2: 'asia-southeast2',
2531
// Europe
26-
europeCentral2: 'europe-central2',
27-
europeWest2: 'europe-west2',
28-
europeWest3: 'europe-west3',
29-
europeWest6: 'europe-west6',
32+
europeCentral2: 'europe-central2',
33+
europeWest2: 'europe-west2',
34+
europeWest3: 'europe-west3',
35+
europeWest6: 'europe-west6',
36+
europeWest8: 'europe-west8',
37+
europeWest9: 'europe-west9',
38+
europeWest12: 'europe-west12',
39+
europeSouthwest1: 'europe-southwest1',
40+
// MIDDLE EAST
41+
meCentral1: 'me-central1',
42+
meWest1: 'me-west1',
3043
}
3144

3245
const {
3346
// US
34-
usCentral1,
35-
usEast1,
36-
usEast4,
37-
usWest1,
38-
usWest2,
39-
usWest3,
40-
usWest4,
47+
usCentral1,
48+
usEast1,
49+
usEast4,
50+
usEast5,
51+
usWest1,
52+
usWest2,
53+
usWest3,
54+
usWest4,
55+
usSouth1,
4156
// Canada
4257
northAmericaNorthEast1,
58+
northamericaNorthEast2,
4359
// Brazil
44-
southAmericaEast1,
60+
southAmericaEast1,
61+
southamericaWest1,
4562
// Australia
46-
australiaSoutheast1,
63+
australiaSoutheast1,
64+
australiaSoutheast2,
4765
// Asia
48-
asiaEast1,
66+
asiaEast1,
4967
asiaEast2,
50-
asiaNortheast1,
51-
asiaNortheast2,
52-
asiaNortheast3,
53-
asiaSouth1,
54-
asiaSoutheast1,
55-
asiaSoutheast2,
68+
asiaNortheast1,
69+
asiaNortheast2,
70+
asiaNortheast3,
71+
asiaSouth1,
72+
asiaSouth2,
73+
asiaSoutheast1,
74+
asiaSoutheast2,
5675
// Europe
57-
europeCentral2,
58-
europeWest2,
59-
europeWest3,
60-
europeWest6,
76+
europeCentral2,
77+
europeWest2,
78+
europeWest3,
79+
europeWest6,
80+
europeWest8,
81+
europeWest9,
82+
europeWest12,
83+
europeSouthwest1,
84+
// MIDDLE EAST
85+
meCentral1,
86+
meWest1,
6187
} = regionMap
6288

6389
export default [
6490
// US
65-
usCentral1,
66-
usEast1,
67-
usEast4,
68-
usWest1,
69-
usWest2,
70-
usWest3,
71-
usWest4,
91+
usCentral1,
92+
usEast1,
93+
usEast4,
94+
usEast5,
95+
usWest1,
96+
usWest2,
97+
usWest3,
98+
usWest4,
99+
usSouth1,
72100
// Canada
73101
northAmericaNorthEast1,
102+
northamericaNorthEast2,
74103
// Brazil
75-
southAmericaEast1,
104+
southAmericaEast1,
105+
southamericaWest1,
76106
// Australia
77-
australiaSoutheast1,
107+
australiaSoutheast1,
108+
australiaSoutheast2,
78109
// Asia
79-
asiaEast1,
110+
asiaEast1,
80111
asiaEast2,
81-
asiaNortheast1,
82-
asiaNortheast2,
83-
asiaNortheast3,
84-
asiaSouth1,
85-
asiaSoutheast1,
86-
asiaSoutheast2,
112+
asiaNortheast1,
113+
asiaNortheast2,
114+
asiaNortheast3,
115+
asiaSouth1,
116+
asiaSouth2,
117+
asiaSoutheast1,
118+
asiaSoutheast2,
87119
// Europe
88-
europeCentral2,
89-
europeWest2,
90-
europeWest3,
91-
europeWest6,
120+
europeCentral2,
121+
europeWest2,
122+
europeWest3,
123+
europeWest6,
124+
europeWest8,
125+
europeWest9,
126+
europeWest12,
127+
europeSouthwest1,
128+
// MIDDLE EAST
129+
meCentral1,
130+
meWest1,
92131
]

0 commit comments

Comments
 (0)