shihanng / terraform-provider-installer

A Terraform provider to setup development environment machine.
https://registry.terraform.io/providers/shihanng/installer/latest/docs
MIT License
11 stars 3 forks source link

Handle multiple instances of same resource that use #43

Open shihanng opened 1 year ago

shihanng commented 1 year ago

Handle multiple instances of the same package manager resource.

We can't execute multiple apt-get install or brew install concurrently. We will get the following errors

E: Could not get lock /var/lib/dpkg/lock

Error: Another active Homebrew process is already in progress.


Possible solution: See https://discuss.hashicorp.com/t/for-each-support-sequential-operation/34680/2