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

fix: Add a way to prevent cloudwatch log group from being created #122

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

cedric-spinergie
Copy link
Contributor

@cedric-spinergie cedric-spinergie commented Sep 30, 2024

Fixes #115
Fixes #121

Description

Do not create cloudwatch log group if stage_access_log_settings == null.

Motivation and Context

See #115 & #121
Before this PR, it wasn't possible to prevent cloudwatch log group creation.

Breaking Changes

This is not a breaking change.

How Has This Been Tested?

Before this PR, setting stage_access_log_settings = null would result in a failing config so it's not possible to test before the change.
With the change, I was able to deploy my own config properly. (And omit the cloudwatch log group creation)

@cedric-spinergie cedric-spinergie changed the title Add a way to prevent cloudwatch log group from being created fix: Add a way to prevent cloudwatch log group from being created Sep 30, 2024
Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Oct 31, 2024
@cedric-spinergie
Copy link
Contributor Author

Not stale.

@cedric-spinergie
Copy link
Contributor Author

For anyone stumbling onto this issue, don't forget that you can manually edit the module on your computer to add the changes from this PR. It won't be definitive but at least it lets us move on short term.

@antonbabenko antonbabenko merged commit ca7a071 into terraform-aws-modules:master Nov 28, 2024
9 checks passed
antonbabenko pushed a commit that referenced this pull request Nov 28, 2024
## [5.2.1](v5.2.0...v5.2.1) (2024-11-28)

### Bug Fixes

* Add a way to prevent cloudwatch log group from being created ([#122](#122)) ([ca7a071](ca7a071))
* Update CI workflow versions to latest ([#123](#123)) ([9d906dd](9d906dd))
@antonbabenko
Copy link
Member

This PR is included in version 5.2.1 🎉

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 31, 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.

Access logs can't be disabled Access logs can't be disabled
2 participants