I'm trying to use Terraform from inside a corporate network. The host where I'm running Terraform doesn't have access to the internet, so Terraform fails trying to hit the default registry at https://releases.hashicorp.com/.
The corporation allows the use of Artifactory as a read-through proxy to the Terraform registry, meaning that if I wanted to retrieve e.g.
https://releases.hashicorp.com/terraform-provider-azure/0.1.1/terraform-provider-azure_0.1.1_linux_amd64.zip
I could successfully get it from e.g.
https://my-artifactory.net/releases.hashicorp.com/terraform-provider-azure/0.1.1/terraform-provider-azure_0.1.1_linux_amd64.zip
Is there a way to tell Terraform to use a different base URI for the default registry, so that I can make this work?