Hacker News new | ask | show | jobs
by jfroma 3198 days ago
I'd really love to be able to build modules in some other language like python, ruby or even javascript just because I am not very fluent yet in Go and its tooling.
2 comments

If you want to build custom Terraform providers _without_ using Go, this is actually on the cards now: as of `hashicorp/go-plugin#fa4a2a351`, plugins can use gRPC to communicate with the core of Terraform. I don't know if anyone has implemented the primitives for building providers in another language, but it's now possible without too much pain.

[1]: https://github.com/hashicorp/go-plugin/commit/fa4a2a351f33b1...

The modules are written in HashiCorp configuration language.
You are right, I should have say "providers" with new "resources" and yes, this new registry is for modules, not providers.
You can use json as well, but it is pretty unfriendly for the human users and you lose some of the interpolation.
However, very useful if you're code generating Terraform config because there are not a lot of HCL serializer/deserializer libs in existence.