Sadly I can’t share my code as it is for work. Taking a look at your example, I think it might be an issue with calling the application. I’ll have to take a deeper look into that.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.