I was following the quick start guide for serverless Serverless Framework - Google Cloud Functions Guide - Quick Start and created a service as mentioned in the guide. I ran the following commands:
serverless create --template google-nodejs --path my-service
cd my-service
npm install
I edited the serverless.yml to contain a valid key path and tried the following command
serverless package
A .serverless folder was created with myservice.zip file in it. Later I tried to deploy this myservice.zip file using
serverless deploy --package <absolute path of myservice.zip file>
The command failed with the following error
I am wondering if I missed something or serverless doesn’t support deploy --package option for google cloud functions.
My serverless version is 1.44.1
My actual use case is to deploy a prepackaged zipped file to google cloud functions using serverless