Skip to content
This repository was archived by the owner on Jun 8, 2022. It is now read-only.

Commit e077190

Browse files
committed
cloudwatch output can be empty (since its optional)
1 parent f403e71 commit e077190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ output "role_name" {
2525

2626
output "cloudwatch_rule_arn" {
2727
description = "The ARN of the Cloudwatch rule"
28-
value = "${element(concat(aws_cloudwatch_event_rule.rule.*.arn), 0)}"
28+
value = "${element(concat(aws_cloudwatch_event_rule.rule.*.arn, list("")), 0)}"
2929
}

0 commit comments

Comments
 (0)