You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I am experiencing problems with sops_decrypt_file function, while using hc_vault backend.
Here is an error that I recieve:
➜ microservices-env terragrunt plan
Error: Error in function call
on /infra-live/develop/terragrunt.hcl line 3, in locals:
3: secret_vars = yamldecode(sops_decrypt_file("${find_in_parent_folders("secret_vars.yaml")}"))
Call to function "sops_decrypt_file" failed: No keys found in file.
ERRO[0000] Encountered error while evaluating locals.
ERRO[0000] /infra-live/develop/terragrunt.hcl:3,31-49: Error in function call; Call to function "sops_decrypt_file" failed: No keys found in file.
ERRO[0000] Unable to determine underlying exit code, so Terragrunt will exit with error code 1
Here is my configuration:
.sops.yaml:
creation_rules:
# Encrypt using Vault
- path_regex: .*develop.*
hc_vault_transit_uri: "https://vault.example.com/v1/kms-develop/keys/terragrunt"
So the main question is - does sops_decrypt_file support hc_vault backend?
It definitely works with gcp_kms backend, but we need it working with hc_vault.
Sops version used is 3.6.1, terragrunt version v0.28.7
The text was updated successfully, but these errors were encountered:
Hello!
I am experiencing problems with sops_decrypt_file function, while using hc_vault backend.
Here is an error that I recieve:
Here is my configuration:
.sops.yaml:
terragrunt.hcl:
Here is what I got in encrypted file:
So the main question is - does sops_decrypt_file support hc_vault backend?
It definitely works with gcp_kms backend, but we need it working with hc_vault.
Sops version used is 3.6.1, terragrunt version v0.28.7
The text was updated successfully, but these errors were encountered: