serverless / serverless-google-cloudfunctions

Serverless Google Cloud Functions Plugin – Adds Google Cloud Functions support to the Serverless Framework
https://www.serverless.com
MIT License
272 stars 127 forks source link

fix: add missing us-west1 region to schema #296

Open mathieudi opened 1 year ago

mathieudi commented 1 year ago

us-west-1 region is currently not supported by this serverless plugin as you can see here: https://github.com/serverless/serverless-google-cloudfunctions/blob/b1cdaf25c1cb782b906ea4bfbf0adbd4b4efa4fd/provider/googleProvider.js#L30

But in the Google documentation you can see that us-west1 region is available under tier 1 pricing: https://cloud.google.com/functions/docs/locations#tier_1_pricing

This PR is about adding support for this available region.