[BUG] Doppler cli can't find secret when both --only-secrets and --name-transformer flags are defined
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
Thanks for reporting this issue. I've confirmed this behavior is a bug and will triage this internally (ENG-6093).
Hello, Any ETA for this?