-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
We are using self-hosted runners and trying to execute the action behind the corporate proxy
It fails with
Run hashicorp/setup-terraform@v1
##[error]Failed to fetch version metadata. FetchError: request to https://releases.hashicorp.com/terraform/index.json failed, reason: connect ETIMEDOUT 151.101.193.183:443
##[error](s || "").replace is not a function
I tried to declare standard http_proxy variables with
env:
http_proxy: http://<proxy_adress>:<port>
https_proxy: http://<proxy_adress>:<port>
It didn't help apparently due to the node's fetch
specifics which is used at
setup-terraform/lib/setup-terraform.js
Line 43 in 168ae73
return fetch('https://releases.hashicorp.com/terraform/index.json') |
Related upstream issue node-fetch/node-fetch#79
donovanmuller, kbristow, rryke, bplunkert, funzie19 and 17 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working