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

Commit

Permalink
cloudwatch output can be empty (since its optional)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfelix committed Feb 21, 2019
1 parent f403e71 commit e077190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ output "role_name" {

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

0 comments on commit e077190

Please sign in to comment.