serverless / serverless-google-cloudfunctions

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

Migrating from the Cloud Functions v1beta2 API to the Cloud Functions v1 API #105

Open Duncan00 opened 6 years ago

Duncan00 commented 6 years ago

Cloud Functions v1beta2 API is deprecated. And will be terminated soon. https://cloud.google.com/functions/docs/migrating

But serverless-google-cloudfunctions is still using it. https://github.com/serverless/serverless-google-cloudfunctions/blob/043516fbce95462ff41cbf2a5101fb0253556e24/provider/googleProvider.js#L47

markmssd commented 6 years ago

I've done the upgrade here: https://github.com/digital-dynamite/serverless-google-cloudfunctions-awesome/commit/7d1f4348204a9ea26c14beef4e1c2e097011275b

Hopefully it can help someone.

juvestig commented 5 years ago

v1beta2 is now already deprecated and causing issues in deploying cloud functions with sls. Any word on resolution? {"ResourceType":"_cloudfunctions.v1beta2.function_","ResourceErrorCode":"503","ResourceErrorMessage":{"code":503,"message":"The service is currently unavailable.","status":"UNAVAILABLE","details":[],"statusMessage":"Service Unavailable","requestPath":"https://cloudfunctions.googleapis.com/v1beta2/projects/<project>/locations/us-east1/functions","httpMethod":"POST"}}

rockershead commented 5 years ago

Can we install the new api via npm?