2

Terraform: Tried to fetch your module .zip file but failed. No route to host. 🤷‍♂️

Curl: Got it, what you want me to do with it now boss?

What the literal fuck Terraform? Chrome and Curl have no problem seeing it.

Comments
  • 1
    CURL always saves lives.
  • 1
    Found out Hashicorp points to an upstream issue in Golang, that's been open since 2015. Golang won't resolve DNS entries behind VPN servers without blah blah fuckity fuck re-compile the whole universe... Took me less time to hack a workaround than it did to read the issue comments.
  • 1
    Yeah, Terraform has its quirks.
    It's great when it works, but can be a bit difficult to get it there.
    By the way you can also download the module and point Terraform to the extracted zip (I'm not sure if that works for providers, too).
  • 1
    @sbiewald I'm contemplating using something like Uber's Astro tool (https://github.com/uber/astro) but I'm not sure if it works any better as it's written in Go itself. At the moment, the simple hack is to have the entire infra team adjust our VPN software so all of our local DNS queries go out across the VPN. We may end up with custom tooling, but I think we're happy with the quick fix , and you know that means we'll probably never go back and change it.
Add Comment