sparse-intern-71089
11/19/2019, 8:28 PMhandsome-truck-95168
11/19/2019, 8:30 PMhandsome-truck-95168
11/19/2019, 8:30 PMinit
at least once. Right now, I run it everytime but trap the error in cases where the stack already exists.handsome-actor-1155
11/19/2019, 8:31 PMpulumi stack
and check the output to see if any resources are allocated for ithandsome-truck-95168
11/19/2019, 8:33 PMhandsome-truck-95168
11/19/2019, 8:34 PMcolossal-beach-47527
11/20/2019, 12:13 AMpulumi
CLI today, short of running a command and grepping for specific error messages / exit codes. (You can set an environment variable TERM=dumb
, which will skip interactive prompts.)
But this is a good suggestion, as we’d like to better this type of scenario. Could you please file an issue on github.com/pulumi/pulumi? If we can’t think of a good UX for adding a command-line verb, at the very least we can probably add an endpoint to our REST API that you can script using curl
.handsome-truck-95168
11/20/2019, 3:00 AM