Skip to content

Commit

Permalink
feat(cloudwatch): add aws tags on cloudwatch resources
Browse files Browse the repository at this point in the history
This commit add "tags" parameter on terraform
cloudwatch resources.
  • Loading branch information
diodonfrost committed Dec 31, 2020
1 parent 41f16cd commit 6a579e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ resource "aws_cloudwatch_event_rule" "this" {
name = "trigger-lambda-scheduler-${var.name}"
description = "Trigger lambda scheduler"
schedule_expression = var.cloudwatch_schedule_expression
tags = var.tags
}

resource "aws_cloudwatch_event_target" "this" {
Expand All @@ -297,4 +298,5 @@ resource "aws_lambda_permission" "this" {
resource "aws_cloudwatch_log_group" "this" {
name = "/aws/lambda/${var.name}"
retention_in_days = 14
tags = var.tags
}

0 comments on commit 6a579e2

Please sign in to comment.