pulumi/pkg/backend/httpstate
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
..
client Show a better error when `--force` needs to be passed to `stack rm` 2019-02-07 15:25:02 -08:00
backend.go Improve StackReference error message 2019-01-30 15:57:44 -08:00
console.go Rename backend packages 2018-09-05 07:32:42 -07:00
console_test.go Rename backend packages 2018-09-05 07:32:42 -07:00
snapshot.go Rename backend packages 2018-09-05 07:32:42 -07:00
stack.go Small code cleanups 2019-01-25 09:48:27 -08:00
state.go Do not send "debug" level diag events to service by default 2019-01-15 11:04:22 -08:00