code: func mergeTags(localTags []*ecs.Tag, ec2Tags []*ecs.Tag) []*ecs.Tag {
  	tagsMap := make(map[string]string)
  
  	for _, ec2Tag := range ec2Tags {
  		tagsMap[aws.StringValue(ec2Tag.Key)] = aws.StringValue(ec2Tag.Value)
  	}
  
  	for _, localTag := range localTags {
  		tagsMap[aws.StringValue(localTag.Key)] = aws.StringValue(localTag.Value)
  	}
  
  	return utils.MapToTags(tagsMap)
  }
docs: // mergeTags will merge the local tags and ec2 tags, for the overlap part, ec2 tags
  // will be overridden by local tags.