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

Config: Multiple Keys, Same Value #13

Open
calebsyring opened this issue Jan 9, 2025 · 0 comments
Open

Config: Multiple Keys, Same Value #13

calebsyring opened this issue Jan 9, 2025 · 0 comments

Comments

@calebsyring
Copy link
Contributor

I wanted to set multiple keys to the same value from 1Pass in my config:

profile:
  linode:
    TF_VAR_linode_api_token: 'op://private/linode api token/password'
    LINODE_CLI_TOKEN: 'op://private/linode api token/password'

This resulted in the LINODE_CLI_TOKEN var not being set at all even when the other var was set. Changing "private" to "Employee" for the LINODE_CLI_TOKEN 1Pass reference (making it a different reference to the same 1Pass item) caused everything to work properly. Some kind of caching problem?

While this seems to be a bug, it's also an opportunity to add a better/more semantic way to specify wanting multiple keys for the same value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant