News for hackers. Stuff that matters.
Re:HashiCorp silently amend Terraform Registry TOS by milliams on Thursday August 31, 2023 @06:44AM (#37335115)
Even though this will likely prevent OpenTF from connecting to registry.terraform.io to get plugins, the source code for most (all?) plugins is still open source and actually stored on GitHub (e.g. https://github.com/terraform-provider-openstack/terraform-pr...).

More work for OpenTF to get up and running, but also feels reasonable that HashiCorp wouldn't allow connecting to their service.

Re:HashiCorp silently amend Terraform Registry TOS by tyingq on Thursday August 31, 2023 @07:05AM (#37335331)
>still open source and actually stored on GitHub

I think that's true, but it's probably hard to recreate large parts of the index. I don't think there's any mandatory manifest or something like that where you can reliably identify a repo as something that appears in their registry. Probably some missing metadata too.

Re:HashiCorp silently amend Terraform Registry TOS by ashald on Thursday August 31, 2023 @09:03AM (#37336519)
It's... effort consuming, but is doable and more like a 1-time effort.

A while ago I built an alternative plugin manager for Terraform (https://github.com/paraterraform/para) and explored the idea of distributed indices (where you just host a file in the repo as seen in https://github.com/ashald/terraform-provider-stateful/blob/m...).

So at the end of the day, it's either about the effort to inventory the current registry and find sources that are available, or do this on an ongoing as-needed basis (eg something like para would allow an index to be hosted in a github repo managed with PRs).

Re:HashiCorp silently amend Terraform Registry TOS by fishnchips on Thursday August 31, 2023 @12:25PM (#37339759)
The publishing process for the public registry is very prescriptive, and there is indeed a manifest file involved - https://developer.hashicorp.com/terraform/registry/providers...
Re:HashiCorp silently amend Terraform Registry TOS by tyingq on Thursday August 31, 2023 @05:58PM (#37344205)
That helps, but it reads like the manifest is optional.
Re:HashiCorp silently amend Terraform Registry TOS by fishnchips on Thursday August 31, 2023 @06:03PM (#37344250)
Correct, the manifest is optional.