az Git Terraform configs to work behind Proxy

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 

git</span> <span class="cm-identifier">config</span> <span class="cm-operator">--</span><span class="cm-identifier">global</span> <span class="cm-identifier">user</span><span class="cm-punctuation">.</span><span class="cm-identifier">name</span> <span class="cm-string">"Satheshwaran Manoharan"

 

git</span> <span class="cm-identifier">config</span> <span class="cm-operator">--</span><span class="cm-identifier">global</span> <span class="cm-identifier">user</span><span class="cm-punctuation">.</span><span class="cm-identifier">email</span> <span class="cm-identifier">info@azure365pro.com

 

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Azure365pro.com. Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Service Principal Permissions for Terraform in Azure DevOps

The service Principal requires more permission on few cases in Azure. But it doesn’t apply …

Leave a Reply

Your email address will not be published.