-
-
Notifications
You must be signed in to change notification settings - Fork 556
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 cluster and container definition custom CloudWatch log group names #160
feat: Add support for cluster and container definition custom CloudWatch log group names #160
Conversation
Why is this change necessary or warranted? |
@bryantbiggs For example, there's a custom convention for AWS CW LogGroups at some projects, which is different from the current pattern In that case, it will be nice to have the possibility to define a custom name for a log group instead of creating it outside of the module and passing it through vars. Also, the same functionality is already present for IAM roles via separate vars like |
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.
I can't say I agree with it - seems to add more complexity than its worth but we'll go with it
## [5.9.0](v5.8.1...v5.9.0) (2024-02-12) ### Features * Add support for cluster and container definition custom CloudWatch log group names ([#160](#160)) ([9a8c7d3](9a8c7d3))
This PR is included in version 5.9.0 🎉 |
@bryantbiggs thank you! 🙂 |
…tch log group names (terraform-aws-modules#160) * feat: Custom CW Log Group name for cluster with cloudwatch_log_group_name var * feat: Custom CW Log Group name for ECS service containers
## [5.9.0](terraform-aws-modules/terraform-aws-ecs@v5.8.1...v5.9.0) (2024-02-12) ### Features * Add support for cluster and container definition custom CloudWatch log group names ([terraform-aws-modules#160](terraform-aws-modules#160)) ([9a8c7d3](terraform-aws-modules@9a8c7d3))
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
The possibility to define a custom AWS CloudWatch LogGroup name instead of a pre-defined pattern at the module.
Motivation and Context
Previously, it was impossible to define the custom name of CW LogGroup while creating a group with the modules.
Breaking Changes
No.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectsECS Cluster Log Group
terraform plan
terraform plan
ECS Containers' Log Group
terraform plan
pre-commit run -a
on my pull request