From 00ea0ec195e69031759fe4150b208804bfb72cb5 Mon Sep 17 00:00:00 2001 From: Ryn Daniels Date: Mon, 12 Aug 2019 15:35:58 +0200 Subject: [PATCH] Final retry after timeout creating EKS cluster --- aws/resource_aws_eks_cluster.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aws/resource_aws_eks_cluster.go b/aws/resource_aws_eks_cluster.go index 7b9fa9da96b..fc1ea3b5d94 100644 --- a/aws/resource_aws_eks_cluster.go +++ b/aws/resource_aws_eks_cluster.go @@ -177,7 +177,9 @@ func resourceAwsEksClusterCreate(d *schema.ResourceData, meta interface{}) error } return nil }) - + if isResourceTimeoutError(err) { + _, err = conn.CreateCluster(input) + } if err != nil { return fmt.Errorf("error creating EKS Cluster (%s): %s", name, err) }