From 16456becb4b53ba0086676305570b9931c1c7191 Mon Sep 17 00:00:00 2001 From: Ivan Romanenko Date: Tue, 8 Oct 2024 14:01:07 +0000 Subject: [PATCH] Pull request #1406: reduce limit to int32 Merge in CLOUD/terraform-provider-yandex-mirror from reduce-limit-to-int32 to master Squashed commit of the following: commit 300735e527bd2a02df56cce554328b457c05e64f Author: iva-romanenko Date: Tue Oct 8 15:47:35 2024 +0200 reduce limit to int32 --- yandex/resource_yandex_sws_advanced_rate_limiter_profile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yandex/resource_yandex_sws_advanced_rate_limiter_profile.go b/yandex/resource_yandex_sws_advanced_rate_limiter_profile.go index 87b054be..bc749c5b 100644 --- a/yandex/resource_yandex_sws_advanced_rate_limiter_profile.go +++ b/yandex/resource_yandex_sws_advanced_rate_limiter_profile.go @@ -478,7 +478,7 @@ func resourceYandexSmartwebsecurityAdvancedRateLimiterAdvancedRateLimiterProfile "limit": { Type: schema.TypeInt, Optional: true, - ValidateFunc: validation.IntBetween(1, 9999999999999), + ValidateFunc: validation.IntBetween(1, 2147483647), }, "period": { @@ -880,7 +880,7 @@ func resourceYandexSmartwebsecurityAdvancedRateLimiterAdvancedRateLimiterProfile "limit": { Type: schema.TypeInt, Optional: true, - ValidateFunc: validation.IntBetween(1, 9999999999999), + ValidateFunc: validation.IntBetween(1, 2147483647), }, "period": {