Hello, I have organised the project into micro-sta...
# getting-started
t
Hello, I have organised the project into micro-stack following https://www.pulumi.com/docs/using-pulumi/organizing-projects-stacks/#micro-stacks I have some questions: • Can I use multi-module Maven project rather than separate Maven projects? • How can I share constants that identify the outputs in different micro-stack? currently I just use a string, but if I change the string in one micro-stack I have to do the same elsewhere where used. Thanks for the attention šŸ™‚
l
So long as you're happy with the order that Maven will run the module builds in, yes you can use multi-modules.
t
Well in that case I will run manually what I need, otherwise I have to set some deps and I dont need always to run all the modules
the idea was to have a kind of common module that shares the constants of the exported variables
if there is a better way I am all hears šŸ™‚
l
Yes, you can name the shared export names via a module that both the exporting and importing modules can depend on.
I've never bothered to go that far, but it would work well.
t
thanks šŸ™‚