Skip to content

Commit

Permalink
Change cloudwatch submodule to pass context (#74)
Browse files Browse the repository at this point in the history
* Change cloudwatch submodule to pass context

* Removing enabled being part of context already
  • Loading branch information
nnsense authored Aug 23, 2024
1 parent 670c7fa commit 106693d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ module "cloudwatch_log_group" {
source = "cloudposse/cloudwatch-logs/aws"
version = "0.6.6"

enabled = module.this.enabled

iam_role_enabled = false
kms_key_arn = var.cloudwatch_logs_kms_key_arn
retention_in_days = var.cloudwatch_logs_retention_in_days
name = "/aws/lambda/${var.function_name}"
tags = module.this.tags
context = module.this.context
}

resource "aws_lambda_function" "this" {
Expand Down

0 comments on commit 106693d

Please sign in to comment.