Is there any good example of a monolith pulumi app...
# python
m
Is there any good example of a monolith pulumi app? with files split into folders
w
Here’s an example with things broken out to separate files: https://github.com/pulumi/examples/tree/master/gcp-py-network-component the config.py is simply about pulling reused bits of code out of the main file. The instance.py and network.py are examples of component resource definitions where you are able to create a reusable class that encapsulates, say, best practices around setting up a network.
👍 1
m
I am trying to use create a PVC in a file and use the same in another file with folders for different environments. I think it's a bit easier with importing files/folders in Typescript and planning to us it