code: func MapToResourceTags(tagMap map[string]string) []interface{} {
  	tags := make([]interface{}, len(tagMap))
  	tagsIndex := 0
  	for eachKey, eachValue := range tagMap {
  		tags[tagsIndex] = map[string]interface{}{
  			"Key":   eachKey,
  			"Value": eachValue,
  		}
  		tagsIndex++
  	}
  	return tags
  }
docs: // MapToResourceTags transforms a go map[string]string to a CloudFormation-compliant
  // Tags representation.  See http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html