code: func (p *AWSSDProvider) targetToInstanceID(target string) string {
  	if len(target) > 64 {
  		hash := sha256.Sum256([]byte(strings.ToLower(target)))
  		return hex.EncodeToString(hash[:])
  	}
  
  	return strings.ToLower(target)
  }
docs: // Instance ID length is limited by AWS API to 64 characters. For longer strings SHA-256 hash will be used instead of
  // the verbatim target to limit the length.