profile
viewpoint

Ask questions'terraform init' failed with 'Registry service unreachable.' error

my terraform init command always failed with below error. Please kindly help.

======================================== gapan@cn-gapan-415:~/testterraform$ terraform init

Initializing the backend...

Initializing provider plugins...

  • Checking for available provider plugins...

Registry service unreachable.

This may indicate a network issue, or an issue with the requested Terraform Registry.

Error: registry service is unreachable, check https://status.hashicorp.com/ for status updates

Version: Terraform v0.12.0

I am sure my network works fine.

I also checked https://status.hashicorp.com/ All Systems Operational

Terraform is running in Ubuntu hosting on Windows.

hashicorp/terraform

Answer questions VaanPan

I also tried 'sudo terraform init' and manually created .terraform folder. Still the same error.

useful!
source:https://uonfu.com/
Github User Rank List