Very slow reply from terraform command in MacOS Mojave

I have been advised to continue this discussion here. https://github.com/hashicorp/terraform/issues/23458

I tried:

2019/11/25 01:36:56 [INFO] Terraform version: 0.12.16
2019/11/25 01:36:56 [INFO] Go runtime version: go1.12.13
2019/11/25 01:36:56 [INFO] CLI args: []string{"/usr/local/bin/terraform", "--version"}
2019/11/25 01:36:56 [DEBUG] Attempting to open CLI config file: /Users/gliartecano/.terraformrc
2019/11/25 01:36:56 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/11/25 01:36:56 [INFO] CLI command args: []string{"version", "--version"}
Terraform v0.12.16
2019/11/25 01:36:56 [DEBUG] checking for provider in "."
2019/11/25 01:36:56 [DEBUG] checking for provider in "/usr/local/bin"
2019/11/25 01:36:56 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2019/11/25 01:36:56 [DEBUG] found provider "terraform-provider-aws_v2.36.0_x4"
2019/11/25 01:36:56 [DEBUG] found valid plugin: "aws", "2.36.0", "/Users/gliartecano/workspace/git/ebsi-network/ebsi1_orchestration/base/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.36.0_x4"
+ provider.aws v2.36.0
2019/11/25 01:36:59 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/terraform?arch=amd64&os=darwin&signature=fcc0431b-ff6a-ab58-73e3-c9ed18233eb0&version=0.12.16: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

real	0m42.646s
user	0m0.473s
sys	0m0.179s

Any other cli application installed comes back within reasonable time.

Thanks for moving this here.

Did you try to set the ENV variable in lieu of the .terraformrc/terraform.rc (CLI Configuration) file?

Also, are you on Windows? WIndows uses terraform.rc and OS X / Linux / BSD use .terraformrc in the user’s home directory.