Hacker News new | ask | show | jobs
by joseph 2519 days ago
Well, CDK actually produces CloudFormation templates. Sorry, but I always feel the urge to jump in when people claim Terraform should be used instead of CloudFormation because of personal preferences. If you are AWS native and already using CloudFormation, I see no reason to switch. CloudFormation provides a ton of functionality out of the box and Amazon handles it for you. Rollbacks alone are a huge reason one might want to use it over Terraform.
1 comments

well the reason to switch from CDK to Terraform is that your infrastructure management becomes a lot more cloud agnostic.

That's basically what Terraform is for anyway. If you wanted, you could have scripted using the AWS SDK in python or something.

if that's not a concern, then i suppose CDK is as good as any (probably better, since its in Typescript...but then so is Pulumi)