title: Cannot upload firestore cloud function with wildcard and onDelete trigger?
body: <p>I have a function with trigger like so:</p>
  <pre><code>exports.eventDeleteListener = functions.firestore.document('events/{eid}').onDelete((doc, context) =&gt; {
  </code></pre>
  <p>And when I try to upload to Google cloud functions I am met with the following error:</p>
  <p><em>Failed to configure trigger PubSub projects/myprojectstringthingy</em></p>
  <p>I have similar functions with this same document path, but with an <code>onUpdate</code> trigger like so:</p>
  <pre><code>exports.isDeletingFlagListener = functions.firestore.document('events/{eid}').onUpdate((change, context) =&gt; {
  </code></pre>
  <p>And these all deploy and work perfectly fine. This function has deployed previously. However, after updating node and firebase tools this function will no longer deploy. I believe it has something to do with rules, as per documentation <a href="https://firebase.google.com/docs/firestore/security/get-started" rel="nofollow noreferrer">here</a>, however I do not understand why the other function triggers deploy.</p>
  <p>If needed, I can paste the entire function in question.</p>
  <p>UPDATE:
  I tried deleting all cloud functions and re deploying. I am getting the same error message for four of the functions now, however they are appearing on firestore console as deployed?</p>