Skip to content

Commit 4374f88

Browse files
authored
Merge pull request #36467 from hashicorp/f-ratelimit.None
Default `RateLimiter` is `ratelimit.None`
2 parents 10beb8e + 371d51e commit 4374f88

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/36467.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
provider: Change the default AWS SDK for Go v2 API client [`RateLimiter`](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/aws/retry#RateLimiter) to [`ratelimit.None`](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/aws/ratelimit#pkg-variables) so that services migrated to AWS SDK for Go v2 maintain behavioral compatibility with AWS SDK for Go v1
3+
```

website/docs/index.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ In addition to [generic `provider` arguments](https://www.terraform.io/docs/conf
476476
- [`aws_waf_xss_match_set` resource](/docs/providers/aws/r/waf_xss_match_set.html)
477477
* `sts_region` - (Optional) AWS Region for STS. If unset, AWS will use the same Region for STS as other non-STS operations.
478478
* `token` - (Optional) Session token for validating temporary credentials. Typically provided after successful identity federation or Multi-Factor Authentication (MFA) login. With MFA login, this is the session token provided afterward, not the 6 digit MFA code used to get temporary credentials. Can also be set with the `AWS_SESSION_TOKEN` environment variable.
479-
* `token_bucket_rate_limiter_capacity` - (Optional) The capacity of the AWS SDK's token bucket retry rate limiter. By default each service's bucket has a capacity of 500 tokens.
479+
* `token_bucket_rate_limiter_capacity` - (Optional) The capacity of the AWS SDK's token bucket retry rate limiter. If no value is specified then client-side rate limiting is disabled. If a value is specified there is a greater likelihood of `retry quota exceeded` errors being raised.
480480
* `use_dualstack_endpoint` - (Optional) Force the provider to resolve endpoints with DualStack capability. Can also be set with the `AWS_USE_DUALSTACK_ENDPOINT` environment variable or in a shared config file (`use_dualstack_endpoint`).
481481
* `use_fips_endpoint` - (Optional) Force the provider to resolve endpoints with FIPS capability. Can also be set with the `AWS_USE_FIPS_ENDPOINT` environment variable or in a shared config file (`use_fips_endpoint`).
482482

0 commit comments

Comments
 (0)