# Create AWS WAF rate based rule

**URL:** <https://forum.ansible.com/t/create-aws-waf-rate-based-rule/27561>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [May 18, 2018, 4:33pm UTC](https://forum.ansible.com/t/create-aws-waf-rate-based-rule/27561 "2018-05-18T16:33:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.plappert](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@daniel.plappert](https://forum.ansible.com/u/daniel.plappert)\
**Post date:** [May 18, 2018, 4:33pm UTC](https://forum.ansible.com/t/create-aws-waf-rate-based-rule/27561/1 "2018-05-18T16:33:15Z")

</div>

Hi,

I am trying to create a rate based WAF rule, but I don’t see how to do it. I am only able to create a “normal” rule with a condition of type IP, geo, etc. The aws\_waf\_condition and aws\_waf\_rule modules have no option for it in the type parameter. But it is possible to connect a rate based rule with a web ACL. The module aws\_waf\_web\_acl module has a parameter “rules”, which has a type key and its value can either be rate\_based or regular.

So, my question is, how can I create a rate baed waf rule?

Thanks for your help.

Best regards,  
Daniel
