https://pulumi.com logo
#general
Title
# general
s

strong-match-67698

09/21/2023, 5:38 PM
Is there any reason why
pulumi destroy
requires pulumi project file to be present in the directory? If I run
pulumi destroy -s organization/project_name/stack_name
it doesn't feel like it still needs to read anything from the file system right? Yet it does complain about missing .yaml file and incorrect project name if there is one from a different project. Any idea why is that?
e

echoing-dinner-19531

09/22/2023, 9:20 AM
It will try to find the project file, but if you've given a full stack name it should try to run even if it can't find the yaml file.
s

strong-match-67698

10/02/2023, 2:54 PM
I've tried exactly that, assuming the same logic and it wasn't the case
hence it feels like a minor bug
e

echoing-dinner-19531

10/02/2023, 6:00 PM
Feel free to raise an issue if you've got a reliable way to repro this. It should work, and we should have tests covering this so I suspect you've hit some odd corner case if it isn't working for you.