This looks really cool! I wonder if it only checks for collisions in the current statefile/template, or whether it actually makes call to the cloud provider and checks for even external collisions there? Though I guess that would be very complicated to accomplish without writing tons of glue code.<p>That said, if you like infra-as-code and are scaling your usage to more people, I recommend taking a look at tools like Spacelift[0].<p>We're a CI/CD that's specialized for infra-as-code and integrate very deeply with Terraform, CloudFormation, and similar tools workflows. This way we can give you better visibility, security and easy customizability through automations that are tailor-made for infra-as-code use cases. You can ofc additionally also hook in tools like this one.<p>Esp. if you want a single team creating reusable templates and guardrails for the whole company, Spacelift can help you a lot, but it's very useful for any bigger group of people using IaC together.<p>Disclaimer: Software Engineer at Spacelift, grains of salt shall be taken with the above<p>[0]: <a href="https://spacelift.io" rel="nofollow">https://spacelift.io</a>