What’s the best way to break resources into multip...
# typescript
a
What’s the best way to break resources into multiple files? Any pulumi recommended way or use Typescript exports?
b
I've been using [ComponentResource](https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#CustomResource) classes to encapsulate related resources
💯 1
l
Also the only reasonable chunk of unit testable code (since you want to avoid everything like
pulumi.config
and StackReferences in unit tested code).