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

Create a new variable LogGroupPermissionPreFix and update the python code [CDS-1331] #152

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

guyrenny
Copy link
Contributor

@guyrenny guyrenny commented Jun 26, 2024

Right now the lambda will add permission for each of the log groups to the destination lambda, this can hit an AWS limitation for the number of permissions. Added a new variable LogGroupPermissionPreFix so that when it's defined the lambda will create permissions using the log group prefix from the parameter and wildcard (*) instead of creating 1 permission for each log group this will help avoid the AWS limitation.
ReWrite most of the Python lambda code for it to work with the new parameter.

Description

Fixes #

How Has This Been Tested?

Checklist:

  • I have updated the versions in the changed module in the template index.js and package.json files.
  • I have updated the relevant component changelog(s)
  • This change does not affect module (e.g. it's readme file change)

… have more then 50 lo groups, and rewite most of the python code
Copy link
Collaborator

@juan-coralogix juan-coralogix left a comment

Choose a reason for hiding this comment

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

LGTM.

@guyrenny guyrenny merged commit 8ef4264 into master Jun 27, 2024
10 checks passed
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.

2 participants