https://pulumi.com logo
f

full-dress-10026

10/02/2018, 11:36 PM
Should this really be considered an error?
Copy code
$ pulumi stack output --stack ComputeSoftware/datomic-prod
error: current stack has no output properties
b

bitter-oil-46081

10/02/2018, 11:39 PM
If the command issued no output, would that be more surprising? Or would you expect some output just not with red text and an error prefix?
f

full-dress-10026

10/02/2018, 11:40 PM
I just wouldn't expect the process to exit with a non-zero status.
So yes, perhaps no red text and error prefix.
b

bitter-oil-46081

10/02/2018, 11:42 PM
Okay, but if there was just text that said “current stack has no output properties” (and exited with code 0) that would seem reasonable to you?
f

full-dress-10026

10/02/2018, 11:43 PM
Yes
b

bitter-oil-46081

10/02/2018, 11:43 PM
Thanks, I’ll open an issue.
👍 1
b

big-piano-35669

10/03/2018, 2:09 AM
If
--json
is passed, however, it should return the empty map.
👍 1