-
Notifications
You must be signed in to change notification settings - Fork 7
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
fix: reduce costs on kinesis streams #231
Conversation
4d67bf8
to
38d572e
Compare
38d572e
to
b987b36
Compare
export function getKinesisStreamConfig (stack) { | ||
if (stack.stage !== 'production') { | ||
return { | ||
retentionPeriod: Duration.hours(24) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimum value supported
View stack outputs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great, thanks @vasco-santos!
We are currently being billed quite a bit in AWS for all the Kinesis streams we keep open for dev/CI.
This PR addresses this by:
As follow ups, we should also consider (I will create issues):