anasinnyk / terraform-provider-onepassword

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

I get an error when running terraform plan. #52

Closed IlyaNakhaichuk closed 3 years ago

IlyaNakhaichuk commented 3 years ago

After installing the provider and running the execution, I get the following error, can you tell me how can I solve it? Tried my OP_version version below, the error was similar. export OP_version = 0.7.1

Error: Cannot signin: 
Exit code: fork/exec /tmp/terraform-provider-onepassword/0.7.1/op: no such file or directory

Default

Error: Cannot signin: 
Exit code: fork/exec /tmp/terraform-provider-onepassword/1.4.0/op: no such file or directory
anasinnyk commented 3 years ago

this code must download correct version for you to /tmp directory.

IlyaNakhaichuk commented 3 years ago

@anasinnyk By default, the provider could not do this. I solved this problem by putting it separately. op cli, only after that, the provider started working and the error disappeared.