Skip to content

Commit

Permalink
Merge pull request #439 from stoyanr/upgrade-terraformer-terraform-0.13
Browse files Browse the repository at this point in the history
Upgrade terraformer to v2.13.0, a version that uses terraform 0.13
  • Loading branch information
stoyanr authored Dec 21, 2021
2 parents c5708c0 + 68f7ecd commit f77668d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ images:
- name: terraformer
sourceRepository: github.com/gardener/terraformer
repository: eu.gcr.io/gardener-project/gardener/terraformer-aws
tag: "v2.12.1"
tag: "v2.13.1"

- name: cloud-controller-manager
sourceRepository: github.com/kubernetes/kubernetes
Expand Down
19 changes: 10 additions & 9 deletions pkg/aws/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,16 @@ func NewClient(accessKeyID, secretAccessKey, region string) (*Client, error) {
}

return &Client{
EC2: ec2.New(s, config),
ELB: elb.New(s, config),
ELBv2: elbv2.New(s, config),
IAM: iam.New(s, config),
STS: sts.New(s, config),
S3: s3.New(s, config),
Route53: route53.New(s, config),
Route53RateLimiter: rate.NewLimiter(rate.Inf, 0),
Logger: log.Log.WithName("aws-client"),
EC2: ec2.New(s, config),
ELB: elb.New(s, config),
ELBv2: elbv2.New(s, config),
IAM: iam.New(s, config),
STS: sts.New(s, config),
S3: s3.New(s, config),
Route53: route53.New(s, config),
Route53RateLimiter: rate.NewLimiter(rate.Inf, 0),
Route53RateLimiterWaitTimeout: 1 * time.Second,
Logger: log.Log.WithName("aws-client"),
}, nil
}

Expand Down
3 changes: 2 additions & 1 deletion test/integration/dnsrecord/dnsrecord_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ var _ = Describe("DNSRecord tests", func() {

Expect(dnsrecordctrl.AddToManagerWithOptions(mgr, dnsrecordctrl.AddOptions{
RateLimiter: dnsrecordctrl.RateLimiterOptions{
Limit: rate.Inf,
Limit: rate.Inf,
WaitTimeout: 1 * time.Second,
},
})).To(Succeed())

Expand Down

0 comments on commit f77668d

Please sign in to comment.