Re:Using Actual Code for IaC
by antihero on Friday April 29, 2022 @05:29PM
(#31210781)
Hasn’t Amazon been doing this with the CDK for a while? I really enjoy it!
[ Parent
| on HN ]
I think the difference is that CDK “compiles” down to CloudFormation. Whatever you do it still has to be valid compared to a random application that can do whatever whenever. OFC I’m ignoring the way CDK makes it easier to use (and sometimes encourages) custom providers backed by Lambdas.
Agree and also have to consider that there is a need for solutions for cloud providers other than amazon.
Re:Using Actual Code for IaC
by disposedtrolley on Friday April 29, 2022 @06:24PM
(#31211295)
Have a look at CDKTF [1]. It’s a wrapper around Terraform that lets you use CDK-style semantics that compiles down to a Terraform plan. Every Terraform provider can generated into a CDKTF library.