> This works as well. Although this approach doesn't give me the $PS1 prompt decorations that I get when I don't specify --profile. Good call, I've captured this bug here : https://github.com/mozilla-iam/mozilla-aws-cli/issues/215
Bug 1633077 Comment 18 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
> This works as well. Although this approach doesn't give me the $PS1 prompt decorations that I get when I don't specify --profile. Good call, I've captured this bug here : https://github.com/mozilla-iam/mozilla-aws-cli/issues/215 > I'm waiting until tomorrow to see if the session expiry is handled reasonably; without the prompt decoration it may not be obvious from error messages that the session has expired. The session expiry in the prompt will work whether or not you're using a `default` profile name.