Let’s see how to configure proxy for az Git and Terraform behind an authenticated proxy for Windows machines
az git terraform working behind a proxy
For AZ commands to work behind a proxy –
$env:HTTPS_PROXY='195.229.203.100:10392'
For Git commands to work behind a proxy –
git config --global http.proxy http://195.229.203.100:10392
For Terraform init commands to work behind a proxy set these system variables –
HTTP_PROXY=http://195.229.203.100:10392 HTTPS_PROXY=http://195.229.203.100:10392
start run sysdm.cpl advanced environment variables –
Git Initial Config –
Configure git