feat: Add deletion_protection_enabled argument for lambda log group#736
Merged
antonbabenko merged 4 commits intoterraform-aws-modules:masterfrom Feb 18, 2026
Conversation
cb11a0b to
751ff08
Compare
antonbabenko
approved these changes
Feb 18, 2026
antonbabenko
pushed a commit
that referenced
this pull request
Feb 18, 2026
## [8.6.0](v8.5.1...v8.6.0) (2026-02-18) ### Features * Add deletion_protection_enabled argument for lambda log group ([#736](#736)) ([9b6ba43](9b6ba43))
Member
|
This PR is included in version 8.6.0 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the
cloudwatch_logs_deletion_protection_enabledargument to theaws_cloudwatch_log_groupresource within the Lambda module. This allows users to control the deletion protection setting for the log group created by the module.Motivation and Context
This change is required to support the new deletion protection feature for CloudWatch Log Groups, which was recently added to the Terraform AWS Provider.
Reference: AWS Provider CHANGELOG v6.25.0
resource/aws_cloudwatch_log_group: Adddeletion_protection_enabledargument (#45298)This PR addresses the request in issue #735.
Breaking Changes
No. This change is backward compatible as the default value is set to
null, which preserves the provider's default behavior.How Has This Been Tested?
examples/*to demonstrate and validate my change(s)examples/*projectspre-commit run -aon my pull request