3 ms·
Ever tried Pulumi? I myself am allergic to TypeScript, but seems they support using it, among a ton of other languages: https://www.pulumi.com/docs/iac/language
by embedding-shape 1y ago
Ever tried Pulumi? I myself am allergic to TypeScript, but seems they support using it, among a ton of other languages: https://www.pulumi.com/docs/iac/languages-sdks/javascript/ https://www.pulumi.com/docs/iac/languages-sdks/javascript/
- _pdp_ 1y agoI literally meant typescript types... i.e. define the types of the solution rather than an algorithm... it servers the same purpose as using something like terraform: ``` 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
- embedding-shape 1y agoAh, I think what you're asking for is "declarative" configuration, rather than the typical imperative code for setting up infrastructure. I think that's what you're out after, but with strong types?
- _pdp_ 1y agoExactly...