From 5bb7b177b7e28953500b99b07cb143fa2e9c8213 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Fri, 5 Apr 2019 12:58:23 +0100 Subject: [PATCH] Disable retries for STS --- pkg/eks/api.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/eks/api.go b/pkg/eks/api.go index 09e57fcc24..8cc6557556 100644 --- a/pkg/eks/api.go +++ b/pkg/eks/api.go @@ -110,7 +110,9 @@ func New(spec *api.ProviderConfig, clusterSpec *api.ClusterConfig) *ClusterProvi provider.cfn = cloudformation.New(s) provider.eks = awseks.New(s) provider.ec2 = ec2.New(s) - provider.sts = sts.New(s) + // STS retrier has to be disabled, as it's not very helpful + // (see https://github.com/weaveworks/eksctl/issues/705) + provider.sts = sts.New(s, request.WithRetryer(s.Config.Copy(), nil)) provider.iam = iam.New(s) provider.cloudtrail = cloudtrail.New(s)