https://pulumi.com logo
Title
c

careful-summer-45848

03/21/2023, 12:52 PM
hi, two quick questions: • Is it possible to set different entry points for different stacks? I was hoping you could just set "main" to a different entry in the stack yaml file but it appears not • Is it possible to list all the stacks within a project without using the command line?
e

echoing-dinner-19531

03/21/2023, 11:45 PM
Is it possible to set different entry points for different stacks? I was hoping you could just set "main" to a different entry in the stack yaml file but it appears not
You could grab something from stack config and just branch to a different actual main function based on that. Doesn't feel like something that really needs an extra feature to do.
Is it possible to list all the stacks within a project without using the command line?
Have you looked at the automation api? https://www.pulumi.com/docs/guides/automation-api/