-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
Add variable to manage the CreateLogGroup permission #503
Comments
This issue has been automatically marked as stale because it has been open 30 days |
Any thoughts on this? |
Hi @jake-naughton ! Please make a PR with the proposed change. |
Hi @antonbabenko, I have raised the PR here: #514 |
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Is your request related to a new offering from AWS?
Is your request related to a problem? Please describe.
I have to manage IAM roles outside of this module because it enforces
logs:CreateLogGroup
permission when the module provisions the CloudWatch log group. However, there are many cases where you don't need or want this permission attached to your lambda and it is a nuisance when you are dealing with ephemeral environments. The problem is described in this issue:#342
Describe the solution you'd like.
To add a variable that allows for the
logs:CreateLogGroup
to be turned off even when the module is responsible for provisioning the CloudWatch logs. By default it would be on so no change in behaviour.Describe alternatives you've considered.
Creating my own IAM role outside of the module and passing it in. Could also create the CloudWatch log group outside of the module.
Additional context
Happy to put up a PR for this improvement if it is acceptable.
The text was updated successfully, but these errors were encountered: