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

An optional parameter for non default Lamda Log groups name #6

Open
zavale opened this issue Oct 16, 2020 · 0 comments
Open

An optional parameter for non default Lamda Log groups name #6

zavale opened this issue Oct 16, 2020 · 0 comments

Comments

@zavale
Copy link

zavale commented Oct 16, 2020

After CF stack deletion, the log group may be re-created by CW service, since logs are delivered with some delay, after Lambda invocation. It may cause a problem when you try to re0deploy stack - it will fail with an error LogGroup - /aws/lambda/xxxxx already exists.. To solve it, serverless-plugin-log-retention may provide an option, or even create by default LogGroups with the non-default name. In this case, even if CW will recreate LogGroup for Lambda after Lambda removed, it will use the default name, and will not clash with the LogGroup name created during stack re-deployment

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