pulumi/pkg
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
..
apitype Add a Version field to UntypedDeployment. 2018-04-17 16:23:20 -07:00
backend Support new stack identity for the cloud backend 2018-04-18 04:54:02 -07:00
diag Remove the explicit 'pulumi preview' command. (#1170) 2018-04-13 22:26:01 -07:00
encoding Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
engine Simplify the diff for primitive values. (#1212) 2018-04-17 01:51:53 -07:00
graph Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
operations Don't cache AWS sessions with different credentials 2018-04-09 16:57:27 -07:00
resource Don't leak a file from asset_test.go 2018-04-18 04:54:02 -07:00
testing Support new stack identity for the cloud backend 2018-04-18 04:54:02 -07:00
tokens Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
tools Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
util Remove the need to pulumi init for the local backend 2018-04-18 04:53:49 -07:00
version Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
workspace Introduce backend.StackReference 2018-04-18 04:54:02 -07:00