CAB-4856: Apply master-branch kno2-discharge-summary Terraform and check for drift#38
Merged
CAB-4856: Apply master-branch kno2-discharge-summary Terraform and check for drift#38
Conversation
WalkthroughAdds a new boolean variable Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as User
participant T as Terraform
participant V as var.manage_log_group
participant S as var.ship_logs_to_sumo
participant LG as aws_cloudwatch_log_group
participant SF as aws_cloudwatch_log_subscription_filter
participant L as local.log_group_name
U->>T: plan/apply
T->>V: read manage_log_group
alt manage_log_group == true
T-->>LG: create (count=1, skip_destroy)
note right of LG#lightblue: Managed log group
alt ship_logs_to_sumo == true
T-->>SF: create with log_group_name = LG[0].name
else ship_logs_to_sumo == false
T--x SF: do not create
end
else manage_log_group == false
T--x LG: do not create
alt ship_logs_to_sumo == true
T-->>SF: create with log_group_name = L
else ship_logs_to_sumo == false
T--x SF: do not create
end
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Comment |
dhayespp
approved these changes
Oct 2, 2025
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.
Link to Ticket: https://hbuco.atlassian.net/browse/CAB-4856
Summary by CodeRabbit
New Features
Bug Fixes
Notes