common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
1k stars 93 forks source link

Does not work in Cmd.exe session. #448

Closed 296951 closed 11 months ago

296951 commented 1 year ago

Granted is fantastic as long as you use it in Powershell or Git Bash. It does not work in a Cmd.exe because it fails to set the AWS_PROFILE value correctly. It seems to truncate the value.

See below:

image

As you can see the profile selected does not match the profile set in AWS_PROFILE env variable. The variable is missing the last 2 characters AM

The full profile name is 35 characters long.

shwethaumashanker commented 11 months ago

Hi @296951! Thank you for bringing up this issue. I've investigated the problem, and the issue has been resolved in pull request #465. This fix is included in our version v0.14.4