Skip to content

Commit 85b9a4a

Browse files
author
simpleme
committed
fix cw event rule is enabled name
1 parent 7f4f73b commit 85b9a4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ resource "aws_cloudwatch_event_rule" "event_rule" {
113113
name = var.cloudwatch_event_rule_name
114114
description = "Rule that triggers lambda function"
115115
schedule_expression = local.schedule_expression
116-
is_enabled = var.is_enabled
116+
is_enabled = var.cw_event_is_enabled
117117
}
118118

119119
resource "aws_cloudwatch_event_target" "cloudwatch_event_target" {

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ variable "lambda_role_name" {
5959
description = "Name of the aws lambda execution role"
6060
}
6161

62-
variable "is_enabled" {
62+
variable "cw_event_is_enabled" {
6363
type = bool
6464
description = "Mark if CW event rule is enabled or not"
6565
}

0 commit comments

Comments
 (0)