Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Deploying firebase functions with pipe errors out with unsupported cloud firestore region

Kyle Godfrey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 8, 2023

I'm attempting to deploy a V2 cloud function for firestore using the 

atlassian/firebase-deploy:3.1.1 pipe. Our firestore database is on us-central1 so the cloud function has to be on the same region to support triggers from firestore. Instead I get an error that us-central1 is an unsupported cloud firestore region. One suggestion found was to update the versions of the firebase libraries but they are all the latest. Here is the deploy step I'm using:
- step: &deploy-to-dev

name: Deploy to development Environment

script:

- pipe: atlassian/firebase-deploy:3.1.1

variables:

FIREBASE_TOKEN: $FIREBASE_TOKEN

PROJECT_ID: $DEV_FIREBASE_PROJECT

NODE_JS_VERSION: '16'

EXTRA_ARGS: '--only functions:updatelinehaulmanifestfromshipmentupdate'

DEBUG: 'true'

1 answer

1 accepted

0 votes
Answer accepted
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 11, 2023

@Kyle Godfrey Hi. Thanks for your question.

Firebase-deploy pipe updated to use firebase-tools@12.*

Check if this solve your issue.

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events