DEV Community

Discussion on: Pulumi - IaC in your favorite programming language!

Collapse
 
schollii profile image
schollii

CDK is too things:
1) an SDK (in several programming languages) to generate CloudFormation template files (CFTF);
2) a controller of cloudformation

Pulumi is similar for #1 (just different API), but very different for #2. CF has a purist implementation of state-based infrastructure, ie CF will not let your stack be halfway betwen your original state and your desired state. If this sounds good in theory, it's a pain in practice, I've seen updates via CF fail both the rollout and the rollback! Then what do you do? You're screwed. With terraform, the description of your infrastructure is the state; it will let you get partway there, but always knows where you are on that path.