features icon indicating copy to clipboard operation
features copied to clipboard

Feature Request: add support for OpenTofu

Open maazghani opened this issue 2 years ago • 6 comments

I am proposing adding an OpenTofu feature to support the open-source community's adoption of OpenTofu as the future of Terraform. OpenTofu emerged as a compelling alternative in light of Terraform's recent licensing changes. See manifesto

Why?

  • It operates under open-source governance, making it a reliable choice.
  • It has strong backing from various industry leaders.
  • It's designed to be backward-compatible with existing Terraform projects.
  • It has been officially accepted into the Linux Foundation.

maazghani avatar Sep 20 '23 12:09 maazghani

Hi 👋

We appreciate your thoughts and request for a new Feature, however, the devcontainers/features repo only accepts improvements and bug fixes for the current set of maintained Features. Hence, we don't have any plans for adding support for new Features.

However, we always motivate and appreciate community contributions which has resulted in a wide list of community authored Features. See https://containers.dev/features.

Hence, we would appreciate if you could add this Feature to a separate repository of your control. The devcontainers/feature-starter repo has more guidance on self authoring them. Once you've self authored and if you'd like to share it with the community, we'd recommend adding it to the index. It will make them visible in our supporting tools (like https://containers.dev/templates, Dev Containers Extension, GitHub Codespaces etc).

Feel free to ask any questions/queries along the way, feedbacks are welcome too!

samruddhikhandale avatar Sep 20 '23 16:09 samruddhikhandale

We generally don't add support for new Features, however, after reading https://github.com/orgs/devcontainers/discussions/72 and https://github.com/devcontainers/features/issues/680, I think we should reopen this issue.

I am still discussing with the devcontainers team on what approach should be taken for the Terraform Feature, would appreciate your patience. Thank you!

samruddhikhandale avatar Sep 20 '23 16:09 samruddhikhandale

Update: Let's keep this issue open and reiterate on our decision for adding openTofu support based on community interest/feedbacks. Thank you!

samruddhikhandale avatar Sep 20 '23 18:09 samruddhikhandale

I would prefer having the possibility to use terraform and gradually chaning to opentofu. I want to test my code with opentofu before moving the devcontainer to use only it.

framctr avatar Jan 10 '24 15:01 framctr

Just noting that opentofu has gone GA https://opentofu.org/blog/opentofu-is-going-ga/

maazghani avatar Feb 21 '24 16:02 maazghani

At this moment if you need to have a support of Terraform as well as OpenTofu (and Terragrunt :) ) in one tool you can use https://github.com/tofuutils/tenv which my team wrote some months ago. A lot of users switched to that tool to unify version management in the world of Terraform.

You're welcome to open any issues or contribute to tenv.

kvendingoldo avatar Apr 02 '24 22:04 kvendingoldo