You know you can lock modules versions, right?
And of course the environment recreation needs to be tested periodically if you have a disaster recovery plan.
Locked modules only works if all of your modules are pulled in through the registry. that isn't an option at some places.
Testing environment recreation is impossible at a certain scale. Try it when you have hundreds of people adding terraform code most of who only know how to copy and paste.
Testing environment recreation is impossible at a certain scale. Try it when you have hundreds of people adding terraform code most of who only know how to copy and paste.