It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
sshipway
2 years 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
2 months 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.