sparse-intern-71089
11/09/2023, 1:19 PMdry-keyboard-94795
11/09/2023, 1:51 PMcluster.ts
, and have your system
+ apps
files import the resources from there.
Your index.ts
can import everything safely.
It's also worth looking into Component Resources, which use classes that you can initialise with dependencies.
https://www.pulumi.com/docs/concepts/resources/components/