Closed jake-naughton closed 7 months ago
This PR is included in version 6.5.0 :tada:
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
Adding a variable to control the create log group permission on the lambda role. Default for the new variable is to add the permission to the role.
Motivation and Context
Described in the following feature request: Fixes https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/503
Breaking Changes
None, variable default will keep current behaviour the same.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull requestTested running the example/complete module with init, plan, apply, destroy and inspected the iam roles to confirm that existing lambda roles still had the create log group permission and the new lambda role does not have it.