When looking for a solution to set log retention for API gateway, I found that the serverless framework provides it's own `logRetentionInDays` parameter: https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml#general-function-settings That is used for lambda log groups, in the same way as this plugin. The provider parameter is _also_ used for API gateway logs, though it doesn't seem to be documented: https://github.com/serverless/serverless/blob/v2/lib/plugins/aws/package/compile/events/apiGateway/lib/stage.js#L113 So there is probably no need for this plugin _or_ [serverless-apigateway-log-retention](https://github.com/dvla/serverless-apigateway-log-retention) for most use cases.