I suppose one could use terraform with local-exec provisioners and lifecycle blocks to mimic a make. I don’t think it’s a good idea though.
Terraform Scripting Concepts
21–23 of 23 posts
Re: Terraform Scripting Concepts
#22Maybe "desired state configuration" ... Terraform DSC ... Like PowerShell DSC
Re: Terraform Scripting Concepts
#23Earlier quoted context omitted.
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/
I wasn't aware of this and I'm glad to see they're doing it. But my guess is this is a relatively recent offering in response to the AWS version and the issues I was mentioning.