Maximizing Terraform modules for platform engineering
thenewstack.io
thenewstack.io
To clarify, it doesn't magically generate Terraform, it uses concrete Terraform modules that you define and maintain and maps them to resource declarations that are made in the application code using CDKTF.
Maybe if you work at a shop where you repeat the same thing, thinking of a module hierarchy that allows reuse makes a lot of sense.
But with HCL you’re essentially doomed to copy-paste your configuration anyways, so the takeaway for me is:
If you’re going to copy-paste Terraform code for entire, similar-looking projects, consider using modules.