hashicorp/terraform-cdk
View on GitHub ↗ ★ 5,066 TypeScript archived
Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
30 mentions on Hacker News by 26 people: 7 stories, 23 comments · first 2020-07-19 · latest 2025-12-16
20082026
-
Hashicorp ships official packages that wrap hcl2json: https://www.npmjs.com/package/@cdktf/hcl2json https://github.com/hashicorp/terraform-cdk/tree/main/package... I use the package to implement module dependency graph tracking across our…
comment by jitl · 2025-06-20 · in What would a Kubernetes 2.0 look like -
I believe you just discovered cdktf https://github.com/hashicorp/terraform-cdk#cdk-for-terraform Also, I couldn't search for samurai in order to know if it's "jinja2 for $other_language" or what, but I just inferred that you wanted a…
comment by mdaniel · 2025-03-08 · in Yoke: Infrastructure as code, but actually -
CDK is literally terraform for developers: https://www.terraform.io/cdktf https://github.com/hashicorp/terraform-cdk
comment by thinkmassive · 2024-08-16 · in Nitric Is Terraform for Developers -
You can use CDK with other providers using https://github.com/hashicorp/terraform-cdk In my experience, CDK is far better than Pulumi, especially if you're mostly going to be using AWS.
comment by shepherdjerred · 2023-12-06 · in Show HN: Winglang – A new cloud-oriented programming language -
https://github.com/hashicorp/terraform-cdk uses CDK's constructs
comment by jpraczyk · 2023-05-27 · in Cloud, Why So Difficult? -
Why not both? https://github.com/hashicorp/terraform-cdk
comment by digianarchist · 2022-11-12 · in AWS IAM Roles, a tale of unnecessary complexity -
This already exists. https://github.com/hashicorp/terraform-cdk/
comment by w1nt3rmut3 · 2022-01-03 · in Terraform Scripting Concepts -
Im gonna take this moment to plug cdktf: https://github.com/hashicorp/terraform-cdk It's something I have been playing with recently and oh boy the possibilities here are really exciting.
comment by humantorso · 2021-11-04 · in HashiCorp – S1 -
…Microsoft moving into a position of control & domination in the Javascript/NodeJS ecosystem. [1] https://github.com/hashicorp/terraform-cdk
comment by vesuvianvenus · 2021-10-10 · in How I built a modern website in 2021 -
"tempted to give Terraform a look, but if I do, it will be terraform + CDK probably: https://github.com/hashicorp/terraform-cdk " The above package supports typescript as a language but not nodejs ... no thank you. I don't want to see…
comment by vesuvianvenus · 2021-10-07 · in Terraform vs. AWS CloudFormation -
…say I am highly tempted to give Terraform a look, but if I do, it will be terraform + CDK probably: https://github.com/hashicorp/terraform-cdk For me troubleshooting, speed, and that punch in the gut feeling when you see after 30 mins of…
comment by eranation · 2021-10-07 · in Terraform vs. AWS CloudFormation -
Terraform is also working on allowing actual code: https://github.com/hashicorp/terraform-cdk
comment by the_duke · 2021-09-19 · in Terraform is not the golden hammer -
Have you seen Terraform CDK? https://github.com/hashicorp/terraform-cdk
comment by MehdiHK · 2021-06-08 · in Terraform 1.0 -
There's CDK for Terraform: https://github.com/hashicorp/terraform-cdk
comment by mwarkentin · 2021-06-08 · in Terraform 1.0 -
People mention pulumi but hashicorp are creating something similar with https://github.com/hashicorp/terraform-cdk . But all the existing terraform providers work with it afaik.
comment by granra · 2021-06-08 · in Terraform 1.0 -
…you to drive Terraform from a variety of high-level programming languages instead of it's DSL. https://github.com/hashicorp/terraform-cdk/
comment by cmclaughlin · 2021-04-20 · in Pulumi 3.0 -
…it's not AWS specific - it should work with any Terraform provider and there are heaps available. https://github.com/hashicorp/terraform-cdk
comment by cmclaughlin · 2021-04-20 · in Pulumi 3.0 -
You could try Terraform CDK[0] which supports TypeScript, Python, Java, and C#. [0] https://github.com/hashicorp/terraform-cdk
comment by aequitas · 2021-04-20 · in Pulumi 3.0 -
…modeling my AWS environments with Python using Terraform only as the engine. More info here: https://github.com/hashicorp/terraform-cdk
comment by cmclaughlin · 2021-04-14 · in Terraform 0.15 General Availability -
try out https://github.com/hashicorp/terraform-cdk i've had success with it thus far. i'm mostly using mainstream providers at this point though.
comment by chucky_z · 2020-11-23 · in A Month of Terraform -
CDK for Terraform - https://github.com/hashicorp/terraform-cdk
comment by caution · 2020-11-19 · in The Cloud Development Kit for Terraform (Preview) -
…with them https://www.hashicorp.com/resources/aws-terraform-landing-zo... and of course the https://github.com/hashicorp/terraform-cdk I am not sure what I would think of an offering from one cloud provider to support another cloud…
comment by utahcon · 2020-11-03 · in AWS hearts multi-cloud? It's gonna happen -
I ran into bugs with Pulumi. But I’ve really been enjoying CDK for Terraform - check it out: https://github.com/hashicorp/terraform-cdk For those that don’t follow this space very closely - this allows yiu to model infrastructure in your…
comment by cmclaughlin · 2020-11-03 · in AWS hearts multi-cloud? It's gonna happen