Skip to content

Commit 8554bfd

Browse files
committed
Fixed output of aws_flow_log
1 parent de11253 commit 8554bfd

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
@@ -1005,7 +1005,7 @@ output "vpc_endpoint_cloud_directory_dns_entry" {
10051005
# VPC flow log
10061006
output "vpc_flow_log_id" {
10071007
description = "The ID of the Flow Log resource"
1008-
value = aws_flow_log.this[0].id
1008+
value = concat(aws_flow_log.this.*.id, [""])[0]
10091009
}
10101010

10111011
output "vpc_flow_log_destination_arn" {

0 commit comments

Comments
 (0)