serverless / serverless-google-cloudfunctions

Serverless Google Cloud Functions Plugin – Adds Google Cloud Functions support to the Serverless Framework
https://www.serverless.com
MIT License
272 stars 127 forks source link

Specify Subscription ID for event instead of topic #302

Open shpml opened 1 year ago

shpml commented 1 year ago

Is it possible to provide a pub/sub subscription id instead of a topic when configuring and event trigger?

Right now for an event trigger type I specify a pub/sub topic. The subscription gets created automatically but I'm not able to enable dead lettering or specify a deadletter queue along with other useful settings.

Alternatively is it possible to specify these details within serverless.yml?