Skip to content

Commit

Permalink
Merge pull request #28114 from DrFaust92/redshift-waiy
Browse files Browse the repository at this point in the history
r/aws_redshiftserverless_workgroup - wait for MODIFYING on destroy
  • Loading branch information
ewbankkit authored Dec 1, 2022
2 parents 566e14e + 72aaa1b commit be832d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/28114.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_redshiftserverless_workgroup: Wait on `MODIFYING` status on resource Delete
```
1 change: 1 addition & 0 deletions internal/service/redshiftserverless/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func waitWorkgroupAvailable(conn *redshiftserverless.RedshiftServerless, name st
func waitWorkgroupDeleted(conn *redshiftserverless.RedshiftServerless, name string) (*redshiftserverless.Workgroup, error) {
stateConf := &resource.StateChangeConf{
Pending: []string{
redshiftserverless.WorkgroupStatusModifying,
redshiftserverless.WorkgroupStatusDeleting,
},
Target: []string{},
Expand Down

0 comments on commit be832d0

Please sign in to comment.