pulumi/pkg/backend
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
..
display Use "discard" when deleting read resources (#2280) 2019-01-31 13:48:44 -08:00
filestate Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00
httpstate Show a better error when --force needs to be passed to stack rm 2019-02-07 15:25:02 -08:00
state Add license headers 2018-05-22 15:02:47 -07:00
apply.go Don't prompt if you want to continue when --skip-preview is passed 2018-10-26 15:41:29 -07:00
backend.go Add commands for managing stack tags (#2333) 2019-01-04 13:23:47 -08:00
snapshot.go Use "discard" when deleting read resources (#2280) 2019-01-31 13:48:44 -08:00
snapshot_test.go Elide unnecessary checkpoint writes. (#1798) 2018-08-20 14:14:50 -07:00
stack.go Add commands for managing stack tags (#2333) 2019-01-04 13:23:47 -08:00
updates.go Fix error when canceling update (#2254) 2018-11-29 12:54:05 -08:00