pulumi/pkg
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
..
compiler Detect duplicate object names 2017-02-24 16:03:06 -08:00
config Fix a few go vet issues 2017-01-27 15:14:19 -08:00
diag Echo resource provider outputs 2017-02-22 18:53:36 -08:00
encoding Implement snapshot MuGL 2017-02-21 18:31:43 -08:00
eval Detect duplicate object names 2017-02-24 16:03:06 -08:00
graph Implement updates 2017-02-23 14:56:23 -08:00
pack Generalize default modules 2017-02-15 12:53:36 -08:00
resource Detect duplicate object names 2017-02-24 16:03:06 -08:00
tokens Use export tables 2017-02-13 09:56:25 -08:00
util Wait for SecurityGroups to become active 2017-02-23 10:18:37 -08:00
workspace Repivot plan/apply commands; prepare for updates 2017-02-22 11:21:26 -08:00