You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
This may already be supported using --tf-download-url but it would be nice to have this officially documented so people can start using opentf instead of terraform for future releases.
Community Note
Describe the user story
Please support downloading of the opentf terraform fork instead of hashicorp terraform
https://github.com/opentffoundation/opentf
This may already be supported using
--tf-download-url
but it would be nice to have this officially documented so people can start using opentf instead of terraform for future releases.https://www.runatlantis.io/docs/server-configuration.html#tf-download-url
Describe the solution you'd like
See above
Describe the drawbacks of your solution
N/A
Describe alternatives you've considered
N/A
>=
and~>
specifiers #1776atlantis/cmd/server.go
Line 173 in a793620
atlantis/server/server.go
Line 405 in a793620
atlantis/server/core/terraform/terraform_client.go
Lines 239 to 253 in a793620
atlantis/server/core/terraform/terraform_client.go
Line 379 in 3ea2914
atlantis/server/core/terraform/terraform_client.go
Lines 555 to 562 in 3ea2914
atlantis/server/core/terraform/terraform_client.go
Line 538 in 3ea2914
Listing versions
atlantis/server/core/terraform/terraform_client.go
Line 304 in 3ea2914
The terraform url is constructed
https://releases.hashicorp.com
%s/terraform/%s/terraform_%s
, prefix, version, version%s_%s_%s.zip
, prefix, os, archhttps://releases.hashicorp.com/terraform/1.5.7/terraform_1.5.7_darwin_amd64.zip
Opentofu
https://github.com/opentofu/opentofu/releases
%s/download/%s/tofu_%s
, prefix, version, version%s_%s_%s.zip
, prefix, os, archhttps://github.com/opentofu/opentofu/releases/download/v1.6.0-alpha4/tofu_1.6.0-alpha4_darwin_amd64.zip
Seems like the following changes are needed
overriding the url string
overriding the format string with a new flag
simplifying default format string to use
%[2]s
to remove redundant argumenta way to search opentf versions to know which version to download
opentofu-enabled flag
change the name of the binary downloaded
allow a required_version block at or below a certain version such as 1.5.x which would download terraform binaries instead of opentofu if needed
The text was updated successfully, but these errors were encountered: