News for hackers. Stuff that matters.
Re:Forget CDK and AWS's insane costs. Pulumi and DigitalOcea... by nuker on Friday November 08, 2024 @06:12AM (#42085952)
> Give me Terraform (as much as I hate it) any day.

Just use CloudFormation. Easy to write, declarative, vars (Parameters and Output exports). Trick is not to pile everything in one Stack. Use several.

Re:Forget CDK and AWS's insane costs. Pulumi and DigitalOcea... by notyourwork on Friday November 08, 2024 @08:31AM (#42086705)
CDK is much better to express this. Why cfn?
Re:Forget CDK and AWS's insane costs. Pulumi and DigitalOcea... by nuker on Friday November 08, 2024 @10:34AM (#42087607)
Less lines, easier to read, declarative (cdk is interactive, less predictable).

And it generates shitty CFN, we can do better ourselves :)

Re:Forget CDK and AWS's insane costs. Pulumi and DigitalOcea... by notyourwork on Friday November 08, 2024 @06:02PM (#42091157)
How is cdk interactive? I use cdk and have it auto build and deploy.
Re:Forget CDK and AWS's insane costs. Pulumi and DigitalOcea... by nuker on Friday November 08, 2024 @06:08PM (#42091183)
It is "imperative", not interactive, sorry. From Wiki:

"There are generally two approaches to IaC: declarative (functional) vs. imperative (procedural). The difference between the declarative and the imperative approach is essentially 'what' versus 'how'."

https://en.wikipedia.org/wiki/Infrastructure_as_code#Types_o...