Skip to content

Commit

Permalink
Merge pull request #9 from verkada/ak/creating
Browse files Browse the repository at this point in the history
Conside CREATING to be a final state for GSIs
  • Loading branch information
kopatsy authored Mar 5, 2022
2 parents 829b640 + 25750f9 commit 2005b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/global_secondary_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,10 @@ func waitDynamoDBGSIDeleted(c *dynamodb.DynamoDB, tn string, in string) error {
func waitDynamoDBGSIActive(c *dynamodb.DynamoDB, tn string, in string) error {
stateConf := &resource.StateChangeConf{
Pending: []string{
dynamodb.IndexStatusCreating,
dynamodb.IndexStatusUpdating,
},
Target: []string{
dynamodb.IndexStatusCreating,
dynamodb.IndexStatusActive,
},
Timeout: createGSITimeout,
Expand Down

0 comments on commit 2005b56

Please sign in to comment.