anasinnyk / terraform-provider-onepassword

Terraform provider for 1Password
GNU Lesser General Public License v3.0
128 stars 38 forks source link

Output the actual error, not just the exit code, from the one password login command #32

Closed jjshoe closed 4 years ago

jjshoe commented 4 years ago

Can confirm this does actually work as expected, when manually logging in we get back a pitiful error from one password:

[changed@changed-desktop] /tmp/terraform-provider-onepassword/0.5.5$ ./op signin changed
Enter the password for changed@changed.org at changed.1password.com: 
[LOG] 2020/05/01 12:00:44 (ERROR) 445: 
[changed@changed-desktop] /tmp/terraform-provider-onepassword/0.5.5$ 
jjshoe commented 4 years ago

Closing in favor of a bigger PR