-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Support Compatibility with OpenTofu + tenv
#140
Comments
Over the last month, OpenTofu has published opentofu/setup-opentofu to lower the barrier to entry for implementing While we deliver first-class support with OpenTofu, we must ensure backwards-compatibility with Hashicorp Terraform. As result, the decision for choosing between must be easily user-configurable. |
btw. you can also integrate tenv that support Terraform as well as OpenTofu (and Terragrunt :) ) in one tool. It allow you to simplify version management. |
Good call, @kvendingoldo! Despite using Also worth mentioning that, as of the latest v10 release, this Action no longer ships with setup-opentofu or setup-terraform, in order to reduce dependencies and enable the user to supply their own configuration directly. As a result, I've opened a PR to add a functional demo using Only remaining issue is PR output comment. More specifically, the aforementioned setup-opentofu/terraform Actions come with their own wrapper script which exposes |
I think that we can easily implement sourcing |
Sure, @kvendingoldo, I've just gone ahead and opened that request -- though I worry it might be "deceptively simple". The setup-opentofu/terraform Actions are... Actions. So it's easier for them to supply a wrapper script with custom outputs which are particularly suited for use in CI automation. I'd be just as happy with workaround suggestions using bash/shell within CI context as well. |
tenv
Is your feature request related to a problem
N/a.
Describe the solution you'd like
With the launch of OpenTofu fork, I'd like to support OpenTofu as a first-class IaC provisioning tool, just like Hashicorp's Terraform.
Describe alternatives you've considered
While we await (pre-)releases to become available, a serviceable workaround has been shared by @zimeg (from Slack) to download, install and initialize OpenTofu CLI in 3 GitHub Actions steps.
Additional context
Issue opentofu/opentofu#556 has been raised in order to deliver a more "drop-in replacement"-able equivalent to hashicorp/setup-terraform.
The text was updated successfully, but these errors were encountered: