Terraform Hangs Solved

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:

1exportGODEBUG=asyncpreemptoff=1
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s