Commit 292306a
fix(functions): add missing regions to V2_REGION_TO_TIER pricing map (#9697)
The V2_REGION_TO_TIER mapping was missing several Cloud Functions regions
that are officially supported, causing issues when deploying functions
with minInstances to these regions:
- canCalculateMinInstanceCost() returns false, showing generic warning
- monthlyMinInstanceCost() throws TypeError if called without guards
Added missing Tier 1 regions:
- africa-south1 (Johannesburg)
- europe-southwest1 (Madrid)
- europe-west8 (Milan)
- europe-west9 (Paris)
- me-west1 (Tel Aviv)
- us-east5 (Columbus)
- us-south1 (Dallas)
Added missing Tier 2 regions:
- asia-south2 (Delhi)
- australia-southeast2 (Melbourne)
- europe-west10 (Berlin)
- europe-west12 (Turin)
- me-central1 (Doha)
- me-central2 (Dammam)
- northamerica-northeast2 (Toronto)
- southamerica-west1 (Santiago)
Fixes #9696
Co-authored-by: Jacopo Antonio Causin <jacopo.causin@mecapptronics.com>
Co-authored-by: Joe Hanley <joehanley@google.com>1 parent 7db81c2 commit 292306a
2 files changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| 52 | + | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
| 57 | + | |
| 58 | + | |
50 | 59 | | |
51 | 60 | | |
52 | | - | |
53 | 61 | | |
| 62 | + | |
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
58 | 71 | | |
| 72 | + | |
59 | 73 | | |
| 74 | + | |
60 | 75 | | |
61 | 76 | | |
62 | 77 | | |
| |||
0 commit comments