Could also work with the introduction of a new configuration option, like
extraRuntimes
so that backwards compatibility is maintained.
My question really is whether there is anything that allows us to do that currently
e
echoing-dinner-19531
01/30/2023, 9:01 PM
ah, there is kinda for go. You can set an option "binary" to tell the pulumi-language-go host to just exec that file rather than running "go build". I think you could just point that to .sh file with the correct shabang and it would probably work. But that's still only one runtime so you'd have to like comment it out when not using.
g
gorgeous-printer-90037
01/31/2023, 11:09 AM
Yeah, I saw the solution with the custom script. I wanted something I could commit for other people to use with a runtime flag or the like. Thanks for the prompt answer!
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.