devcontainers / features

A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own
https://containers.dev/features
MIT License
862 stars 344 forks source link

Feature Request: add support for OpenTofu #695

Open maazghani opened 11 months ago

maazghani commented 11 months ago

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?

samruddhikhandale commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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

framctr commented 7 months ago

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.

maazghani commented 6 months ago

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

kvendingoldo commented 5 months ago

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.