pulumi/pkg
Matt Ellis 687a780b20 Show a better error when `--force` needs to be passed to `stack rm`
When `pulumi stack rm` is run against a stack with resources, the
service will respond with an error if `--force` is not
passed. Previously we would just dump the contents of this error and
it looked something like:

`error: [400] Bad Request: Stack still has resources.`

We now handle this case more gracefully, showing our usual "this stack
still has resources" error like we would for the local backend.

Fixes #2431
2019-02-07 15:25:02 -08:00
..
apitype Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00
backend Show a better error when `--force` needs to be passed to `stack rm` 2019-02-07 15:25:02 -08:00
diag Initial stack history command (#2270) 2019-01-14 18:19:24 -08:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Add support for explicit delete-before-replace (#2415) 2019-01-31 14:27:53 -08:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00
resource Add support for explicit delete-before-replace (#2415) 2019-01-31 14:27:53 -08:00
testing add more test logging. (#2405) 2019-01-29 13:14:06 -08:00
tokens Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
tools Add a `WriteString` method to `tools/GenWriter`. (#1839) 2018-08-29 14:43:20 -07:00
util Use both a in-proc and out-of-proc pipenv lock (#2381) 2019-01-23 09:32:59 -08:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Do upfront validation during `pulumi new` 2019-01-17 09:14:22 -08:00