https://pulumi.com logo
Title
j

jolly-window-25842

10/18/2022, 9:13 AM
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

clever-sunset-76585

10/18/2022, 12:04 PM
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.