lively-engine-75588
09/24/2024, 2:55 AMpulumi up
to deploy a stack, is there any rules/guidelines to which directory of a repo that cmd needs to be run from?
e.g for the below structure, if I want to deploy resources defined in ./resources/s3/index.ts
where do I use pulumi up?
resources
├── index.ts
└── s3
└── index.ts
little-cartoon-10569
09/24/2024, 3:21 AMlively-engine-75588
09/24/2024, 3:47 AMindex.ts
from root dir into a deeper dir
was wondering why/how the directory restructure would impact the outputs getting printed or notlittle-cartoon-10569
09/24/2024, 3:49 AMlittle-cartoon-10569
09/24/2024, 3:50 AMlittle-cartoon-10569
09/24/2024, 3:50 AMlittle-cartoon-10569
09/24/2024, 3:50 AMlively-engine-75588
09/24/2024, 4:16 AMindex.ts
and am now splitting up resources per services, such as
./s3/index.ts
./cognito/index.ts
./lambda/index.ts
little-cartoon-10569
09/24/2024, 4:36 AMlittle-cartoon-10569
09/24/2024, 4:36 AMlittle-cartoon-10569
09/24/2024, 4:37 AMlively-engine-75588
09/24/2024, 5:18 AMindex.ts
which I want to use to import all my other resource definitions, but unclear of the approach as I seem to be getting it wronglittle-cartoon-10569
09/24/2024, 5:24 AM