This repo has a collection of pulumi examples. You can also checkout this pulumi provider: https://github.com/tpjg/pulumi-nanovms