Auto-generated Cloud Function cannot be configured
The Cloud Function being created for server-side rendering (of a Next.js app in my case) seems to be deployed to region us-central1 by default, and seems to have 256 MB of memory allocated.
Is it possible to configure these aspects?
🙋🏻♂️
At the the moment we don’t allow any configuration of the cloud function. We’re thinking through what that would look like. E.g, a yaml file, command line args, etc.
Thanks for the feedback
As a work around, you can alter the settings of the auto-generated cloud function in the Google Cloud Console.
As a work around, you can alter the settings of the auto-generated cloud function in the Google Cloud Console.
can you point where to change the settings for the region ? it seems that we could only change the memory after the function created
I thought changing the region isn't possible as documented on firebase docs?
Important: If you are using HTTP functions to serve dynamic content for Firebase Hosting, you must use us-central1.