Skip to content

Commit 9ce5ae9

Browse files
author
Rafael Felix Correa
committed
workaround to prevent issue with cloudwatch_rule_arn output'
1 parent 552baaa commit 9ce5ae9

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
@@ -20,5 +20,5 @@ output "role_name" {
2020

2121
output "cloudwatch_rule_arn" {
2222
description = "The ARN of the Cloudwatch rule"
23-
value = "${element(concat(aws_cloudwatch_event_rule.rule.*.arn), 0)}"
23+
value = ["${compact(concat(aws_cloudwatch_event_rule.rule.*.arn))}"]
2424
}

0 commit comments

Comments
 (0)