diff --git a/castai/resource_node_configuration_eks_test.go b/castai/resource_node_configuration_eks_test.go index f0c411ed..359eb66f 100644 --- a/castai/resource_node_configuration_eks_test.go +++ b/castai/resource_node_configuration_eks_test.go @@ -55,7 +55,7 @@ func TestAccResourceNodeConfiguration_eks(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "aks.#", "0"), resource.TestCheckResourceAttr(resourceName, "kops.#", "0"), resource.TestCheckResourceAttr(resourceName, "gke.#", "0"), - resource.TestCheckResourceAttr(resourceName, "eks.0.node_group_arn", "arn:aws:iam::000000000000:role/aws_node_group"), + resource.TestCheckResourceAttr(resourceName, "eks.0.node_group_arn", "arn:aws:iam::000000000000:role/aws_node_group"), ), }, { @@ -187,7 +187,7 @@ func testAccEKSClusterConfig(rName string, clusterName string) string { return ConfigCompose(testAccAWSConfig(rName), fmt.Sprintf(` resource "castai_eks_clusterid" "test" { account_id = data.aws_caller_identity.current.account_id - region = "eu-central-1" + region = "eu-west-2" cluster_name = %[1]q } @@ -197,7 +197,7 @@ resource "castai_eks_user_arn" "test" { resource "castai_eks_cluster" "test" { account_id = data.aws_caller_identity.current.account_id - region = "eu-central-1" + region = "eu-west-2" name = %[1]q assume_role_arn = aws_iam_role.test.arn } @@ -207,7 +207,7 @@ resource "castai_eks_cluster" "test" { func testAccAWSConfig(rName string) string { return fmt.Sprintf(` provider "aws" { - region = "eu-central-1" + region = "eu-west-2" } data "aws_caller_identity" "current" {}