小编abc*_*est的帖子

How to set up terraform behind proxy?

I am trying to run terraform behind a proxy on Windows. I have already set my proxy on CMD by doing: set HTTP_PROXY and set HTTPS_PROXY.

Here is the error I am getting:

Initializing provider plugins...
- Finding latest version of hashicorp/aws...

Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider hashicorp/aws:
could not connect to registry.terraform.io: Failed to request discovery
document: Get "https://registry.terraform.io/.well-known/terraform.json":
proxyconnect tcp: tls: first record does not look …
Run Code Online (Sandbox Code Playgroud)

proxy terraform

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

proxy ×1

terraform ×1