1Password / terraform-provider-onepassword

Use the 1Password Terraform Provider to reference, create, or update items in your 1Password Vaults.
https://1password.com/secrets
MIT License
311 stars 41 forks source link

biometric unlock many times #140

Open sdahlbac opened 5 months ago

sdahlbac commented 5 months ago

Your environment

Terraform Provider Version:

tofu -v OpenTofu v1.6.0 on darwin_arm64

Connect Server Version: N/A

CLI Version: op -v
2.24.0

OS: osx/arm

Terraform Version: OpenTofu v1.6.0

What happened?

Everything works, but instead of biometric unlock just once, I need to do it 5 times

What did you expect to happen?

a single biometric unlock should suffice

Steps to reproduce

  1. tofu plan

Notes & Logs

simonweil commented 5 months ago

I'm seeing this too and it is very annoying... I can't run the plan and go make a coffee :(

volodymyrZotov commented 5 months ago

Hi @sdahlbac . Thank you for raising this! Agree, that's annoying...😬 This happens as terraform processes each resource in parallel and each of the parallel processes would need to be authenticated by the CLI. This is a known issue and it will be fixed on the OP CLI side. Stay tuned for future CLI releases.

Meanwhile you can mitigate the issue by running the apply command sequentially

terraform apply -parallelism=1