4 ms·
Take a look at the [CDK](https://aws.amazon.com/cdk/ https://aws.amazon.com/cdk/) if you haven't already. It lets you define your infrastructure using TypeScrip
by inoop 6y ago
Take a look at the [CDK](https://aws.amazon.com/cdk/ https://aws.amazon.com/cdk/) if you haven't already. It lets you define your infrastructure using TypeScript, which then compiles to CloudFormation. You can easily mix infrastructure and Lambda code in the same project if all you're doing is writing some NodeJS glue Lambdas which sounds like what you're looking for.
There's a couple of sharp edges still but in general it just 'makes sense'. If you don't like TypeScript there are also bindings for Python and Java, among others, although TypeScript is really the preferred language.
- autotune 6y agoThis doesn't solve the general lack of observability, lack of logging, and slowness of CloudFormation itself.
- nullsense 6y agoCDK made IaC accessible to me. I hated raw CloudFormation and never bothered with it because of that reason. I had a crack at Terraform, but never got passed the learning curve before my enthusiasm died. Currently using some CDK in a production app and finally I found a way of doing IaC I actually enjoy.
- mjayhn 6y agoYou might really like pulumi. I'm kind of on the opposite end, ops>swe so tons of IAC and i'm using pulumi now as I'm more swe focused https://www.pulumi.com/ https://www.pulumi.com/ (ive no relation to them)
- mjayhn 6y agoI'm late but can't edit, if anyones curious I just found a great article on it; https://itnext.io/getting-started-with-pulumi-sdk-22dc0b7ab83f https://itnext.io/getting-started-with-pulumi-sdk-22dc0b7ab8...
- nullsense 6y agoBasically exact same as CDK. I really prefer this style over CloudFormation and Terraform. I think Pulumi emerging as another player in the space legitimizes the approach. CDK is moving quite fast and not all parts are out of the experimental phase, so there are breaking changes shipped often. I think in a couple of years it will stabilize and mature and become a very productive way of working with infrastructure.