pulumi/cmd
Joe Duffy 0e1ca4363a
Bring back stack outputs (#650)
At some point, we fixed a bug in the way state is managed for "same"
steps, which meant that we wouldn't see newly added output properties.
This had the effect that, if you had a stack already stood up, and
updated it to have output properties, we would miss them.  (Stacks
stood up from scratch would still have them.)  This fixes that problem,
in addition to two other things: 1) we need to sort output property
names to ensure a deterministic ordering, and 2) we need to also
unconditionally apply the outputs RPC coming in, to ensure that the
resulting resource always has the correct outputs (so that for example
deleting prior output properties actually deletes them).

Also add some testing for this area to make sure we don't break again.

Fixes pulumi/pulumi#631.
2017-12-05 13:01:54 -08:00
..
lumidl Argument validation for CLI commands 2017-11-29 16:10:53 -08:00
config.go Make some updates based on CR feedback 2017-12-03 08:10:50 -08:00
config_test.go Save config information in Pulumi.yaml 2017-10-20 13:30:07 -07:00
debug_cmds.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
destroy.go Make some updates based on CR feedback 2017-12-03 08:10:50 -08:00
init.go Argument validation for CLI commands 2017-11-29 16:10:53 -08:00
login.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
logs.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
logs_test.go Address PR feedback on #600 (#611) 2017-11-28 12:54:36 -08:00
preview.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
pulumi.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
stack.go Bring back stack outputs (#650) 2017-12-05 13:01:54 -08:00
stack_init.go Make some updates based on CR feedback 2017-12-03 08:10:50 -08:00
stack_ls.go Make some updates based on CR feedback 2017-12-03 08:10:50 -08:00
stack_rm.go Make some updates based on CR feedback 2017-12-03 08:10:50 -08:00
stack_select.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
update.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
util.go Make some updates based on CR feedback 2017-12-03 08:10:50 -08:00
version.go Add a manifest to checkpoint files (#630) 2017-12-01 13:50:32 -08:00