ListBuckets does not include BucketRegion inside each Bucket entry, which causes buckets to be hidden in the VS Code AWS Toolkit extension.
The AWS Toolkit for VS Code appears to filter out bucket entries that do not have BucketRegion, so none of the buckets are shown when using fakecloud. The relevant code is here:
https://github.com/aws/aws-toolkit-vscode/blob/master/packages/core/src/shared/clients/s3.ts#L383C1-L383C105
This does not affect the AWS CLI; buckets are listed correctly there.
Expected
> GET http://127.0.0.1:4566/
< 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Owner>
<ID>123456789012</ID>
<DisplayName>123456789012</DisplayName>
</Owner>
<Buckets>
<Bucket>
<Name>bucketname</Name>
<CreationDate>2026-04-28T00:00:00.000Z</CreationDate>
<BucketRegion>us-east-1</BucketRegion>
</Bucket>
</Buckets>
</ListAllMyBucketsResult>
ListBuckets does not include BucketRegion inside each Bucket entry, which causes buckets to be hidden in the VS Code AWS Toolkit extension.
The AWS Toolkit for VS Code appears to filter out bucket entries that do not have BucketRegion, so none of the buckets are shown when using fakecloud. The relevant code is here:
https://github.com/aws/aws-toolkit-vscode/blob/master/packages/core/src/shared/clients/s3.ts#L383C1-L383C105
This does not affect the AWS CLI; buckets are listed correctly there.
Expected
> GET http://127.0.0.1:4566/
< 200 OK