-
Notifications
You must be signed in to change notification settings - Fork 815
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 for GitHub Action #556
Comments
I'd be glad to give a hand and commit to delivering the github action. I reckon it can be defined even simpler compared to the terraform-setup action. |
Sounds good to me! Discussion on Slack might also be relevant. Assigning this to you @kislerdm. I've created a repo here: https://github.com/opentofu/setup-opentofu Quick additional note, this is not an alpha release blocker. |
Thank you for picking up on this, @kislerdm and @cube2222. For clarity, I've fleshed out the description with a little more detail, including a serviceable GitHub Action workaround as suggested by @zimeg (from Slack), for those who are interested in trying out the bleeding edge of OpenTofu in its current form. |
@cube2222 Hey Kuba! Thanks for assigning the issue.
Either option will have its pro and cons. The main pro to develop from scratch: simplification of the code, and bug fixes - some bugs are pending execution for months. The main con: effort investment and delivery time. Given the above, I'd propose to initially release setup-opentofu action as a reworked fork of setup-terraform to enable users to swap terraform with tofu in their CI pipelines seamlessly. Afterwards, setup-opentofu can we reworked to incorporate long-pending requests for setup-terraform. WDYT? |
Sounds good to me @kislerdm! |
Hey folks! I'd like to share a progress update.
Unfortunately, I had to switch context from this issue for a couple of days. I'll focus back on it in the second half of this week. Thanks! |
Hey @kislerdm need any help to push this one forward? |
@eranelbaz Hey Elbaz! Could you please review the PR? Thanks! |
OpenTofu Version
Use Cases
As a platforms IaC guy, I'm heavily reliant on the hashicorp/setup-terraform GitHub Action in order to provision TF via automation. Here's an example in situ.
Am I right to assume that an OpenTofu equivalent of that GitHub Action will be available from initial release? Just to make it super-accessible as a drop-in replacement at scale.
If so, more than happy to help validate preview releases across a extensive AWS IaC projects I work on.
Attempted Solutions
Thanks to @zimeg (from Slack), a serviceable workaround exists by downloading, installing and initializing the OpenTofu CLI in 3 steps (as per BUILDING.md instructions).
Proposal
As of writing this, I can see that a proposed opentofu/setup-opentofu already work-in-progress. I'll keep an eye on releases for the repo and support any testing endeavour.
There is also a relevant discussion in #411 started by @John-Donalson.
References
While this is in direct reference to the hashicorp/setup-terraform GitHub Action, I'm hesitant to directly link to it as it's not an OpenTofu project (even though it is currently MPL-2.0 licensed).
The text was updated successfully, but these errors were encountered: