Open Duncan00 opened 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.
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"}}
Can we install the new api via npm?
Cloud Functions v1beta2 API
is deprecated. And will be terminated soon. https://cloud.google.com/functions/docs/migratingBut
serverless-google-cloudfunctions
is still using it. https://github.com/serverless/serverless-google-cloudfunctions/blob/043516fbce95462ff41cbf2a5101fb0253556e24/provider/googleProvider.js#L47