aws-cloudformation / aws-cloudformation-resource-providers-cloudformation

The CloudFormation Resource Provider Package For AWS CloudFormation
https://aws.amazon.com/cloudformation/
Apache License 2.0
48 stars 35 forks source link

"Tags" not working in AWS::CloudFormation::StackSet #30

Closed aryak007 closed 3 years ago

aryak007 commented 4 years ago

The support of list of tag for the AWS::CloudFormation::StackSet is present as mentioned in the documentation.

If presented with an array of tags:

Tags: 
        - Key: "key1"
          Value: "value1"
        - Key: "key2"
          Value: "value2"

It fails with the error message:

"Properties validation failed for resource stacksetname with message:\n#: #: only 1 subschema matches out of 2\n#/Tags/1/Key: failed validation constraint for keyword [pattern]"
xiwhuang commented 3 years ago

Hi @aryak007, thanks for reaching out, but I couldn't reproduce this on my side. We have loosened up the regex pattern for Tags in StackSet resource. https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudformation/blob/master/aws-cloudformation-stackset/aws-cloudformation-stackset.json#L16-L27

xiwhuang commented 3 years ago

Resolving this issue as no response from customers. Free feel to contact us if you have continuous concerns.