diff --git a/internal/service/redshiftserverless/namespace_test.go b/internal/service/redshiftserverless/namespace_test.go index 28fa6171841..d45a3b270d3 100644 --- a/internal/service/redshiftserverless/namespace_test.go +++ b/internal/service/redshiftserverless/namespace_test.go @@ -26,7 +26,7 @@ func TestAccRedshiftServerlessNamespace_basic(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t) }, - ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID), + ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckNamespaceDestroy(ctx), Steps: []resource.TestStep{ @@ -72,7 +72,7 @@ func TestAccRedshiftServerlessNamespace_defaultIAMRole(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t) }, - ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID), + ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckNamespaceDestroy(ctx), Steps: []resource.TestStep{ @@ -100,7 +100,7 @@ func TestAccRedshiftServerlessNamespace_user(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t) }, - ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID), + ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckNamespaceDestroy(ctx), Steps: []resource.TestStep{ @@ -133,7 +133,7 @@ func TestAccRedshiftServerlessNamespace_tags(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t) }, - ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID), + ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckNamespaceDestroy(ctx), Steps: []resource.TestStep{ @@ -177,7 +177,7 @@ func TestAccRedshiftServerlessNamespace_disappears(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t) }, - ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID), + ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckNamespaceDestroy(ctx), Steps: []resource.TestStep{ @@ -200,7 +200,7 @@ func TestAccRedshiftServerlessNamespace_withWorkgroup(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t) }, - ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID), + ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckNamespaceDestroy(ctx), Steps: []resource.TestStep{ @@ -225,7 +225,7 @@ func TestAccRedshiftServerlessNamespace_manageAdminPassword(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t) }, - ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID), + ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckNamespaceDestroy(ctx), Steps: []resource.TestStep{