Радар на почту

Лог-группы с «вечным» сроком хранения: что остается после удаления Lambda и новые политики хранения от AWS

DEV · 14.11.2026 · 23:23

При первом вызове функции Lambda создается лог-группа с настройкой «никогда не истекает», которая не удаляется при удалении функции. AWS также представила новые политики хранения на уровне…

Читать в источнике

Оригинал

"Never expire" log groups: what survives when you delete a Lambda, and the account-level retention AWS added this week

The note on what survives a VM has a serverless cousin: the log group. When a Lambda function is invoked for the first time, CloudWatch creates /aws/lambda/ with "Never expire" retention, and when you delete the function that log group does not go with it. The Lambda documentation says it in one line: "Log groups aren't deleted automatically when you delete a function". On November 9 AWS published account-level retention policies, the first way to put an expiry on all of them at once. Ever