Skip to content

Commit 6a579e2

Browse files
committed
feat(cloudwatch): add aws tags on cloudwatch resources
This commit add "tags" parameter on terraform cloudwatch resources.
1 parent 41f16cd commit 6a579e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.tf

+2
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ resource "aws_cloudwatch_event_rule" "this" {
274274
name = "trigger-lambda-scheduler-${var.name}"
275275
description = "Trigger lambda scheduler"
276276
schedule_expression = var.cloudwatch_schedule_expression
277+
tags = var.tags
277278
}
278279

279280
resource "aws_cloudwatch_event_target" "this" {
@@ -297,4 +298,5 @@ resource "aws_lambda_permission" "this" {
297298
resource "aws_cloudwatch_log_group" "this" {
298299
name = "/aws/lambda/${var.name}"
299300
retention_in_days = 14
301+
tags = var.tags
300302
}

0 commit comments

Comments
 (0)