Skip to content

Commit ba08762

Browse files
authored
fix: Fixed dynamodb_table_stream_label output (#47)
1 parent 8a1143a commit ba08762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ output "dynamodb_table_stream_arn" {
1515

1616
output "dynamodb_table_stream_label" {
1717
description = "A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream_enabled is true"
18-
value = var.stream_enabled ? try(aws_dynamodb_table.this[0].id, aws_dynamodb_table.autoscaled[0].stream_label, "") : null
18+
value = var.stream_enabled ? try(aws_dynamodb_table.this[0].stream_label, aws_dynamodb_table.autoscaled[0].stream_label, "") : null
1919
}

0 commit comments

Comments
 (0)