aws-samples / aws-batch-runtime-monitoring

Serverless application to monitor an AWS Batch architecture through dashboards.
MIT No Attribution
58 stars 16 forks source link

Cloudwatch Log Policy Limit 5120 characters Error #23

Open haorasu opened 11 months ago

haorasu commented 11 months ago

Hi Team

For customers with a large log policy limit they will get this error when deploying the SAM App:

"Invalid Logging Configuration: The CloudWatch Logs Resource Policy size was exceeded. We suggest prefixing your CloudWatch log group name with /aws/vendedlogs/states/. (Service: AWSStepFunctions; Status Code: 400; Error Code: InvalidLoggingConfiguration;"

The recommendation given by the error log itself and using a log group starting with /aws/vendedlogs/states/ as destination. Is this a possible change that can be made to the solution?