Related issues
The comment explains how it should work.
#425 (comment)
[REQUIRED] Version info
node: 10.18.1
firebase-functions: 3.11.0
firebase-tools: 8.12.0
8.12.0
firebase-admin: 8.6.0
[REQUIRED] Test case
firebase deploy --only functions:THEFUNCTION errors with:
Error: Pass the --force option to deploy functions with a failure policy
[REQUIRED] Steps to reproduce
Add failurePolicy: { retry: {} } to an existing function which does not have a failure policy set.
[REQUIRED] Expected behavior
Running firebase deploy --only functions:THEFUNCTION would deploy the function successfully without the use of --force.
[REQUIRED] Actual behavior
Error: Pass the --force option to deploy functions with a failure policy
Were you able to successfully deploy your functions?
Only with --force which is not ideal to have in a CICD pipeline.