Re:XML is better than YAML
by ActorNightly on Wednesday September 20, 2023 @10:50PM
(#37592690)
To be fair, Amazon is pushing cdk with typescript as the best way to define infrastructure.
[ Parent
| on HN ]
Last I checked, CDK was just a typescript veneer atop the steaming pile that is known as CloudFormation.
Not even tagged unions can polish that turd.
And it always will be, cdktf is the same but on Terraform objects. At some point you have to reach the end and spit out the final list of stuff you want.
If you want full imperative just use the AWS sdk or Ansible but I think people have realized how not maintainable that pattern is.
Re:XML is better than YAML
by emodendroket on Thursday September 21, 2023 @12:41AM
(#37593291)
Sure, like C is just a veneer on top of machine language.
Every time I need to do something in CDK I am reminded of https://xkcd.com/2347/ except the whole thing is my config and the tiny bit is the thing I want to understand how to change.
Re:XML is better than YAML
by ActorNightly on Friday September 22, 2023 @09:32PM
(#37619856)
CFN is also a bunch of abstraction over api calls. You can set up infrastructure using boto3 if you want, for free.