-
Notifications
You must be signed in to change notification settings - Fork 31
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
Terragrunt OpenTofu: reset terraform_version when changing tool #552
Terragrunt OpenTofu: reset terraform_version when changing tool #552
Conversation
Some interesting overlap here with the issue I opened recently, #540 |
I've also fixed tests ("terraform-default-" prefix). |
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.
LGTM
Will it make sense to extend this PR to also fix #547 ? Looks like it's almost the same issue, just with plain Terraform. |
@truszkowski we merged a fix to the unit tests, can you rebase this? 🙏 |
06f5796
to
057cd04
Compare
I've made it. So, now, we'll reset |
257df16
to
3c13324
Compare
Description of the change
Let's reset the version when we're changing the terragrunt tool.
Step 1 - now we have computed the latest for terraform (1.5.7)
Step 2 - we expect the latest for opentofu (1.7.1)
Let's reset
terraform_version
when we're changingtool
andterraform_version
is not specified in the config.Let's also take care of
terraform_workflow_tool
. It's the same situation. We should resetterraform_version
in the case of the tool change.into:
Type of change
Related issues
Checklists
Development
false
.)go generate
to make sure the docs are up to dateCode review