awscli-local icon indicating copy to clipboard operation
awscli-local copied to clipboard

On Windows 11 the terminal proprt apears before the prints

Open OmriYaHoo opened this issue 10 months ago • 1 comments

It's a bit hard to explain the issue I'm facing so adding a print screen: image

You can see that I get a prompt for the next command before the awslocal command has finished running. This causes several issues when we have several inputs to enter one after another like the configure command of aws cli, in case I want to enter credentials.

image You can see I got a prompt for the next command even though I'm supposed to be in the context of the first one.

I tried this on 2 different computers, both in CMD and Powershell. Any ideas? Is this a bug?

As a workaround, I added this to my Powershell Profile:

function awsl {
    param(
        [Parameter(ValueFromRemainingArguments = $true)]
        [string[]]$Args
    )
    aws @Args --profile local --endpoint-url http://localhost:4566
}

So instead of awslocal I'm my custom awsl at the end of each aws command (not only endpoint but also my custom aws-local profile).

OmriYaHoo avatar Jan 13 '25 12:01 OmriYaHoo

Could someone from the team please look into this issue?

omri-ratson avatar Feb 06 '25 12:02 omri-ratson