pulumi/pkg
Joe Duffy 36ab8f0087
Make config a little less error prone
As articulated in #714, the way config defaults to workspace-local
configuration is a bit error prone, especially now with the cloud
workflow being the default.  This change implements several improvements:

* First, --save defaults to true, so that configuration changes will
  persist into your project file.  If you want the old local workspace
  behavior, you can specify --save=false.

* Second, the order in which we applied configuration was a little
  strange, because workspace settings overwrote project settings.
  The order is changed now so that we take most specific over least
  specific configuration.  Per-stack is considered more specific
  than global and project settings are considered more specific
  than workspace.

* We now warn anytime workspace local configuration is used.  This
  is a developer scenario and can have subtle effects.  It is simply
  not safe to use in a team environment.  In fact, I lost an arm
  this morning due to workspace config... and that's why you always
  issue warnings for unsafe things.
2017-12-13 10:46:54 -08:00
..
backend Make config a little less error prone 2017-12-13 10:46:54 -08:00
compiler/errors Use Stack over Environment to describe a deployment target 2017-10-16 13:04:20 -07:00
diag Add (back) component outputs 2017-11-20 17:38:09 -08:00
encoding Use go-yaml directly 2017-10-20 14:01:37 -07:00
engine Merge pull request #708 from pulumi/fix-660 2017-12-12 16:02:48 -08:00
graph Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
operations Use AWS access key in operations prvider when available (#697) 2017-12-11 15:40:39 -08:00
pack Save configuration under the stack by default (#696) 2017-12-11 14:41:57 -08:00
resource Set pwd for plugins (#706) 2017-12-12 12:31:09 -08:00
testing Break out additional test helper. (#699) 2017-12-11 15:48:45 -08:00
tokens Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
tools Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
util Fix pending delete replacement failure (#658) 2017-12-07 09:44:38 -08:00
version Add a manifest to checkpoint files (#630) 2017-12-01 13:50:32 -08:00
workspace Issue an error when a project file isn't found 2017-12-06 17:26:45 -08:00