DopplerHQ / cli

The official CLI for interacting with your Doppler secrets and configuration.
https://docs.doppler.com
Apache License 2.0
214 stars 43 forks source link

[BUG] Doppler cli can't find secret when both --only-secrets and --name-transformer flags are defined #380

Open rvoitenko opened 1 year ago

rvoitenko commented 1 year ago

Describe the bug When I use both --only-secrets and --name-transformer flags with doppler run, it's not working and reporting that secret not exist:

❯ doppler run  --only-secrets SOME_SECRET --name-transformer tf-var -- env
Doppler Error: the following secrets you are trying to include do not exist in your config:
- SOME_SECRET

To Reproduce Run doppler run with both flags --only-secrets and --name-transformer to see the issue.

Expected behavior I expect to get single secret transformed into terraform variable format.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

CLI Version: Version v3.56.2

Additional context Doppler run works for this secret as soon I remove --name-transformer flag

Piccirello commented 1 year ago

Thanks for reporting this issue. I've confirmed this behavior is a bug and will triage this internally (ENG-6093).

rvoitenko commented 12 months ago

Hello, Any ETA for this?