-
-
Notifications
You must be signed in to change notification settings - Fork 588
feat: Add support for creating CloudWatch log groups #346
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
feat: Add support for creating CloudWatch log groups #346
Conversation
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 looks great - thank you!
63bcdb9
to
b8f1e67
Compare
Oy, looks like we'll have to merge this after #335 |
looking forward to this PR. |
@@ -442,7 +442,7 @@ resource "aws_db_parameter_group" "this" { | |||
################################################################################ | |||
|
|||
resource "aws_cloudwatch_log_group" "this" { | |||
for_each = toset([for log in var.enabled_cloudwatch_logs_exports : log if local.create_cluster && var.create_cloudwatch_log_group]) | |||
for_each = toset([for log in var.enabled_cloudwatch_logs_exports : log if local.create_cluster && var.create_cloudwatch_log_group && !var.cluster_use_name_prefix]) |
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.
Updated cloudwatch log group creation based on this feedback which is also relevant to this module.
CI is green so merging! |
## [7.7.0](v7.6.2...v7.7.0) (2023-03-06) ### Features * Add support for creating CloudWatch log groups ([#346](#346)) ([40cef84](40cef84))
This PR is included in version 7.7.0 🎉 |
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. |
Description
Add cloudwatch log group management.
Motivation and Context
Breaking Changes
No.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request