awslabs / git-remote-s3

Apache License 2.0
489 stars 8 forks source link

AWS profiles don't work as expected #5

Closed eercanayar closed 1 month ago

eercanayar commented 1 month ago

Hi there! I couldn't make the aws profiles work with this library.

$ git clone s3://er@****-prototype-2024/git-remote_*******-cdk/
Cloning into 'git-remote_*******-cdk'...
fatal: invalid remote 's3://er@****-prototype-2024/git-remote_*******-cdk/'. You need to have a bucket and a prefix.

I believe it's a string parsing case that wasn't covered.

massi-ang commented 1 month ago

Hi Emir, For the time being ensure your profile name is at least 3 chars long