For Windows environment , set the proxy property like below in dos prompt or permanently in windows environment variable.
set HTTP_PROXY=http://1.2.3.4:8080
set HTTP_USER=abcd1234
set HTTP_PASSWORD=abcsd12312
set HTTPS_PROXY=https://1.2.3.4:8080
set HTTPS_USER=abcd1234
set HTTPS_PASSWORD=abcsd12312Code language: JavaScript (javascript)
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"Code language: JavaScript (javascript)
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:
./install.sh http-proxy=http://internal.mycompany.com:8080Code language: JavaScript (javascript)
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:
./install.sh additional-no-proxy=s3.amazonaws.com,internal-vcs.mycompany.com,example.com
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals