I hate seeing Terraform script or scripting. Am I the only one?
No you’re not the only one. The problem with Terraform “Scripting” is in a lot of cases it takes a loooong time to find out your “runtime” errors. These are typically fat fingered strings. I think something like AWS CDK, where you find these errors at compile, time is a better approach.
This already exists. https://github.com/hashicorp/terraform-cdk/