-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(custom-resources): CustomResourceProvider should allow configuring log group destination #27413
Comments
Thank you so much for the feature request. Since there's a good chance that other systems make use of a log group destination, it could be worth looking into if you'd like to offer a PR for this particular feature, we'd be more than happy to review it. |
Lambda functions will create their own log groups, you cannot customize the log group name or to use an existing log group as far as I know, which is why the existing solution is the way it is. Maybe I'm mixing up what you mean by "destination"? |
Thanks for the prompt response and clarification. I see that indeed even on the In this case, there is also the internal "waiter state machine" for async custom providers where we could allow configuring the log group, but given we can't change the log group of the lambdas, this likely doesn't make much sense. |
|
Looks like customizing lambda log group is supported now: https://aws.amazon.com/blogs/compute/introducing-advanced-logging-controls-for-aws-lambda-functions/ |
Comments on closed issues and PRs are hard for our team to see. |
Describe the feature
The Custom Resource Provider Framework (particularly the Provider construct) should enable configuring the log group destination for both the lambdas and step functions that it automatically generates.
Use Case
I would like to centralize our entire application to use the same log group for easier observability. We utilize different stream prefixes to keep the logs organized across the various services.
Proposed Solution
No response
Other Information
Related: #26553
Acknowledgements
CDK version used
2.95.0 (build cfa7e88)
Environment details (OS name and version, etc.)
Amazon Linux 2
The text was updated successfully, but these errors were encountered: