Skip to content

Commit

Permalink
Merge pull request #18215 from Madh93/b-aws_dynamodb_table-gsi-provis…
Browse files Browse the repository at this point in the history
…ioned-throughput-update

r/aws_dynamodb_table: update gsi provisioned throughput settings
  • Loading branch information
YakDriver authored Apr 12, 2021
2 parents 0307213 + 89a03e4 commit ed8ee5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/18215.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_dynamodb_table: Update Global Secondary Index provisioned throughput settings on new changes
```
1 change: 1 addition & 0 deletions aws/resource_aws_dynamodb_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ func resourceAwsDynamoDbTableUpdate(d *schema.ResourceData, meta interface{}) er
continue
}

hasTableUpdate = true
input.GlobalSecondaryIndexUpdates = append(input.GlobalSecondaryIndexUpdates, gsiUpdate)
}
}
Expand Down

0 comments on commit ed8ee5e

Please sign in to comment.