code: func (l *logStream) createLogGroup() error {
  	if _, err := l.client.CreateLogGroup(&cloudwatchlogs.CreateLogGroupInput{
  		LogGroupName: aws.String(l.logGroupName),
  	}); err != nil {
  		if awsErr, ok := err.(awserr.Error); ok {
  			fields := logrus.Fields{
  				"errorCode":      awsErr.Code(),
  				"message":        awsErr.Message(),
  				"origError":      awsErr.OrigErr(),
  				"logGroupName":   l.logGroupName,
  				"logCreateGroup": l.logCreateGroup,
  			}
  			if awsErr.Code() == resourceAlreadyExistsCode {
  				// Allow creation to succeed
  				logrus.WithFields(fields).Info("Log group already exists")
  				return nil
  			}
  			logrus.WithFields(fields).Error("Failed to create log group")
  		}
  		return err
  	}
  	return nil
  }
docs: // createLogGroup creates a log group for the instance of the awslogs logging driver