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(integ): fix rate limit errors when deploying cloudwatch log group… #827

Merged

Conversation

xuetinp
Copy link
Contributor

@xuetinp xuetinp commented Sep 27, 2022

Problem #807

This is a continuous fix following #822. The previous fix partially solved the problem, and integration test still got random failures from other lambdas where LogRetention is defined implicitly without retries (e.g. certificate function).

Solution

Add LogRetentionRetryOptions to all lambdas and extend log retention function timeout for all integration test stacks via Aspect. Similar to SSMInstancePolicyAspect, it is only for integration test and not being added to example stacks for now.

Testing

  • Tested Aspect code via a custom app deployment
  • Build success

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

integ/lib/log-retention-retry-aspect.ts Outdated Show resolved Hide resolved
@ddneilson ddneilson self-requested a review September 27, 2022 18:00
Copy link
Contributor

@ddneilson ddneilson left a comment

Choose a reason for hiding this comment

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

Perfect! Thanks!

@ddneilson ddneilson merged commit fd842b7 into aws:mainline Sep 28, 2022
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.

3 participants