Skip to content

Commit a176be8

Browse files
committed
CCM-9868: Adding subfilter for lambda logs
1 parent 2623519 commit a176be8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

infrastructure/modules/lambda/cloudwatch_log_subscription_filter_firehose.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ resource "aws_cloudwatch_log_subscription_filter" "firehose" {
33
name = replace(aws_cloudwatch_log_group.main.name, "/", "-")
44
log_group_name = aws_cloudwatch_log_group.main.name
55
filter_pattern = var.filter_pattern
6-
destination_arn = var.destination_arn
7-
role_arn = var.log_subscription_log_role_arn
6+
destination_arn = var.cloudwatch_log_destination_arn
7+
role_arn = var.log_subscription_role_arn
88
}

infrastructure/modules/lambda/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,13 @@ variable "filter_pattern" {
225225
default = ""
226226
}
227227

228-
variable "destination_arn" {
228+
variable "cloudwatch_log_destination_arn" {
229229
type = string
230230
description = "Destination ARN to use for the log subscription filter"
231231
default = ""
232232
}
233233

234-
variable "log_subscription_log_role_arn" {
234+
variable "log_subscription_role_arn" {
235235
type = string
236236
description = "The ARN of the IAM role to use for the log subscription filter"
237237
default = ""

0 commit comments

Comments
 (0)