Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
sshipway
11 months agoOccasional Contributor
Getting a 409 error calling op-connect from Terraform
We're using Terraform to read and provision 1password secrets, via op-connect.
op-connect container version: 1.6.1
terraform 1password module version: 1.2.0
We use Terraform to provision var...
sshipway
7 days agoOccasional Contributor
Update - this is caused by 2 API update requests being done in parallel on the same vault. If terraform completes one before starting the next then it works. Adding :
--parallelism=1
lets things work, but it really impacts performance if you have a lot of other resources. We need some way to say that 1password resources must be applied single-threaded but its fine for other resource types to be applied in parallel.
There is the same problem in ansible, and you need to use these to prevent multiple concurrent updates of 1password:
serial: 1 # this stops multiple hosts being updated at once
forks: 1 # this stops multiple concurrent updates on the same host, may not be necessary
to ensure you dont get 2 happening at once.
Why is this? It seems to be a failing of the API.