code: func (m *Meta) backendMigrateState_S_s(opts *backendMigrateOpts) error {
  	log.Printf("[TRACE] backendMigrateState: target backend type %q does not support named workspaces", opts.TwoType)
  
  	currentEnv := m.Workspace()
  
  	migrate := opts.force
  	if !migrate {
  		var err error
  		// Ask the user if they want to migrate their existing remote state
  		migrate, err = m.confirm(&terraform.InputOpts{
  			Id: "backend-migrate-multistate-to-single",
  			Query: fmt.Sprintf(
  				"Destination state %q doesn't support workspaces.\n"+
  					"Do you want to copy only your current workspace?",
  				opts.TwoType),
  			Description: fmt.Sprintf(
  				strings.TrimSpace(inputBackendMigrateMultiToSingle),
  				opts.OneType, opts.TwoType, currentEnv),
  		})
  		if err != nil {
  			return fmt.Errorf(
  				"Error asking for state migration action: %s", err)
  		}
  	}
  
  	if !migrate {
  		return fmt.Errorf("Migration aborted by user.")
  	}
  
  	// Copy the default state
  	opts.oneEnv = currentEnv
  
  	// now switch back to the default env so we can acccess the new backend
  	m.SetWorkspace(backend.DefaultStateName)
  
  	return m.backendMigrateState_s_s(opts)
  }
docs: // Multi-state to single state.