-
Notifications
You must be signed in to change notification settings - Fork 3
Understanding the relationship between OpenTF and registry.terraform.io #24
Comments
I would assume given the expressed desire to remain compatible with Terraform Cloud, this will also imply the Terraform registry as well. It seems like there is a well documented protocol for it actually so that should hopefully make it easier: https://developer.hashicorp.com/terraform/registry/api-docs |
Hey @skyzyx, excellent questions!
There's no final decision on this yet, so "possibly". It will remain compatible with the existing public registry.
Yes
We aim to add features on top of the Terraform feature-set, but those will be opt in. Generally, we aim to be 100% backwards compatible with Terraform. We've not been spending too much time on the details of handling a possible point in the future where the community might decide it's time to diverge, as that's very far off. It will definitely be extensively discussed prior to happening. |
The Terraform Registry Terms of Service have been updated changing: (As identified by @osterman) Before: http://web.archive.org/web/20221220134052/https://registry.terraform.io/terms
Now: https://registry.terraform.io/terms
-- |
Hey @javierruizjimenez! Thanks for adding it to this issue. We're aware and working on the best solution for this. Our aim is for OpenTF to stay a drop-in replacement so that you don't have to do any changes to your tf code. |
FWIW, a while ago I created an MIT-licensed OSS project The idea behind I'd imagine that unless there is way to make things working with TFR [without violating licenses], I haven't used Terraform for a while so IDK if HashiCorp broke the interface used by P.S.: I used FUSE in P.P.S.: Pun intended in a form of "para-terraform," as in:
|
Hey @ashald! Thanks for weighing in! We too have a bunch of registry implementations (afaik all three of Spacelift, Env0, and Scalr have their offerings for this) so that's not too much of an issue. Generally, the hosting or building of a protocol-compatible registry isn't the hard part here, it's remaining a drop-in replacement so all providers and modules are available. An interesting bit is that all providers and modules other than Hashicorp's are hosted on GitHub and the registry is just a "redirector". We're doing something similar, other than some special handling for Hashicorp's providers, so that all those providers and modules are still available. |
Guys... @javierruizjimenez and everyone else, I just wanted to point out, that both new and previous versions of ToS contains this:
Now... who honestly can tell that you used all of that stuff from registry.terraform.io only for personal use, and not for your work? :D
@cube2222: The time to diverge may be a lot faster with those changes HashiCorp makes now... |
Link to hightlighted terms 01.09.2023 A extreme interpretation would allow for HC to not link to the source in their registry's copy as they choose to, which could make it harder to discover the source that is still licensed according to the author's choosing, e.g. with an OSS license. |
Hey everyone thanks a lot for weighing in here! ❤️ You're all very welcome to resume this discussion in opentofu/opentofu#258 |
The FAQ says (emphasis mine):
A few questions that I have not seen answered yet:
Will there be a version of https://registry.terraform.io for OpenTF?
In cases where there are compat/interop behavioral bugs, is the intent to change OpenTF behavior to more closely match Terraform behavior?
If compat/interop with Terraform changes intentionally in the future, are there any ideas about how to handle the divergence? (Hoping to generally avoid what AWS did with OpenSearch.)
The text was updated successfully, but these errors were encountered: