serverless-google-cloudfunctions icon indicating copy to clipboard operation
serverless-google-cloudfunctions copied to clipboard

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

Open Duncan00 opened this issue 7 years ago • 3 comments

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

Duncan00 avatar Jul 06 '18 06:07 Duncan00

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

Hopefully it can help someone.

markmssd avatar Aug 07 '18 21:08 markmssd

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"}}

juvestig avatar Jan 23 '19 22:01 juvestig

Can we install the new api via npm?

rockershead avatar May 22 '19 02:05 rockershead