pulumi/pkg/backend/local
Matt Ellis 56d7f8eb24 Support new stack identity for the cloud backend
This change introduces support for using the cloud backend when
`pulumi init` has not been run. When this is the case, we use the new
identity model, where a stack is referenced by an owner and a stack
name only.

There are a few things going on here:

- We add a new `--owner` flag to `pulumi stack init` that lets you
  control what account a stack is created in.

- When listing stacks, we show stacks owned by you and any
  organizations you are a member of. So, for example, I can do:

  * `pulumi stack init my-great-stack`
  * `pulumi stack init --owner pulumi my-great-stack`

  To create a stack owned by my user and one owned by my
  organization. When `pulumi stack ls` is run, you'll see both
  stacks (since they are part of the same project).

- When spelling a stack on the CLI, an owner can be optionally
  specified by prefixing the stack name with an owner name. For
  example `my-great-stack` means the stack `my-great-stack` owned by
  the current logged in user, where-as `pulumi/my-great-stack` would
  be the stack owned by the `pulumi` organization

- `--all` can be passed to `pulumi stack ls` to see *all* stacks you
  have access to, not just stacks tied to the current project.
2018-04-18 04:54:02 -07:00
..
backend.go Support new stack identity for the cloud backend 2018-04-18 04:54:02 -07:00
crypto.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
display.go Switch to a new grid-view for the progress display. (#1201) 2018-04-15 12:47:53 -07:00
progress.go Progress tweaks (#1219) 2018-04-16 23:41:00 -07:00
rows.go Progress tweaks (#1219) 2018-04-16 23:41:00 -07:00
stack.go Introduce backend.StackReference 2018-04-18 04:54:02 -07:00
state.go Remove the need to pulumi init for the local backend 2018-04-18 04:53:49 -07:00
stream.go Improve how we print out failures when doing progress updates. (#1159) 2018-04-12 10:56:39 -07:00