cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open rvoitenko opened this issue 3 years ago • 2 comments

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):

  • OS: [macOS]
  • Version [13.3]

CLI Version: Version v3.56.2

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

rvoitenko avatar Apr 05 '23 15:04 rvoitenko

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

Piccirello avatar Apr 05 '23 19:04 Piccirello

Hello, Any ETA for this?

rvoitenko avatar Jul 13 '23 09:07 rvoitenko