sparse-intern-71089
08/15/2022, 11:48 AMgorgeous-country-43026
08/15/2022, 11:52 AMgorgeous-country-43026
08/15/2022, 11:54 AMindex.ts
, then in code inspect which stack is in use and then dynamically import the subfolder index.ts
or similar... But sounds a bit like a hack that is not going to end up wellgorgeous-country-43026
08/15/2022, 11:58 AMgorgeous-country-43026
08/15/2022, 11:59 AMnode_modules
isn't insane in size šworried-rain-74420
08/15/2022, 3:45 PMbut I faced a problem where Pulumi expectsNot sure if this will help, but you can point Pulumi to a different file than index.ts or index.js into be in the root of the projectindex.ts
package.json
https://www.pulumi.com/docs/intro/languages/javascript/#entrypointworried-rain-74420
08/15/2022, 3:51 PMPulumi.yml
but you might be able to change main
in Pulumi-dev.yml
, Pulumi-prod.yml
etc. I doubt that, though.
Itās also possible āhierarchical configā might give you the flexibility you want. Thatās on the roadmap for Q4. Not completely sure that will give you what you want either tbh.gorgeous-country-43026
08/15/2022, 6:15 PMworried-rain-74420
08/15/2022, 7:50 PMlittle-cartoon-10569
08/15/2022, 9:31 PMlittle-cartoon-10569
08/15/2022, 9:32 PM