Describe the resource you would like to have implemented.
Allow the configuration of flapping detection in the rule body via Terraform, which currently cannot be configured
Describe alternatives you've considered
Post-installation configuration of such alerts, which is cumbersome to do so rather than implement it as code.