code: func (m *Meta) InputMode() terraform.InputMode {
  	if test || !m.input {
  		return 0
  	}
  
  	if envVar := os.Getenv(InputModeEnvVar); envVar != "" {
  		if v, err := strconv.ParseBool(envVar); err == nil {
  			if !v {
  				return 0
  			}
  		}
  	}
  
  	var mode terraform.InputMode
  	mode |= terraform.InputModeProvider
  	mode |= terraform.InputModeVar
  	mode |= terraform.InputModeVarUnset
  
  	return mode
  }
docs: // InputMode returns the type of input we should ask for in the form of
  // terraform.InputMode which is passed directly to Context.Input.