Skip to content

Commit e3f534c

Browse files
authored
fix: Fixed dynamodb_table_stream_arn output (#46)
1 parent 4e2c8ec commit e3f534c

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
@@ -10,7 +10,7 @@ output "dynamodb_table_id" {
1010

1111
output "dynamodb_table_stream_arn" {
1212
description = "The ARN of the Table Stream. Only available when var.stream_enabled is true"
13-
value = var.stream_enabled ? try(aws_dynamodb_table.this[0].id, aws_dynamodb_table.autoscaled[0].stream_arn, "") : null
13+
value = var.stream_enabled ? try(aws_dynamodb_table.this[0].stream_arn, aws_dynamodb_table.autoscaled[0].stream_arn, "") : null
1414
}
1515

1616
output "dynamodb_table_stream_label" {

0 commit comments

Comments
 (0)