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

Cloudwatch alerts #55

Closed
sennett opened this issue Nov 18, 2022 · 2 comments
Closed

Cloudwatch alerts #55

sennett opened this issue Nov 18, 2022 · 2 comments

Comments

@sennett
Copy link

sennett commented Nov 18, 2022

How do you guys configure cloudwatch alerts without Cloudformation config drift? Right now my plan is to fork the repo and add things to NextStandaloneStack, but is there something you do instead? I'm trying to get alerts when there are HTTP errors over a certain threshold, for both Next routes and image optimisation.

@sennett
Copy link
Author

sennett commented Nov 18, 2022

I see that AWS does not automatically include linked resources in the Cloudformation stack so I can bolt these on. As long as I don't edit resources created as part of the stack itself, there is no drift.

@sennett sennett closed this as completed Nov 18, 2022
@sladg
Copy link
Owner

sladg commented Nov 18, 2022

Hey! Feel free to create your CDK stack from lib/cdk/stack.ts. I would deem alerts to be over the basic configuration so I don't plan to add them to the repository.

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

2 participants