Is there a way to run a `pulumi up` command from a...
# general
b
Is there a way to run a
pulumi up
command from a different directory than the one your project is stored in? I'm trying something like
Copy code
pulumi up ./path/to/project
Where my stack yaml and pulumi yaml are stored. However, pulumi starts asking me for the project name and description when I do this rather than running the existing one and then errors with a
no file or directory
. I've tried specifying using the
--stack
flag or using the
file://
system specifier but no luck. Any ideas always appreciated. Thanks 😄
s
I think you are looking for --cwd flag
pulumi up -y --cwd ./path/to/dir
b
Thank you very much @sparse-spring-91820! I missed it because it was in the parent commands 😓