I am considering using the automation api to manage resources I am provisioning on behalf of my users. I have pulumi stack code written and parameterized in the way I need. The thing is, my application is a JVM app. As such, I’m pondering how to get this whole setup working in a prod scenario. My current thinking is to bundle my pulumi stack code into a single js executable (use webpack or ncc), package that into an executable binary (e.g., via pkg), add that binary to my container, and, finally, add the pulumi cli to my container. I can then execute pulumi stack operations by interactive with the binary executable I produced.
Does this sound like a typical workflow for an automation api user?