I specified the deployment region of all my v1 CFs to be europe-west1
import * as functions from "firebase-functions";
functions
.region(environment.DEPLOYMENT_LOCATION)
.runWith({
serviceAccount: environment.FIREBASE_ADMIN_SERVICE_ACCOUNT_NAME,
})...
I am using firebase-functions v5.0.1.
This setup is working perfectly for all my CFs except for my User Auth Triggers:
- OnCreate
- OnDelete
On firebase deploy, the triggers are forcefully being deployed on us-central1 region, without any errors or warnings from firebase deploy logs
Is there a reason behind such behavior?
environment.DEPLOYMENT_LOCATIONnor do we know anything about how you defined it. So it's impossible for us to know what's going to happen when you deploy this. Please edit the question to show a more complete example, and consider hard-coding any strings that don't need to change. We should be able to copy your code and instructions, and use them to duplicate the behavior your see. Also it would be a good idea to include the logs that you do see in case you're missing something from them.