gifted-angle-51057
08/28/2023, 6:55 PM__main__.py
that lives in the current directory. I try to keep the main package dir tidy with no Python files in it to avoid ambiguous imports, so I'd like to put it into a module like myapp.deployment.pulumi_main
or similar.
I have a few separate questions about this:
• How does Pulumi figure out exactly where to read the code from?
◦ Is it hard-coded?
◦ Is changing it possible?
• Are there best practices for larger projects around how to organize code? For example, should I be putting my Pulumi code into a different Git repo from my application?dry-keyboard-94795
08/28/2023, 7:33 PMmain
setting in Pulumi.yaml to specify a directory, but it'll always load with __main__.py
in that directorygifted-angle-51057
08/30/2023, 6:49 PMdry-keyboard-94795
08/30/2023, 6:52 PMgifted-angle-51057
08/30/2023, 6:59 PMdry-keyboard-94795
08/30/2023, 7:00 PM