Skip to content
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(tft): remove default retry of inconsistent provider #2364

Closed
wants to merge 2 commits into from

Conversation

apeabody
Copy link
Collaborator

No description provided.

@apeabody apeabody changed the title feat(tft): remove default retry of inconsistent provider fix(tft): remove default retry of inconsistent provider May 17, 2024
@apeabody apeabody marked this pull request as ready for review May 17, 2024 17:16
@@ -309,6 +309,9 @@ func (b *TFBlueprintTest) GetTFOptions() *terraform.Options {
RetryableTerraformErrors: b.retryableTerraformErrors,
NoColor: true,
})
// Remove Default "rovider produced inconsistent result after apply" from RetryableTerraformErrors
// Retrying these errors generally results in confusing already exist errors
delete(newOptions.RetryableTerraformErrors, ".*Provider produced inconsistent result after apply.*")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we remove these at the call sites?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removal is for one that is pulled in with a larger list from the ealier terraform.WithDefaultRetryableErrors call: https://github.com/gruntwork-io/terratest/blob/master/modules/terraform/options.go#L14

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it thank you!

@apeabody apeabody marked this pull request as draft May 17, 2024 20:57
@apeabody
Copy link
Collaborator Author

Going to leave this out for now. If we decide to add we should make if configurable.

@apeabody apeabody closed this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants