Hi everyone, I'm trying to launch my first pulumi ...
# typescript
j
Hi everyone, I'm trying to launch my first pulumi based infra, however I have an issue: I have an index.ts file which imports a cluster.ts file. In the cluster.ts file I need to access an output from index.ts, however I can't find a way to do it. Did anyone here have the same need and managed to do it? thanks!
c
If there is no specific reason the output currently exists in index.ts, you should move that output (and possibly any related resources) to another file that you can import into both of those files.