pulumi/cmd
joeduffy 877fa131eb Detect duplicate object names
This change detects duplicate object names (monikers) and issues a nice
error message with source context include.  For example:

    index.ts(260,22): error MU2006: Duplicate objects with the same name:
        prod::ec2instance:index::aws:ec2/securityGroup:SecurityGroup::group

The prior code asserted and failed abruptly, whereas this actually points
us to the offending line of code:

    let group1 = new aws.ec2.SecurityGroup("group", { ... });
    let group2 = new aws.ec2.SecurityGroup("group", { ... });
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
2017-02-24 16:03:06 -08:00
..
create.go Implement updates 2017-02-23 14:56:23 -08:00
delete.go Implement updates 2017-02-23 14:56:23 -08:00
describe.go Print the dependency key and value during describe 2017-02-21 12:30:31 -08:00
eval.go Redo object monikers 2017-02-24 14:50:02 -08:00
get.go Begin merging MuPackage/MuIL into the compiler 2017-01-17 17:04:15 -08:00
mu.go Repivot plan/apply commands; prepare for updates 2017-02-22 11:21:26 -08:00
shared.go Detect duplicate object names 2017-02-24 16:03:06 -08:00
update.go Implement updates 2017-02-23 14:56:23 -08:00
verify.go Add a mu verify command 2017-02-03 19:27:37 -08:00
version.go Annotate a bunch of TODOs with work item numbers 2016-11-23 12:30:02 -08:00