-
Notifications
You must be signed in to change notification settings - Fork 63
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
Obscure error when using KMS alias with AWS #37
Comments
Hi @jecnua, |
Same issue with latest release |
Thanks @victorboissiere . Sorry I must have missed the message commenting this issue and I didn't reply :( |
I manage AWS credentials with ~/.aws/config file as a specific profile in my local environment. terraform-provider-sops fails in CI but works locally.
|
I also have the same issue when using
If I have a secrets file that was created using a KMS key that allows a role to Encrypt/Decrypt then this the sops terraform provider fails in the same way. |
@sfozz have you configured a |
Hi all,
I tried to use a SOPs file with a KMS alias with your provider but I received the following obscuring error.
Error: Error getting data key: 0 successful groups required, got 0
I tried the same sops file with the original key and with the alias.
The cli works correctly in both cases but terraform provider fails when the alias is declared.
How to reproduce?
and a sops file with key/alias declared.
Versions
On MacOS Catalina 10.15.3
The text was updated successfully, but these errors were encountered: