3 ms·
It seems because of the compiler tool chain? Eg this language can be “compiled” to terraform manifests. To do that with JavaScript or python you’d need some re
by jakewins 4y ago
It seems because of the compiler tool chain? Eg this language can be “compiled” to terraform manifests.
To do that with JavaScript or python you’d need some really strong static analysis to work out what to do if the user, say, writes a function that returns a list of new buckets to create, or whatever.
Eg the argument seems to be the ability to statically deduce the required underlying cloud resources the code is talking about
- angio 4y agoOn the other hand the example on the landing page looks very close to what I can do with Pulumi (in Typescript) already.
- paulgb 4y agoI’m a fan/user of Pulumi, but this doesn’t feel similar to me. In Pulumi you write code that describes infrastructure, separate from the application layer code you’re deploying. This appears to be using application code to derive infrastructure config automatically. It’s a but like the https://www.shuttle.rs/ https://www.shuttle.rs/ approach. Edit: after taking a deeper look, a more accurate description might be that it allows you to embed application code within IAC.
- OJFord 4y agoBut you can generate e.g. terraform manifests from any language without actually compiling (or transpiling) to it? That seems barely more than an implementation detail: I get .tf or whatever I want at the end of it, that's all I care about isn't it?
- rmbyrro 4y agoIf a library is provided for developers to express the cloud stuff (including custom types), then I believe zero or close to zero static analysis will be needed.