Skip to content

Fix statement_id length #54

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jul 20, 2023
Merged

Fix statement_id length #54

merged 2 commits into from
Jul 20, 2023

Conversation

jjkoh95
Copy link
Contributor

@jjkoh95 jjkoh95 commented May 12, 2023

While typical statement_id is generated by terraform -- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_permission.html

if log-groups are too lengthy, this will cause issue where statement_id is more than 100 characters, refer - https://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html#API_AddPermission_RequestSyntax

@jjkoh95 jjkoh95 force-pushed the fix-length-issue branch from 9da4be3 to 7099ae7 Compare May 12, 2023 09:08
Co-authored-by: Jim Park <jimp@scribd.com>
@jjkoh95 jjkoh95 requested a review from jim80net May 25, 2023 02:14
@jim80net jim80net merged commit 1108b07 into scribd:master Jul 20, 2023
@jim80net
Copy link
Contributor

Thanks for the contribution @jjkoh95!

jim80net added a commit that referenced this pull request Jul 20, 2023
* Fix `statement_id` length

* Update logs_monitoring_cloudwatch_log.tf

Co-authored-by: Jim Park <jimp@scribd.com>

---------

Co-authored-by: Jim Park <jimp@scribd.com>
github-actions bot pushed a commit that referenced this pull request Jul 20, 2023
## [3.2.1](v3.2.0...v3.2.1) (2023-07-20)

### Bug Fixes

* Truncate `statement_id` length  after 100 characters ([#54](#54)) ([3f98ed3](3f98ed3))
@jim80net
Copy link
Contributor

I rebased the last commit since the commit wasn't formatted correctly for the release process.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants