For Windows environment , set the proxy property like below in dos prompt or permanently in windows environment variable.
set HTTP_PROXY=http://22.214.171.124:8080 set HTTP_USER=abcd1234 set HTTP_PASSWORD=abcsd12312 set HTTPS_PROXY=https://126.96.36.199:8080 set HTTPS_USER=abcd1234 set HTTPS_PASSWORD=abcsd12312
Then run terraform script, it should work.
For Linux/Mac environment , set the proxy property like below in dos prompt or permanently in Linux/Mac environment variable.
export HTTPS_PROXY="https://my-proxy" export NO_PROXY="grafana.local,10.10.10.1,etc.com"
If you’re running the installer script in an automated manner, you can pass a http-proxy flag to set the address of the proxy. For example:
How to exclude Proxy such as Proxy Exclusions (NO_PROXY)
If certain hostnames should not use the proxy and the instance should connect directly to them (for instance, for S3), then you can pass an additional option to provide a list of domains: