Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mistakes I made when writing Infrastructure as Code, and how to avoid them

Mistakes I made when writing Infrastructure as Code, and how to avoid them

There have been ways to generate CloudFormation templates using general-purpose programming languages since 2013. As such, there have been many learning opportunities even before the CDK was released. In this talk, we will look at some mistakes we made in those years to avoid them in the future

Ben Bridts

April 30, 2021
Tweet

More Decks by Ben Bridts

Other Decks in Programming

Transcript

  1. In summary • Do you need to be clever? Examples

    and scanning works too • have a way to build mechanical sympathy • custom resources are applications • use CloudFormation features like private resource types • abstractions are hard • Bonus: avoid side effects and state