Love it! This is indeed a much more flexible approach.
Cc @colossal-beach-47527@clever-sunset-76585@big-piano-35669 who may also be interested in this.
Thanks for sharing!
one more reason to use this approach: we started using private npm packages with pulumi-nodejs SDK. it adds more requirements for an environment where pulumi runs