powerful-waitress-36724
02/24/2025, 2:21 PMpulumi preview
, but I'm encountering the following error:
Error: failed to get runtime: failed to select stack: chdir /deployment/iac/config: no such file or directory
What could be the cause of this issue, and what are the possible solutions?
Please note that the Pulumi.yaml
file is present at the specified location.
Thanks,
Vallabhlittle-cartoon-10569
02/24/2025, 7:53 PM/deployment/iac/config
. If you can see that directory but whatever script you're running can't, then you need to figure out why. Perhaps you're running something in a container and the paths are different?powerful-waitress-36724
02/25/2025, 5:22 AMlittle-cartoon-10569
02/25/2025, 8:22 PMchdir /deployment/iac/config: no such file or directory
is fairly unamibiguous. It's not even a Pulumi error, it's a system error (chdir is a system call). You need to figure out what bit of your scripts and logic is calling this bit. Maybe it's happening in a different thread? Maybe it's running on a remote machine? I can't tell. But something, somewhere, cannot find that directory.