-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
b/aws_redshift_cluster: Adds retries to enabling and disabling the redshift cluster's logging #22080
b/aws_redshift_cluster: Adds retries to enabling and disabling the redshift cluster's logging #22080
Conversation
We have a failing CI test:
|
…constant when retrying enable/disable logging.
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 🚀.
% make testacc PKG=redshift TESTS=TestAccRedshiftCluster_loggingEnabled
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/redshift/... -v -count 1 -parallel 20 -run='TestAccRedshiftCluster_loggingEnabled' -timeout 180m
=== RUN TestAccRedshiftCluster_loggingEnabled
=== PAUSE TestAccRedshiftCluster_loggingEnabled
=== CONT TestAccRedshiftCluster_loggingEnabled
--- PASS: TestAccRedshiftCluster_loggingEnabled (297.52s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/redshift 301.171s
@larssnellman Thanks for the contribution 🎉 👏. |
This functionality has been released in v3.69.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Adds retries to actions that enable or disable the redshift cluster's logging when returned the error code "InvalidClusterState".
Closes #21815
Output from acceptance testing:
Previously:
(Test would intermittently fail, in this example we fail on removing logging)