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

[AWS] Ability to preserve and reuse CloudWatch logs when stack is deleted and recreated #6045

Open
exoego opened this issue Apr 24, 2019 · 0 comments

Comments

@exoego
Copy link
Contributor

exoego commented Apr 24, 2019

This is a Feature Proposal

Description

I want to preserve CloudWatch Logs resources when deleting a stack, and then re-use it when recreating a stack with (almost) same configuration.

I believe this is useful because of recently-introduced X-Ray support in API Gateway in serverless.
If I understand correctly, stacks should be removed then recreated to enable new features (X-Ray, Tags, etc) in API Gateway.
However, removing stack erases CloudWatch Logs of Lambdas, so users may not be able to see old logs, which is bad from operation perspective.

This feature may also be helpful for future API Gateway Stage-related features if those requires recreating stacks.

Similar or dependent issues:

Note

According to AWS, CloudFormation can retain resource when deleting stack. I am not sure it is possible to re-use existing same-name resources (CW Logs in this case) in newly-created stack.

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

No branches or pull requests

3 participants