-
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
r/aws_ses_receipt_rule: Retry IAM eventual consistency errors #40873
r/aws_ses_receipt_rule: Retry IAM eventual consistency errors #40873
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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=ses TESTS=TestAccSESReceiptRule_
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/ses/... -v -count 1 -parallel 20 -run='TestAccSESReceiptRule_' -timeout 360m
2025/01/10 14:22:44 Initializing Terraform AWS Provider...
--- PASS: TestAccSESReceiptRule_Disappears_receiptRuleSet (18.01s)
--- PASS: TestAccSESReceiptRule_disappears (18.24s)
--- PASS: TestAccSESReceiptRule_actions (19.76s)
--- PASS: TestAccSESReceiptRule_basic (20.64s)
--- PASS: TestAccSESReceiptRule_order (20.94s)
--- PASS: TestAccSESReceiptRule_snsAction (21.59s)
--- PASS: TestAccSESReceiptRule_snsActionEncoding (21.62s)
--- PASS: TestAccSESReceiptRule_stopAction (21.77s)
--- PASS: TestAccSESReceiptRule_s3Action (29.74s)
--- PASS: TestAccSESReceiptRule_s3Action_iamRoleARN (29.86s)
--- PASS: TestAccSESReceiptRule_lambdaAction (33.12s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 45.201s
Thanks for the fix, @kamilturek! 👍 |
Closes also #34259. |
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 🚀
This functionality has been released in v5.84.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! |
Description
This PR adds retries for IAM eventual consistency errors when creating or updating the
aws_ses_receipt_rule
resource.Relations
Closes #7917
Closes #34259
References
https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html
https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateReceiptRule.html
Output from Acceptance Testing