From e0a0886689dcf5047be904b3d887267ce4884246 Mon Sep 17 00:00:00 2001 From: Jordan Finneran Date: Fri, 10 Jun 2022 21:05:54 +0100 Subject: [PATCH 1/2] Allow Eventbridge API Destination Invocation Rate Limit to be greater than 300 --- internal/service/events/api_destination.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/events/api_destination.go b/internal/service/events/api_destination.go index 9243291d488..789b6436d11 100644 --- a/internal/service/events/api_destination.go +++ b/internal/service/events/api_destination.go @@ -46,7 +46,7 @@ func ResourceAPIDestination() *schema.Resource { "invocation_rate_limit_per_second": { Type: schema.TypeInt, Optional: true, - ValidateFunc: validation.IntBetween(1, 300), + ValidateFunc: validation.IntAtLeast(1), Default: 300, }, "http_method": { From 20a162a80759d9a33ac5d94cc224e91b7ba83c9f Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 22 Jun 2022 15:47:05 -0400 Subject: [PATCH 2/2] Add CHANGELOG entry. --- .changelog/25277.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/25277.txt diff --git a/.changelog/25277.txt b/.changelog/25277.txt new file mode 100644 index 00000000000..72a9b92582d --- /dev/null +++ b/.changelog/25277.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/aws_cloudwatch_event_api_destination: Remove validation of a maximum value for the `invocation_rate_limit_per_second` argument +``` \ No newline at end of file