From 898f26e8f7afeafc904a39cd621afb01ff95f1a2 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Thu, 1 Feb 2024 17:30:33 -0500 Subject: [PATCH] d/aws_bedrock_foundation_models: Fix acceptance tests. --- .../service/bedrock/foundation_models_data_source_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/service/bedrock/foundation_models_data_source_test.go b/internal/service/bedrock/foundation_models_data_source_test.go index e7e723762c3..8fe5e3fce95 100644 --- a/internal/service/bedrock/foundation_models_data_source_test.go +++ b/internal/service/bedrock/foundation_models_data_source_test.go @@ -15,7 +15,7 @@ import ( func TestAccBedrockFoundationModelsDataSource_basic(t *testing.T) { ctx := acctest.Context(t) - datasourceName := "aws_bedrock_foundation_models.test" + datasourceName := "data.aws_bedrock_foundation_models.test" resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.BedrockEndpointID) }, @@ -35,7 +35,7 @@ func TestAccBedrockFoundationModelsDataSource_basic(t *testing.T) { func TestAccBedrockFoundationModelsDataSource_byCustomizationType(t *testing.T) { ctx := acctest.Context(t) - datasourceName := "aws_bedrock_foundation_models.test" + datasourceName := "data.aws_bedrock_foundation_models.test" resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.BedrockEndpointID) }, @@ -55,7 +55,7 @@ func TestAccBedrockFoundationModelsDataSource_byCustomizationType(t *testing.T) func TestAccBedrockFoundationModelsDataSource_byInferenceType(t *testing.T) { ctx := acctest.Context(t) - datasourceName := "aws_bedrock_foundation_models.test" + datasourceName := "data.aws_bedrock_foundation_models.test" resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.BedrockEndpointID) }, @@ -75,7 +75,7 @@ func TestAccBedrockFoundationModelsDataSource_byInferenceType(t *testing.T) { func TestAccBedrockFoundationModelsDataSource_byOutputModality(t *testing.T) { ctx := acctest.Context(t) - datasourceName := "aws_bedrock_foundation_models.test" + datasourceName := "data.aws_bedrock_foundation_models.test" resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.BedrockEndpointID) },