diff --git a/.changelog/28114.txt b/.changelog/28114.txt new file mode 100644 index 00000000000..48a249f8c73 --- /dev/null +++ b/.changelog/28114.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/aws_redshiftserverless_workgroup: Wait on `MODIFYING` status on resource Delete +``` diff --git a/internal/service/redshiftserverless/wait.go b/internal/service/redshiftserverless/wait.go index 603eb505d55..d2957d2d8d3 100644 --- a/internal/service/redshiftserverless/wait.go +++ b/internal/service/redshiftserverless/wait.go @@ -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{},