Hi All. If I'm reading this correct, then it appea...
# general
b
Hi All. If I'm reading this correct, then it appears that I can define different runtimes for different stacks. Anyone tried that before and have it work seamlessly? Thanks.
s
Given that a stack is an instance of the resources/state defined by your code in a project, I don’t see how this is possible. Where are you seeing something that leads you to believe you can have different runtimes on a per-stack basis?
b
Maybe reading was the wrong choice of words here. And also, I was wrong about this. Thought that you could define a
runtime
in each stack so that one could have two stacks with differing underlying languages. Not sure what the use case for something like that is, but the idea of it had me 🤯
s
I would also be 🤯 if we supported different runtimes for stacks within a single project! 😄 Runtime selection is per-project, and all stacks within a project use the same runtime. Things like stack references, however, can work across projects that use different language runtimes; you could use a stack reference from TypeScript to access an output from a stack written in Go, for example.