diff --git a/command/meta_backend.go b/command/meta_backend.go index 37a708705..87d193aa4 100644 --- a/command/meta_backend.go +++ b/command/meta_backend.go @@ -1080,8 +1080,8 @@ func (m *Meta) backend_C_r_S_changed( if !copy { copy, err = m.confirm(&terraform.InputOpts{ Id: "backend-migrate-to-new", - Query: fmt.Sprintf("Do you want to copy the state from %q?", c.Type), - Description: strings.TrimSpace(fmt.Sprintf(inputBackendMigrateChange, c.Type, s.Backend.Type)), + Query: fmt.Sprintf("Do you want to copy the state from %q?", s.Backend.Type), + Description: strings.TrimSpace(fmt.Sprintf(inputBackendMigrateChange, s.Backend.Type, c.Type)), }) if err != nil { return nil, fmt.Errorf(