News for hackers. Stuff that matters.
Re:Infrastructure as Code, Part One by novaleaf on Sunday April 14, 2019 @10:56AM (#19659760)
I've moved my bash based GCP vm deployment script to typescript, via shelljs: https://www.npmjs.com/package/shelljs

ShellJs works pretty nice. Not only is my script now cross platform, but doing conditional logic and user prompting is a lot easier in code than bash.

The only "issue" I've found is that ShellJs is quite barebones. I wrote a wrapper over it to do everything, such as nice question prompting and colored output.

There are no comments on this comment yet.