opentofu
opentofu copied to clipboard
Support Dependabot for update automation
OpenTofu Version
OpenTofu v1.6.1
Use Cases
For keeping up-to-date with the regular flow of dependency updates across all providers.
Attempted Solutions
Using terraform
in dependabot.yml which, let's be frank, is "eugh" in 2024.
It's also interesting to note the supported version range is only >= 0.13, <= 1.5.x
; I wonder why that may be...
Proposal
Use opentofu
within dependabot.yml instead as a 1-to-1 replacement!
Following today's public dev-sync, here's a link to the current handling of dependabot-terraform (with a dash of Ruby).
References
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates#supported-repositories-and-ecosystems
Hi @rdhar thank you for this issue. We had a look with the core team and we tentatively decided to accept this issue based on Dependabot accepting us as a provider. We've assigned @Yantrio to track this down.
Also interested in this.
Just wanted to update people here, We've been really busy lately but this is high up on my TODO list and it will be tackled soon!
Just wanted to update people here, We've been really busy lately but this is high up on my TODO list and it will be tackled soon!
Thanks so much! For us, this is the biggest pain point in the transition from Terraform to OpenTofu. Honestly, the only pain point since the rest was so easy!
Could I request an update on this request please?
With the advent on OpenTofu v1.8, specifically its early-evaluation of variables, Dependabot's terraform
package-ecosystem is categorically broken since it's no longer "valid" Terraform, as shown here.
Dependabot encountered '2' error(s) during execution, please check the logs for more details.
+----------------------------------------------------------------------+
| Dependencies failed to update |
+-------------------------------------+--------------------------------+
| hashicorp/aws | dependency_file_not_resolvable |
| terraform-aws-modules/s3-bucket/aws | unknown_error |
+-------------------------------------+--------------------------------+
Taken from Dependabot's workflow log.