aws-cdk-lib/aws-logs: Setting logGroupAuditDestination causes deploy error #32108
Labels
@aws-cdk/aws-logs
Related to Amazon CloudWatch Logs
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
When trying to setup a DataProtectionPolicy that has a logGroupAuditDestination set, the deploy is failing with
Failed to update CloudWatch Logs resource policy due to policy document length constraints
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
It should work as described in the documentation, or at least be better documented so that it can be set up properly.
Current Behavior
Deploy error
Failed to update CloudWatch Logs resource policy due to policy document length constraints
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
10.9.0
Framework Version
No response
Node.js Version
v22.11.0
OS
Mac os 14.7.1
Language
TypeScript
Language Version
typescript@5.3.3
Other information
No response
The text was updated successfully, but these errors were encountered: