Skip to content

Commit 2b83e1d

Browse files
authored
Add support for more instance sizes and regions (#1037)
1 parent 1629793 commit 2b83e1d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/v2/options.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ import { ManifestEndpoint } from '../runtime/manifest';
3636
* List of all regions supported by Cloud Functions v2
3737
*/
3838
export const SUPPORTED_REGIONS = [
39-
'us-west1',
40-
'us-central1',
41-
'europe-west4',
4239
'asia-northeast1',
40+
'europe-north1',
41+
'europe-west1',
42+
'europe-west4',
43+
'us-central1',
44+
'us-east1',
45+
'us-west1',
4346
] as const;
4447

4548
/**
@@ -71,21 +74,27 @@ export const MAX_CONCURRENCY = 1_000;
7174
* List of available memory options supported by Cloud Functions.
7275
*/
7376
export const SUPPORTED_MEMORY_OPTIONS = [
77+
'128MB',
7478
'256MB',
7579
'512MB',
7680
'1GB',
7781
'2GB',
7882
'4GB',
7983
'8GB',
84+
'16GB',
85+
'32GB',
8086
] as const;
8187

8288
const MemoryOptionToMB: Record<MemoryOption, number> = {
89+
'128MB': 128,
8390
'256MB': 256,
8491
'512MB': 512,
8592
'1GB': 1024,
8693
'2GB': 2048,
8794
'4GB': 4096,
8895
'8GB': 8192,
96+
'16GB': 16384,
97+
'32GB': 32768,
8998
};
9099

91100
/**

0 commit comments

Comments
 (0)