Skip to content

(Functions)The redeploy option is undefined, but an error message is displayed asking to use the redeploy option. #7466

Description

@ytetsuro

I use secrets with firebase functions.
I get the following error when I try to overwrite the secrets I am using.
However, the redeploy option does not exist.
It is also not possible to bypass redeploy as there is no option not to perform redeploy.

Error: Missing required options (redeploy) while running in non-interactive mode:
- redeploy Do you want to re-deploy the functions and destroy the stale version of secret FOO?

[REQUIRED] Environment info

firebase-tools:

13.13.3

Platform:

Mac OS 14.4

[REQUIRED] Test case

$ firebase functions:secrets:set --data-file secrets.local --redeploy FOO

[REQUIRED] Steps to reproduce

$ firebase functions:secrets:set --data-file secrets.local --redeploy FOO

[REQUIRED] Expected behavior

If secrets exist, they are redeployed.

[REQUIRED] Actual behavior

Show following error.

error: unknown option '--redeploy'

Pull Request

#7465

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions