diff --git a/aws/resource_aws_sagemaker_notebook_instance_test.go b/aws/resource_aws_sagemaker_notebook_instance_test.go index 4d46e9091e8..f2ddf0161e9 100644 --- a/aws/resource_aws_sagemaker_notebook_instance_test.go +++ b/aws/resource_aws_sagemaker_notebook_instance_test.go @@ -93,7 +93,7 @@ func TestAccAWSSagemakerNotebookInstance_basic(t *testing.T) { Check: resource.ComposeTestCheckFunc( testAccCheckAWSSagemakerNotebookInstanceExists(resourceName, ¬ebook), resource.TestCheckResourceAttr(resourceName, "name", rName), - resource.TestCheckResourceAttr(resourceName, "instance_type", "ml.t2.medium"), + resource.TestCheckResourceAttr(resourceName, "instance_type", "ml.t3.medium"), resource.TestCheckResourceAttrPair(resourceName, "role_arn", "aws_iam_role.test", "arn"), resource.TestCheckResourceAttr(resourceName, "direct_internet_access", "Enabled"), resource.TestCheckResourceAttr(resourceName, "root_access", "Enabled"), @@ -126,7 +126,7 @@ func TestAccAWSSagemakerNotebookInstance_update(t *testing.T) { Config: testAccAWSSagemakerNotebookInstanceBasicConfig(rName), Check: resource.ComposeTestCheckFunc( testAccCheckAWSSagemakerNotebookInstanceExists(resourceName, ¬ebook), - resource.TestCheckResourceAttr(resourceName, "instance_type", "ml.t2.medium"), + resource.TestCheckResourceAttr(resourceName, "instance_type", "ml.t3.medium"), ), }, @@ -525,7 +525,7 @@ func testAccAWSSagemakerNotebookInstanceBasicConfig(rName string) string { resource "aws_sagemaker_notebook_instance" "test" { name = %[1]q role_arn = aws_iam_role.test.arn - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" } `, rName) } @@ -547,7 +547,7 @@ resource "aws_sagemaker_notebook_instance_lifecycle_configuration" "test" { } resource "aws_sagemaker_notebook_instance" "test" { - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" lifecycle_config_name = aws_sagemaker_notebook_instance_lifecycle_configuration.test.name name = %[1]q role_arn = aws_iam_role.test.arn @@ -560,7 +560,7 @@ func testAccAWSSagemakerNotebookInstanceConfigTags1(rName, tagKey1, tagValue1 st resource "aws_sagemaker_notebook_instance" "test" { name = %[1]q role_arn = aws_iam_role.test.arn - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" tags = { %[2]q = %[3]q @@ -574,7 +574,7 @@ func testAccAWSSagemakerNotebookInstanceConfigTags2(rName, tagKey1, tagValue1, t resource "aws_sagemaker_notebook_instance" "test" { name = %[1]q role_arn = aws_iam_role.test.arn - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" tags = { %[2]q = %[3]q @@ -589,7 +589,7 @@ func testAccAWSSagemakerNotebookInstanceConfigRootAccess(rName string, rootAcces resource "aws_sagemaker_notebook_instance" "test" { name = %[1]q role_arn = aws_iam_role.test.arn - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" root_access = %[2]q } `, rName, rootAccess) @@ -601,7 +601,7 @@ func testAccAWSSagemakerNotebookInstanceConfigDirectInternetAccess(rName string, resource "aws_sagemaker_notebook_instance" "test" { name = %[1]q role_arn = aws_iam_role.test.arn - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" security_groups = [aws_security_group.test.id] subnet_id = aws_subnet.test.id direct_internet_access = %[2]q @@ -643,7 +643,7 @@ func testAccAWSSagemakerNotebookInstanceConfigVolume(rName string) string { resource "aws_sagemaker_notebook_instance" "test" { name = %[1]q role_arn = aws_iam_role.test.arn - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" volume_size = 8 } `, rName) @@ -654,7 +654,7 @@ func testAccAWSSagemakerNotebookInstanceConfigDefaultCodeRepository(rName string resource "aws_sagemaker_notebook_instance" "test" { name = %[1]q role_arn = aws_iam_role.test.arn - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" default_code_repository = %[2]q } `, rName, defaultCodeRepository) @@ -687,7 +687,7 @@ POLICY resource "aws_sagemaker_notebook_instance" "test" { name = %[1]q role_arn = aws_iam_role.test.arn - instance_type = "ml.t2.medium" + instance_type = "ml.t3.medium" kms_key_id = aws_kms_key.test.id } `, rName)