Skip to content
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

Serverless logRetentionInDays provider parameter now supercedes this plugin #10

Open
chrisgilbert opened this issue Mar 16, 2022 · 0 comments

Comments

@chrisgilbert
Copy link

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 for most use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant