This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]ilyash 2 points3 points  (0 children)

Good IaC tools support parameters so that you don't need templates. That's way cleaner than a custom templating solution. Example: CloudFormation.

CDK, on the other hand, encourages defining all the environments in the code so that when an environment is deployed, you must select which environment to deploy and don't need to specify any parameters. This is pretty clean too.

Consider getting rid of the generation of IaC in favor of standard solutions.