-
Notifications
You must be signed in to change notification settings - Fork 289
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
Bug: Error listing tags for Config Rule in Secure-baselines #6486
Comments
See this TF AWS provider bug which seems to be related hashicorp/terraform-provider-aws#34669 |
Also see this... hashicorp/terraform-provider-aws#36024 |
I have raised #6494 to pin the TF provider to v5.38.0 as we didn't have this sort of failure occurring previously. This worked successfully under this run ... https://github.com/ministryofjustice/modernisation-platform/actions/runs/8341764086 |
I've run a job on main branch (so latest TF provider v5.41.0 e.g. https://github.com/ministryofjustice/modernisation-platform/actions/runs/8342287044/job/22830537939#step:6:145) and it's failed again https://github.com/ministryofjustice/modernisation-platform/actions/runs/8342287044 96 out of 175 secure-baseline jobs failed. |
PR #6494 has been merged to main which has pinned the provider for the secure-baseline code to This has added some stability to the job; it runs through on a single attempt. I'm considering whether or not that's enough for now, I think that something must have been introduced by the provider which has been acknowledged here hashicorp/terraform-provider-aws#36024 and will hopefully be addressed in future. I did try some of the suggested workarounds e.g. setting |
Agreed to keep this ticket open for now to test that this change has added stability and in case there is any progress on the underlying issue with the TF provider. I will take a look again next week. |
Since the TF AWS Provider bug mentioned above has now been closed an integrated to ^^^ This test failed with similar errors to before e.g.
|
In this PR I tried setting It worked ... https://github.com/ministryofjustice/modernisation-platform/actions/runs/8422101284 twice... https://github.com/ministryofjustice/modernisation-platform/actions/runs/8422873826 |
#6598 is merged to main and ran successfully ... I think this should be enough to close the issue. |
Expected Behavior
The
Terraform: Scheduled Baseline
workflow hasn't run completely successfully for about a week. In particular thesecure-baselines
jobs have not all been succeeding due to an error when trying to list tags for config rule sin a terraform plan.Actual Behavior
Example of error:
Error: listing tags for Config Config Rule (arn:aws:config:eu-west-2:767123802783:config-rule/config-rule-mzxknb): operation error Config Service: ListTagsForResource, failed to get rate limit token, retry quota exceeded, 3 available, 5 requested
See Slack thread for more info.
Steps to Reproduce the Problem
No response
Version
No response
Modules
No response
Account
No response
The text was updated successfully, but these errors were encountered: