https://pulumi.com logo
e

echoing-barista-73764

02/14/2020, 2:09 PM
Is there any complex project example? I found it hard to setup project's structure using modules/non modules and envs
a

abundant-author-13372

02/14/2020, 3:10 PM
Most of the examples I've found are in the style of an application which includes its infra definition, which is not ideal for my use cases. I'm working on a project and my structure is as follows:
Copy code
index.ts
src/components/x.component.ts - pulumi components
src/tools/some.tool.ts - random ts utils
e

echoing-barista-73764

02/15/2020, 9:56 AM
yeah, I've felt the same like the only pulumi use case is to describe some pieces of infra in the application project/dir itself instead of having separate dir/project with all infra described where you can logically organize pulumi code using subfolders.