From
After terraform init
, when trying to plan or deploy resources, terraform just hangs. On some Windows 10 machine it works fine, on other not.Terraform version v0.14.4
Debug logs returns following error: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/
After some googling, found out that adding following environmental variable fixes the issue:GODEBUG=asyncpreemptoff=1
On windows, it can be added as User or system variable

On linux/MAC:
1 | export GODEBUG=asyncpreemptoff=1 |