AWS Cloud Development Kit (CDK) has just hit general availability, and it’s trying to dethrone terraform. CDK is AWS’ response to the limitation and criticism levied against cloud formation – namely quality of life features (like for-loops, if statements, organization into modules, etc..) and more advanced features like object-oriented design and high-level abstractions. Ultimately it is to early to know if CDK will sway people away from terraform, but it is a dam good start.
For example, to create an EC2 the following typescript can be used:
Time will tell if CDK will be amazing but things are looking hopeful and I for one will be watching.