Disable firebase cloud functions through dashboard (or cli)

2,537 views
Skip to first unread message

Brian Woodward

unread,
May 22, 2017, 3:40:33 PM5/22/17
to Firebase Google Group
Hi,

I had an issue where I needed to redeploy a function to get it to stop triggering.
I'm wondering if there is a way to disable a function through the dashboard or the cli.


Thanks,
Brian

Ian Barber

unread,
May 22, 2017, 3:56:46 PM5/22/17
to Firebase Google Group
Replied on SO: If you view Cloud Functions in the Cloud Console, you can delete them individually from there: https://console.cloud.google.com/functions

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/6abee889-9e2d-40b1-91e5-a743f75dca23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brian Woodward

unread,
May 22, 2017, 4:22:36 PM5/22/17
to fireba...@googlegroups.com
Thanks. That works for my use case.

- Brian

Matthew Huebert

unread,
Apr 6, 2018, 2:24:30 PM4/6/18
to Firebase Google Group
I think it would be useful to have a way to pause or delete firebase functions from the cli. Eg/ I have a staging database, which I periodically populate from a production database. I want to stop all of my firebase-triggered functions before overwriting the database, and then re-start/re-deploy them after the data has been written. Otherwise, I imagine thousands of invocations could be triggered by the new data being written. Currently I am manually opening a web browser and going into Cloud Console and deleting the functions.

Ross Lavery

unread,
May 17, 2018, 6:29:40 PM5/17/18
to Firebase Google Group
This is our exact use case as well. Periodic automated sync between our prod / staging db results in functions being triggered a gajillion times on our dev envrionment.
Reply all
Reply to author
Forward
0 new messages