Skip to content

Conversation

@antonbabenko
Copy link
Member

Based on #23

Closes #22

tkalus and others added 2 commits June 11, 2020 21:49
- Adds ability to set a retention time for the Lambda's CloudWatch Logs.
- Adds the Log Group to the outputs to allow for easy-attach of a
  subscriber.
- Retains the default `Never Expire` (days == 0) behavior and logs are
  not created if `create_role` or `attach_cloudwatch_logs_policy` are false;
  expectation is the CWLogGroup would be handled externally.

Closes #22
@antonbabenko antonbabenko merged commit 7e1ed93 into master Jun 12, 2020
@antonbabenko antonbabenko deleted the pr23-cloudwatch-logs branch June 12, 2020 12:35
@antonbabenko
Copy link
Member Author

Thanks @tkalus for your PR which I extended.

v1.7.0 has been just released.

@tkalus
Copy link

tkalus commented Jun 12, 2020

@antonbabenko You definitely leveled-up what I submitted. 😁 This is fantastic, thanks!

@antonbabenko
Copy link
Member Author

I always try :)

Improvement for #12 is still coming...

@github-actions
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 Nov 10, 2022
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.

Feature Request: Ability to set the retention length on CloudWatch Log Group

3 participants