aws / aws/amazon-q-developer-cli
inherit aws profile from active terminal session when entering "q chat"
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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
### Operating system
macOS 15.5.0 (24F74)
### Expected behaviour
When using `granted` to assume an AWS role in the CLI, q chat ignores the active AWS profile and region from the terminal session and defaults to the profile/region from the AWS config file instead.
q chat should inherit the AWS profile and region from the active terminal session (environment variables like AWS_PROFILE, AWS_REGION, etc.)
### Actual behaviour
Terminal shows active profile: AWS_PROFILE=AIX-test and AWS_REGION=eu-central-1
q chat uses Profile name: default and Region: us-east-1 instead
### Steps to reproduce
Use granted (or similar tool) to assume an AWS role.
Verify environment variables are set correctly: env | grep AWS
Start q chat
Try AWS operations - they use default profile/region instead of active session
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dal punto di ingresso q chat e riproduci il problema dopo aver usato granted, verificando AWS_PROFILE e AWS_REGION con `env | grep AWS`. Traccia il modo in cui q chat seleziona il profilo e la regione attivi rispetto al file di configurazione AWS. Il lavoro è completato quando le operazioni AWS usano il profilo e la regione ereditati dalla sessione del terminale.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, rust
- Ambito
- cli, cloud
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100