Skip to content

Commit

Permalink
Update rate limit validation to allow 1 (#129)
Browse files Browse the repository at this point in the history
Despite what the documentation states, 1 is valid here (at least for
Enterprise customers).
  • Loading branch information
jacobbednarz authored and patryk committed Oct 19, 2018
1 parent e53922d commit 4b3ea5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflare/resource_cloudflare_rate_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func resourceCloudflareRateLimit() *schema.Resource {
"threshold": {
Type: schema.TypeInt,
Required: true,
ValidateFunc: validation.IntBetween(2, 1000000),
ValidateFunc: validation.IntBetween(1, 1000000),
},

"period": {
Expand Down

0 comments on commit 4b3ea5e

Please sign in to comment.