Provide an opentofu based variant of the gitlab-terraform image
Release notes
If you are switching from Terraform to OpenTofu, this release of GitLab adds preliminary support to OpenTofu. As OpenTofu is a fork of Terraform, the MR widget integration, module registry and the GitLab managed Terraform state were already working. We added support to OpenTofu in the gitlab-terraform
helper image simplify the usage of the GitLab IaC offering.
We don't have plans to remove Terraform support for the MR widget, module registry and the GitLab managed Terraform state. At the same time, due to licensing reasons, we are not allowed to ship the gitlab-terraform
helper image with the BuSL licensed Terraform versions.
https://docs.gitlab.com/ee/user/infrastructure/iac/
Description
As of the recent licensing changes detailed in the HashiCorp blog post, HashiCorp has adopted the Business Source License (BSL) for its Terraform project. This new licensing model has implications for the use and distribution of Terraform-related content, it may also impact the images provided by the gitlab-org/terraform-images project.
The purpose of this issue is to discuss and implement the necessary adjustments in the gitlab-org/terraform-images project in order to comply with the new licensing terms introduced by HashiCorp.
Proposal
Build terraform-images
with terraform
and opentf
. We want to have separate images for the two tools.
OpenTofu releases: https://github.com/opentofu/opentofu/releases
- Start releasing an OpenTofu image
- Keep the possibility of releasing a HashiCorp terraform image depending on legal advice