zappa / Zappa

Serverless Python
https://zappa.ws/zappa
MIT License
3.24k stars 362 forks source link

Set cloudwatch retention period #1330

Closed simsong closed 1 month ago

simsong commented 4 months ago

Context

Currently, Zappa does not set the cloudwatch retention period. This causes the cloudwatch logs to grow without limit, which is expensive.

Possible Fix

I posted code to the Slack that set the cloudwatch retention period from a new setting in the zappa config file. This patch implements that code. I've tested it on a production system.

github-actions[bot] commented 1 month ago

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

github-actions[bot] commented 1 month ago

Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.