jasonwbarnett / terraform-registry-proxy

MIT License
66 stars 4 forks source link

Example Nginx configuration #1

Open jamengual opened 2 years ago

jamengual commented 2 years ago

do you have an example nginx config you can share to use this?

will this work for submodule dependencies? like when a root module is defined like :

module "consul" {
  source = "hashicorp/consul/aws"
}

will it server the traffic as inpersonating registry.terraform.io or you need to change the source?

jasonwbarnett commented 2 years ago

@jamengual When I originally wrote this I was narrowly thinking about providers, not modules. Let me take a look at this and get back to you in a few weeks.

jamengual commented 2 years ago

no problem, thanks

On Thu, Jun 16, 2022 at 6:01 PM Jason Barnett @.***> wrote:

@jamengual https://github.com/jamengual When I originally wrote this I was narrowly thinking about providers, not modules. Let me take a look at this and get back to you in a few weeks.

— Reply to this email directly, view it on GitHub https://github.com/jasonwbarnett/terraform-registry-proxy/issues/1#issuecomment-1158358831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ3ERHY5GLSKE3KHKGJ6MLVPPE7JANCNFSM5WQSXO2A . You are receiving this because you were mentioned.Message ID: @.***>