aws / aws/amazon-q-developer-cli
Feature Request: Interactive region/start URL selection during `q login`
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
Linux 6.1.131-143.221.amzn2023.x86_64 - Amazon Linux 2023.7.20250414
### Expected behaviour
After `q logout`, the `q login` command should prompt the user with their original settings and allow them to interactively change the region or start URL without requiring CLI parameters.
### Actual behaviour
When using `q logout` followed by `q login`, Amazon Q automatically uses the original region and start URL settings without prompting for changes.
### Steps to reproduce
1. Use `q logout` to log out of Amazon Q
2. Use `q login` to log back in
3. Notice that the original region and start URL are automatically used without an option to change them interactively
### Environment
```yaml
[q-details]
version = "1.7.3"
hash = "1320eb8c18fa62c781b1cf4146b2453b71f9b225"
date = "2025-04-11T20:07:20.601179Z (7d ago)"
variant = "minimal"
[system-info]
chip = "Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz"
total-cores = 2
memory = "15.41 GB"
[system-info.os.linux]
kernel_version = "6.1.131-143.221.amzn2023.x86_64"
id = "amzn"
name = "Amazon Linux"
pretty_name = "Amazon Linux 2023.7.20250414"
version_id = "2023"
version = "2023"
[environment]
cwd = "/home/USER"
cli-path = "/home/USER"
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "5.2.15"
terminal = "VSCode"
install-method = "unknown"
in-ssh = true
[env-vars]
PATH = "/home/USER/.vscode-server/cli/servers/Stable-17baf841131aa23349f217ca7c570c76ee87b957/server/bin/remote-cli:/home/USER/.cargo/bin:/home/USER/.nvm/versions/node/v18.19.0/bin:/home/USER/.local/bin:/home/USER/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/USER/.local/bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/go/bin:/home/USER/go/bin:/home/USER/apache-maven-3.9.6/bin:/home/USER/squashfs-root/usr/bin/:/home/linuxbrew/.linuxbrew/bin:/usr/local/go/bin:/home/USER/go/bin:/home/USER/apache-maven-3.9.6/bin:/home/USER/squashfs-root/usr/bin/:/home/USER/.vscode-server/extensions/ms-python.debugpy-2025.4.1-linux-x64/bundled/scripts/noConfigScripts:/home/USER/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand:/home/linuxbrew/.linuxbrew/bin:/usr/local/go/bin:/home/USER/go/bin:/home/USER/apache-maven-3.9.6/bin:/home/USER/squashfs-root/usr/bin/"
Q_SET_PARENT_CHECK = "1"
SHELL = "/bin/bash"
TERM = "xterm-256color"
XDG_SESSION_TYPE = "tty"
[chat-settings]
interactive=true
[chat-trusted_tools]
[chat-failed_request_ids]
none
[chat-context]
current_profile=default
profiles=
default
global_context=
.amazonq/rules/**/*.md
README.md
AmazonQ.md
profile_context=
src/router/index.js
src/main.js
src/views/Home.vue
files=none
```
Contributor guide
Assessment
This issue has not been assessed yet.