From a43cdfe3201c0cca1687369fd427a8051e052ff2 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Thu, 5 Sep 2019 07:58:02 -0400 Subject: [PATCH] tests/resource/aws_eks_cluster: Update version acceptance test with two latest versions Replacing 1.10 and 1.11, which are both deprecated: - https://github.com/aws/containers-roadmap/issues/300 - https://github.com/aws/containers-roadmap/issues/464 Output from acceptance testing: ``` --- PASS: TestAccAWSEksCluster_Version (2292.24s) ``` --- aws/resource_aws_eks_cluster_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aws/resource_aws_eks_cluster_test.go b/aws/resource_aws_eks_cluster_test.go index 70437366a9e..53dbd8b6dc0 100644 --- a/aws/resource_aws_eks_cluster_test.go +++ b/aws/resource_aws_eks_cluster_test.go @@ -127,10 +127,10 @@ func TestAccAWSEksCluster_Version(t *testing.T) { CheckDestroy: testAccCheckAWSEksClusterDestroy, Steps: []resource.TestStep{ { - Config: testAccAWSEksClusterConfig_Version(rName, "1.10"), + Config: testAccAWSEksClusterConfig_Version(rName, "1.13"), Check: resource.ComposeTestCheckFunc( testAccCheckAWSEksClusterExists(resourceName, &cluster1), - resource.TestCheckResourceAttr(resourceName, "version", "1.10"), + resource.TestCheckResourceAttr(resourceName, "version", "1.13"), ), }, { @@ -139,11 +139,11 @@ func TestAccAWSEksCluster_Version(t *testing.T) { ImportStateVerify: true, }, { - Config: testAccAWSEksClusterConfig_Version(rName, "1.11"), + Config: testAccAWSEksClusterConfig_Version(rName, "1.14"), Check: resource.ComposeTestCheckFunc( testAccCheckAWSEksClusterExists(resourceName, &cluster2), testAccCheckAWSEksClusterNotRecreated(&cluster1, &cluster2), - resource.TestCheckResourceAttr(resourceName, "version", "1.11"), + resource.TestCheckResourceAttr(resourceName, "version", "1.14"), ), }, },