I’m using the Serverless Dashboard to monitor my API Gateway and Lambda. I’m trying to edit the log retention days of API Gateway’s log group programmatically. However, Serverless (maybe) doesn’t support retention days on API Gateway. Is there any way I can automate that? Thank you in advance.
Maybe you need to write a plugin to update log retention after deploying. I haven’t tried this but take a look at add-retention-policy-to-api-gateway-logs-published-to-cloudwatch
1 Like