'how can i create and update WAF IPset using cloudformation

I need to create A WAF IP SET using Cloud formation

I tried of writting a stack template but its unable to create IP Set



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source