While working on building blockchain node infrastructure, one of the tools I used is Terraform.

The built-in providers in Terraform didn't allow me to check whether a file, or directory exists, or even to create directories.

So I wrote a custom Terraform provider that does that.

It's available on Github now.