Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rvoitenko opened this issue Apr 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@rvoitenko
Copy link

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 rvoitenko added the bug Something isn't working label Apr 5, 2023
@Piccirello
Copy link
Contributor

Piccirello commented Apr 5, 2023

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

@rvoitenko
Copy link
Author

Hello,
Any ETA for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants