-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix: Cloudformation Template - Forcing refresh of a TerraformVersion … #819
Conversation
@@ -39,7 +39,7 @@ func main() { | |||
} else { | |||
success, err := runTest(testName, destroyMode != "NO_DESTROY") | |||
if !success { | |||
log.Fatalln("Halting due to test failure:", err) | |||
log.Fatalf("Halting due to test '%s' failure: %s\n", testName, err.Error()) |
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.
unrelated - but was requested to get fixed.
|
||
// If this value isn't set, ignore whatever is returned from the response. | ||
// This helps avoid drifts when defaulting to 'opentofu' for new 'terragrunt' templates, and 'terraform' for existing 'terragrunt' templates. | ||
// 'template.TerragruntTfBinary' field is set to 'omitempty'. Therefore, the state isn't modified if `template.TerragruntTfBinary` is an empty string. | ||
if terragruntTfBinary == "" { | ||
template.TerragruntTfBinary = "" | ||
} | ||
// Same explanation as above. |
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.
This is a mitigation. But I believe it will solve the issue. (As I'm unsure why it's happening to the user).
…field
Issue & Steps to Reproduce / Feature Request
fixes #818
Solution
I'm unsure why it's occurring. But I applied a mitigation.
Tests seem to pass.