Skip to content

Conversation

@giner
Copy link

@giner giner commented Nov 22, 2024

Description

Usually RDSOSMetrics is created by a DB instance itself when enhanced monitoring is enabled. The new options allow make this log group managed

Motivation and Context

This change makes it possible to:

  • configure non-default retention for RDSOSMetrics log group (AWS default is 30 days)
  • assign tags to RDSOSMetrics log group (this is needed because tags are not propagated from the DB instance)
  • have RDSOSMetrics log group removed when not used (AWS keeps RDSOSMetrics log groups even if all RDS instances are removed)

Breaking Changes

This change is no-op by default (unless non-default values for the introduced variables are used)

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

Usually RDSOSMetrics is created by a DB instance itself when enhanced
monitoring is enabled. The new options allow make this log group managed
so that:
- non-default retention could be configured (AWS default is 30 days)
- tags could be assigned (tags are not propagated from the DB instance)
- the log group is removed if not used
@giner giner force-pushed the add_options_to_manage_log_group_rdsosmetrics branch from 29e1ff0 to dc3f5ae Compare November 22, 2024 14:02
@giner giner changed the title Add options to manage log group RDSOSMetrics feat: Add options to manage log group RDSOSMetrics Nov 22, 2024
@bryantbiggs
Copy link
Member

this should be added outside of a module otherwise you are only asking for folks to create a conflict because there can only be one log group with this name

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants