writing6 min read
Type-driven infrastructure, finally
SST and CDK pushed infra-as-code into TypeScript. The interesting part is what type inference does to the shape of a stack.
#devops#typescript#iac
Terraform taught us that infrastructure is software. SST taught us that it can also be a TypeScript program your editor understands.
The shift is small and important. When the bucket name is a value the compiler knows about, the function that reads from it cannot misspell the bucket. The classes of bugs that used to live in YAML, like typos, missing permissions, and drift, collapse into red squiggles you fix at the speed of thought.