The following codesnippet:
AWSTemplateFormatVersion: '2010-09-09'
Description: Some CloudFormation template
Resources:
MyResourceName:
Type: AWS::SSM::Parameter
Properties:
Name: myParameterName
Type: String
Value: "somevalue"
Tags:
- Key: firstTagName
Value: firstTagValue
- Key: secondTagName
Value: secondTagValue
generates the following error in CloudFormation:
How should I structure the Tags property correctly?
![Property validation failure: [Value of property {/Tags} does not match type {Map}] for AWS::SSM::Parameter in CloudFormation](https://i.stack.imgur.com/jarh4.png)