perfectsense / gyro

Gyro is a command-line tool for creating, updating, and maintaining cloud infrastructure. Gyro makes infrastructure-as-code possible.
https://gyro.dev
Apache License 2.0
134 stars 7 forks source link

WAF doesn't allow to associate 10 or more rules #413

Closed elheim closed 1 month ago

elheim commented 2 months ago

Describe the bug When I'm trying to add 10th rule to aws::wafv2-web-acl, I'm getting an error rule: Size of the collection must be less than or equal to 10

To Reproduce Steps to reproduce the behavior:

  1. Create wafv2-web-acl
  2. Add 10 or more rules
  3. Get an error from above

Perhaps this rule is connected to AWS's rule, that there're only 10 or less rate-based rules per rule group are allowed.

Expected behavior I would expect gyro to allow me to create rules, if they aren't rate based, since this is not part of the quote. For this case, I was able to create a rule through cli

Stacktrace aws::wafv2-web-acl, I'm getting an error rule: Size of the collection must be less than or equal to 10

Additional context Add any other context about the problem here.

deepanjan90 commented 1 month ago

duplicate of https://github.com/perfectsense/gyro-aws-provider/issues/656