There's several reasons, but the main reason people like CDK is it lets you use an actual programming language. You can write complex code that generates infrastructure dynamically however you like, just like you were writing any other type of software. Terraform is just static templates.
Why not just use terraform?
There's several reasons, but the main reason people like CDK is it lets you use an actual programming language. You can write complex code that generates infrastructure dynamically however you like, just like you were writing any other type of software. Terraform is just static templates.
@@traintocode That is not entirely true. Terraform has loops and dynamic syntax.
You are right thanks for the correction. Another reason then... AWS CDK is open source 🤪