One good way is to have automated tests which make sure that those rules actually work. What if all your AWS rules suddenly get deleted. How are you supposed to know if you have not forgotten any.
Heap has a great blog post on Terraform : https://heap.engineering/terraform-gotchas/
[1]: https://docs.hasura.io/0.14/ref/project-configuration-and-st...