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

s3api not automatic wrap localstack endpoint

Open ghost opened this issue 2 years ago • 1 comments

If you are using awslocal s3api to create bucket its not wrapping the endpoint for LocalStack you need to add the endpoint self.

awslocal s3api create-bucket \
    --bucket {bucket-name} \
    --endpoint-url=http://localhost:4566

Shoud be a option to do, whitout defineding the endpoint.

awslocal s3api create-bucket \
    --bucket {bucket-name}

ghost avatar May 30 '22 09:05 ghost

Thanks for reporting @ParisNakitaKejser-EB . This should be working in the meantime:

$ awslocal s3api create-bucket --bucket test123
{
    "Location": "/test123"
}

Can you please pull the latest Docker image (docker pull localstack/localstack) and install the latest version of the awslocal command line. Please keep us posted on how it goes.. Thanks!

whummer avatar Sep 03 '22 13:09 whummer

I'll close the issue as there has been no response since a year. This should be fixed! Thanks for the report

bentsku avatar Nov 03 '23 12:11 bentsku