Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The model is "use a programming language to generate static configs", so you can't provision infinite VMs--your program would OOM or run out of disk because you're trying to generate an infinitely-large config file. If you're seriously concerned about this (and you shouldn't be), you can use something like Starlark (https://go.starlark.net), which is a Python dialect that prohibits unbounded loops, I/O, etc. Note that if you use Python with type hints, you can actually get more safety than YAML.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: