Skip to content

πŸ› [storage-resize-images] Location configuration is not workingΒ #2560

@jimmykane

Description

@jimmykane

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs for a specific extension in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to
    Firebase support directly.

[REQUIRED] Step 2: Describe your configuration

  • Extension name: storage-resize-images
  • Extension version: 0.3
  • Configuration values (redact info where appropriate):
# Storage bucket
IMG_BUCKET=somebucket

# Cloud Functions location
LOCATION=europe-west1

# Image sizes to generate
IMG_SIZES=200x200,400x400,800x800,1200x1200

# Keep original files
DELETE_ORIGINAL_FILE=false

# Privacy: Do NOT make resized images public (use existing Storage rules)
MAKE_PUBLIC=false

# Only process images in /races path
INCLUDE_PATH_LIST=/races

# No path exclusions
EXCLUDE_PATH_LIST=

# Enable backfill for existing images
DO_BACKFILL=true

# Cache control header
CACHE_CONTROL_HEADER=max-age=86400

# Do NOT assign new access token (keep original token)
REGENERATE_TOKEN=false

# Sharp options
SHARP_OPTIONS={"fit":"inside"}

[REQUIRED] Step 3: Describe the problem

The location defaults to US-WEST1

Steps to reproduce:

Use the env file and deploy for the first time

Expected result

Deployed to EUROPE as the example online at the official docs state

Actual result

Deployed to US

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions