We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I have a unique use case here if I can get your advice on what is the best approach.
Based on your example on README.md, I would like to extract the db and get the value as a json.
db
value = {"password": "bar"}
It works with your jsondecode(data.sops_file.demo-secret.raw).db
jsondecode(data.sops_file.demo-secret.raw).db
How can i pass the .db as an variable?
.db
What i want to achieve is something like this: jsondecode(data.sops_file.demo-secret.raw)[var.key] where var.key is '.db'
jsondecode(data.sops_file.demo-secret.raw)[var.key]
The idea is that the key we want to extract can be a variable without hardcoding the .db
Hope you can help me with this use case.
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have a unique use case here if I can get your advice on what is the best approach.
Based on your example on README.md, I would like to extract the
db
and get the value as a json.value = {"password": "bar"}
It works with your
jsondecode(data.sops_file.demo-secret.raw).db
How can i pass the
.db
as an variable?What i want to achieve is something like this:
jsondecode(data.sops_file.demo-secret.raw)[var.key]
where var.key is '.db'The idea is that the key we want to extract can be a variable without hardcoding the
.db
Hope you can help me with this use case.
Thanks
The text was updated successfully, but these errors were encountered: