Skip to content

Commit

Permalink
MARIO-2170 add tags to cloud watch event rules
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnmol committed Jul 24, 2019
1 parent e05a7ad commit 50013ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/lambda_function_scheduled/cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ resource "aws_cloudwatch_event_rule" "app" {
name = "${var.app_name}"
schedule_expression = "${var.schedule_expression}"
count = "${var.enabled}"
tags = "${local.tags}"
}

resource "aws_cloudwatch_event_target" "lambda" {
Expand Down
1 change: 1 addition & 0 deletions apps/lambda_function_scheduled_vpc/cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ resource "aws_cloudwatch_event_rule" "app" {
name = "${var.app_name}"
schedule_expression = "${var.schedule_expression}"
count = "${var.enabled}"
tags = "${local.tags}"
}

resource "aws_cloudwatch_event_target" "lambda_vpc" {
Expand Down

0 comments on commit 50013ea

Please sign in to comment.