You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current implementation, there's no eventFilters available to pass to the action to make it work with triggers other than Pub/Sub. Other triggers like GCS require specific filters in use in order to properly work when deploying using GEN_2 functions. This makes the action fail with an error like this:
"error": ***
"code": 400,
"message": "Validation failed for trigger projects/**project**/locations/**location**/triggers/******: The request was invalid: missing required attribute \"bucket\" in trigger.event_filters",
"status": "INVALID_ARGUMENT"
***
***
Is it possible to use the action to deploy a Gen2 function being triggered by a GCS bucket event like google.storage.object.finalize or should we fall back to use gcloud deploy instead?
The text was updated successfully, but these errors were encountered:
This issue refers to field
eventFilters
undereventTrigger
ofCloudFunction
type, referenced here:deploy-cloud-functions/src/client.ts
Line 179 in 316d9c5
With the current implementation, there's no
eventFilters
available to pass to the action to make it work with triggers other than Pub/Sub. Other triggers like GCS require specific filters in use in order to properly work when deploying usingGEN_2
functions. This makes the action fail with an error like this:Is it possible to use the action to deploy a Gen2 function being triggered by a GCS bucket event like
google.storage.object.finalize
or should we fall back to usegcloud deploy
instead?The text was updated successfully, but these errors were encountered: