-
Notifications
You must be signed in to change notification settings - Fork 38
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
chore: improve tofu handling #975
Conversation
core now defaults to the tofu url template for tofu binaries. It still defaults to hashicorp for providers as this is the download url (where releases are hosted) and not the registry itself. [#187199931](https://www.pivotaltracker.com/story/show/187199931)
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/187271426 The labels on this github issue will be updated when the story is started. |
if currentTfVersion.LessThan(version.Must(version.NewVersion("0.12.0"))) { | ||
return errors.New("upgrade only supported for Terraform versions >= 0.12.0") | ||
if currentTfVersion.LessThan(version.Must(version.NewVersion("1.5.0"))) { | ||
return errors.New("upgrade only supported for Terraform versions >= 1.5.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the word Terraform
still be here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strictly speaking, people will need to migrate from terraform 1.5.7 to opentofu 1.6.x. There's no opentofu version 1.5.x so I believe in this case, terraform is fine. I could change by Terraform/OpenTofu
Checklist: