func SetInstanceType(instanceType string) error {
	lock.Lock()
	defer lock.Unlock()
	if instanceType == "" {
		return fmt.Errorf("invalid instance type")
	}
	cachedInstanceType = instanceType
	return nil
}
// SetInstanceType overrides the platform instance type
SetInstanceType overrides the platform instance type
// SetInstanceType overrides the platform instance type
func SetInstanceType(instanceType string) error {
	lock.Lock()
	defer lock.Unlock()
	if instanceType == "" {
		return fmt.Errorf("invalid instance type")
	}
	cachedInstanceType = instanceType
	return nil
}
func SetInstanceType ( instanceType string ) error { lock . Lock ( ) defer lock . Unlock ( ) if instanceType == " " { return fmt . Errorf ( " " ) } cachedInstanceType = instanceType return nil }
SetInstanceType overrides the platform instance type
SetInstanceType overrides the platform instance type