diff --git a/.changelog/18215.txt b/.changelog/18215.txt new file mode 100644 index 00000000000..641ef132618 --- /dev/null +++ b/.changelog/18215.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_dynamodb_table: Update Global Secondary Index provisioned throughput settings on new changes +``` diff --git a/aws/resource_aws_dynamodb_table.go b/aws/resource_aws_dynamodb_table.go index de260c282b6..658c044ce58 100644 --- a/aws/resource_aws_dynamodb_table.go +++ b/aws/resource_aws_dynamodb_table.go @@ -543,6 +543,7 @@ func resourceAwsDynamoDbTableUpdate(d *schema.ResourceData, meta interface{}) er continue } + hasTableUpdate = true input.GlobalSecondaryIndexUpdates = append(input.GlobalSecondaryIndexUpdates, gsiUpdate) } }