I'm pretty new to Pulumi and Python. What is the b...
# python
w
I'm pretty new to Pulumi and Python. What is the best way to split a module up? If I define everything at the top level and import all the modules into the main module is that sufficient?
🙌 1
e
Hi Jason, I was in the same position at the start of this year. The approach I took initially was to develop in the main module and then refactor it. I ended up with a separate config.py module, a backend module where all the Pulumi Azure calls took place, and two modules based on https://www.pulumi.com/docs/intro/concepts/programming-model/#components