Skip to content

Commit

Permalink
Pull request #1406: reduce limit to int32
Browse files Browse the repository at this point in the history
Merge in CLOUD/terraform-provider-yandex-mirror from reduce-limit-to-int32 to master

Squashed commit of the following:

commit 300735e527bd2a02df56cce554328b457c05e64f
Author: iva-romanenko <iva-romanenko@yandex-team.ru>
Date:   Tue Oct 8 15:47:35 2024 +0200

    reduce limit to int32
  • Loading branch information
Ivan Romanenko committed Oct 8, 2024
1 parent b307c89 commit 16456be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yandex/resource_yandex_sws_advanced_rate_limiter_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func resourceYandexSmartwebsecurityAdvancedRateLimiterAdvancedRateLimiterProfile
"limit": {
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntBetween(1, 9999999999999),
ValidateFunc: validation.IntBetween(1, 2147483647),
},

"period": {
Expand Down Expand Up @@ -880,7 +880,7 @@ func resourceYandexSmartwebsecurityAdvancedRateLimiterAdvancedRateLimiterProfile
"limit": {
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntBetween(1, 9999999999999),
ValidateFunc: validation.IntBetween(1, 2147483647),
},

"period": {
Expand Down

0 comments on commit 16456be

Please sign in to comment.