-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy for binaries hosted in github #24
Comments
@eossf
Are you behind a proxy? Can you access Github from the Nexus server? Are you able to provide nexus logs? |
hello I have check log, and it seems to be an URL blocked proxy , should not happen but |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I installed in my Nexus3 your plugin, I proxied the official registry https://registry.terraform.io/
It works fine for all providers where source = "hashicorp/*"
For other providers, for instance source = "illumio/illumio-core", it does not work.
my .terraformrc:
provider_installation {
network_mirror {
url = "https://registry.mysite.com/repository/terraform-proxy/v1/providers/"
}
}
terraform init gives:
│ Error while installing illumio/illumio-core v1.1.2: unsuccessful request to
│ https://registry.mysite.com/repository/terraform-proxy/v1/providers/registry.terraform.io/illumio/illumio-core/terraform-provider-illumio-core_1.1.2_linux_amd64.zip: 404 Not Found
The binaries are in fact located in github here https://github.com/illumio/terraform-provider-illumio-core/releases
This is the basic behaviour of terraform, binaries could be elsewhere than terraform.io.
Note: the binaries for "hashicorp/*" are not located in github, example: https://github.com/hashicorp/terraform-provider-azurerm/releases/tag/v3.59.0
How to deal with this situation ? Thanks
The text was updated successfully, but these errors were encountered: