Skip to content

Commit 106693d

Browse files
authored
Change cloudwatch submodule to pass context (#74)
* Change cloudwatch submodule to pass context * Removing enabled being part of context already
1 parent 670c7fa commit 106693d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main.tf

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ module "cloudwatch_log_group" {
99
source = "cloudposse/cloudwatch-logs/aws"
1010
version = "0.6.6"
1111

12-
enabled = module.this.enabled
13-
1412
iam_role_enabled = false
1513
kms_key_arn = var.cloudwatch_logs_kms_key_arn
1614
retention_in_days = var.cloudwatch_logs_retention_in_days
1715
name = "/aws/lambda/${var.function_name}"
18-
tags = module.this.tags
16+
context = module.this.context
1917
}
2018

2119
resource "aws_lambda_function" "this" {

0 commit comments

Comments
 (0)