I need to deploy firebase cloud functions programmatically What I am doing. I have firebase cli install on ubuntu and have written bash script. I create a firebase project then initialize my database and firebase functions. I attach billing account using gcloud cli. I am doing all things from firebase cli and do want any things from console.
After all this steps i ran a command firebase deploy --only functions
Then there is a error
Cloud resource location is not set for this project but scheduled functions requires it.
When I set from console the above command runs successfully.
I set location as shown in the image
Please let us know how I can Default GCP resource location through firebase cli?