by _pdp_ · 1y ago · 0 comments
btw, on a tangent, I always thought that infra can be defined in typescript types.... is is strange but no need for custom language
someone please steal this idea and make something out of it
``` interface BaseEC2 extends AWSEC2 { type: '...' }
// export means build export interface MyInstance extends BaseEC2 { // some customisations }
// fleet export interface EC2Fleet extends EC2Fleet { instances: MyInstance } ```
etc...
wacky idea but I kind of like it