Skip to content

Commit 708a01d

Browse files
feat: add gcp availability zones (#329)
1 parent 370378d commit 708a01d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

resources/common/cloud_provider.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,26 +78,32 @@ var AVAILABILITY_ZONES = map[commonpb.Location]map[commonpb.CloudProvider][]stri
7878
commonpb.Location_EU_WEST_3: {
7979
AWS: []string{"eu-west-3a", "eu-west-3b", "eu-west-3c"},
8080
AZURE: []string{"1", "2", "3"},
81+
GCP: []string{"europe-west3-a", "europe-west3-b", "europe-west3-c"},
8182
},
8283
commonpb.Location_US_EAST_1: {
8384
AWS: []string{"us-east-1a", "us-east-1b", "us-east-1c"},
8485
AZURE: []string{"1", "2", "3"},
86+
GCP: []string{"us-east4-a", "us-east4-b", "us-east4-c"},
8587
},
8688
commonpb.Location_US_EAST_2: {
8789
AWS: []string{"us-east-2a", "us-east-2b", "us-east-2c"},
8890
AZURE: []string{"1", "2", "3"},
91+
GCP: []string{"us-east5-a", "us-east5-b", "us-east5-c"},
8992
},
9093
commonpb.Location_US_WEST_1: {
9194
AWS: []string{"us-west-1a", "us-west-1c"},
9295
AZURE: []string{"1", "2"},
96+
GCP: []string{"us-west2-a", "us-west2-b", "us-west2-c"},
9397
},
9498
commonpb.Location_US_WEST_2: {
9599
AWS: []string{"us-west-2a", "us-west-2b", "us-west-2c", "us-west-2d"},
96100
AZURE: []string{"1", "2", "3"},
101+
GCP: []string{"us-west1-a", "us-west1-b", "us-west1-c"},
97102
},
98103
commonpb.Location_EU_NORTH_1: {
99104
AWS: []string{"eu-north-1a", "eu-north-1b", "eu-north-1c"},
100105
AZURE: []string{"1", "2", "3"},
106+
GCP: []string{"europe-north1-a", "europe-north1-b", "europe-north1-c"},
101107
},
102108
}
103109

resources/common/vm_size.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ var VMSIZE = map[commonpb.VmSize_Enum]map[commonpb.CloudProvider]string{
3333
commonpb.VmSize_GENERAL_XLARGE: {
3434
commonpb.CloudProvider_AWS: "t2.xlarge",
3535
commonpb.CloudProvider_AZURE: "Standard_B4ms",
36+
commonpb.CloudProvider_GCP: "e2-standard-4",
3637
},
3738
commonpb.VmSize_GENERAL_2XLARGE: {
3839
commonpb.CloudProvider_AWS: "t2.2xlarge",
3940
commonpb.CloudProvider_AZURE: "Standard_B8ms",
41+
commonpb.CloudProvider_GCP: "e2-standard-8",
4042
},
4143
commonpb.VmSize_COMPUTE_LARGE: {
4244
commonpb.CloudProvider_AWS: "c4.large",

0 commit comments

Comments
 (0)