Hello! Has anyone had success with using custom component resources across multiple projects that are stored outside of those projects? Something like:
my-pulumi-project
├── s3.ts
├── index.ts
├── ...
components
└── aws
└── s3
└── PrivateS3BucketV2.ts
The project dir includes the following
tsconfig.json
...
"baseUrl": ".",
"paths": {
"*": ["node_modules/*", "../components/*"]
}
},
"include": ["index.ts", "../components/**/*.ts"]
}
And I am importing like this:
import { PrivateS3BucketV2 } from '../components/aws/s3/PrivateS3BucketV2';
Ive not had much luck with this, seeing errors like
13 INTERNAL: Request message serialization failure: b.Va is not a function
. I am somewhat new to Typescript, am I missing something? Does Pulumi support this sort of pattern?