File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -280,8 +280,14 @@ def find_cloudwatch_source(log_group):
280280 "api-gateway" , # e.g. Api-Gateway-Execution-Logs_xxxxxx/dev
281281 # default location set by serverless framework for rest api access logs
282282 "/aws/api-gateway" , # e.g. /aws/api-gateway/my-project
283+ # Avoid touching the size limit of the log group resource policy
284+ # https://docs.aws.amazon.com/fr_fr/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-logs-infrastructure-CWL
285+ "/aws/vendedlogs/api-gateway" ,
283286 # default location set by serverless framework for http api logs
284- "/aws/http-api" , # e.g. /aws/http-api/my-project
287+ "/aws/http-api" , # e.g. /aws/http-api/my-project,
288+ # Avoid touching the size limit of the log group resource policy
289+ # https://docs.aws.amazon.com/fr_fr/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-logs-infrastructure-CWL
290+ "/aws/vendedlogs/http-api" ,
285291 )
286292 ):
287293 return "apigateway"
You can’t perform that action at this time.
0 commit comments