I asked over at stack overflow and I am not getting any eyes.
I am trying to get terraform init to run on an ubuntu host behind a proxy. I have exported the two variables http_proxy and https_proxy. Testing with curl and wget works fine, so I know I can get to the internet.
Any idea why terraform does not seem to be using the proxy?
This is the error I am getting
Error installing provider "aws": Get https://releases.hashicorp.com/terraform-provider-aws/: Forbidden.