4 ms·
Yes, that’s exactly what we want. Things like Terraform also permit this via provisioners, and CloudFormation permits it via execution of lambda functions. Almo
by jen20 3y ago
Yes, that’s exactly what we want. Things like Terraform also permit this via provisioners, and CloudFormation permits it via execution of lambda functions. Almost any non trivial infrastructure requires it.
- substation13 3y agoWith Terraform you can statically analyze the infrastructure definition with some guarantees of determinism etc. Arbitrary execution is allowed, as you say, but only in well-contained places, such as local_exec. How can this work if, say, TypeScript is used as the definition language?
- jen20 3y agoWhat degree of determinism do you actually have if provisioners can execute Turing complete code?
- substation13 3y agoIt's a bit like how Rust limits dangerous operations to unsafe blocks