I have deployed some code on firebase cloud function from another machine. I have changed the machine and I want to pull the existing cloud function here. When I do
firebase login
and then firebase init
and select the same project as existing but it still creates empy index.js file
By default, functions run in the us-central1 region. Note that this may be different from the region of an event source, such as a Cloud Storage bucket. If you need to change the region where a function runs, follow the recommendations in this section for each function trigger type.
By default each Cloud Run container instance can receive up to 80 requests at the same time; you can increase this to a maximum of 1000. Although you should use the default value, if needed you can lower the maximum concurrency.
Deployment only works one direction - from a computer to the cloud. There is currently no way to get your code back from the cloud onto a computer. Instead, you should be using some sort of source control to manage your code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With