Live data from Hacker News

Ask HN: What's better Terraform or AWS CDK?

news.ycombinator.com

1–10 of 13 posts

Re: Ask HN: What's better Terraform or AWS CDK?

#4
Terraform and the CDK use different programming models to achieve similar goals. The CDK takes a more dynamic scripting approach much like Gradle, while Terraform is more descriptive and declarative. Functionally, I think they have similar capabilities.

Re: Ask HN: What's better Terraform or AWS CDK?

#6
It might not matter _that much_ depending on the complexity of the application you're modeling.

There are lots of options. A few things to consider:

- Is it a dedicated individual or group responsible for the IaC? What are they comfortable with? - Details about the running app will need to find their way into the infra somehow (env vars at least), if it's a separate group or individual, what will be the most obvious process to perform that exchange of information?

I wrote a short piece about point two [1]. Disclosure: I work at a company building a platform with its own opinionated IaC.

1. https://noop.dev/blog/build-apps-not-infrastructure/

Post reply on HN