Skip to content

Commit

Permalink
Disable retries for STS
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Apr 5, 2019
1 parent 3ee5011 commit 5bb7b17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/eks/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5bb7b17

Please sign in to comment.