aws-cloudformation / iac-model-evaluation

MIT No Attribution
9 stars 16 forks source link

Duplicate primary identifiers in cloudformation/resourcegroups-group #28

Open kddejong opened 5 months ago

kddejong commented 5 months ago

https://github.com/aws-cloudformation/iac-model-evaluation/blob/0fc13f985eeb35c667e4536c474511d643e02f31/cloudformation/resourcegroups-group.yaml#L11

https://github.com/aws-cloudformation/iac-model-evaluation/blob/0fc13f985eeb35c667e4536c474511d643e02f31/cloudformation/resourcegroups-group.yaml#L24

These parameters need to be unique across both resources.

E3019 Primary identifiers {'Name': {'Ref': 'AWS::StackName'}} should have unique values across the resources {'TagGroup', 'CloudFormationStackGroup'}
cloudformation/resourcegroups-group.yaml:11:7

E3019 Primary identifiers {'Name': {'Ref': 'AWS::StackName'}} should have unique values across the resources {'TagGroup', 'CloudFormationStackGroup'}
cloudformation/resourcegroups-group.yaml:24:7

error from CloudFormation

test1 already exists in stack arn:aws:cloudformation:X:X:stack/test1/X