0

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?

1
  • 1
    We can't see the value of environment.DEPLOYMENT_LOCATION nor 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. Commented Sep 11 at 12:15

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.