Hi! Simple question around project configuration. Is it possible to specify main entry file in stack yml files? Use case would be to have one project codebase with stacks managing different responsibilities. Or is there a different way to achieve something similar?
03/11/2020, 8:39 AM
As far as I know Pulumi just parses the main definition of your package.json (given you use js/ts).
I achieved this with a monorepo setup where each responsibility is a separate project in the same got repo.
In theory you could have a config var and your entrypoint file "routes" the deployment depending on this var. But I felt this approach very error prone.
03/11/2020, 9:46 AM
thanks, monorepo sounds good, it's def. cleaner in a long run, when you start to create bunch of stacks