pulumi preview --expect-no-changes
doesn't use different exit codes depending on the exit reason
#8992
Labels
area/cli
UX of using the CLI (args, output, logs)
good-first-issue
Start here if you'd like to start contributing to Pulumi
help-wanted
We'd love your contributions on this issue
kind/enhancement
Improvements or new features
Hello!
Issue details
Steps to reproduce
pulumi preview --expect-no-changes
uses a single exit code for both casesThis makes it cumbersome to differentiate between these two situations and require workarounds.
It would be better to have an option similar to https://www.terraform.io/cli/commands/plan#detailed-exitcode.
The text was updated successfully, but these errors were encountered: