Skip to content

s3: Bucket creation error #31

Open
@AbdealiLoKo

Description

@AbdealiLoKo

flask-fs always tries to create the Bucket for S3
Reference:

self.bucket.create()

This throws an error in case a region which is not "AWS Standard" is provided, because boto3 will always take "AWS Standard" for create_bucket unless specified.
Reference: perhttps://github.com/boto/boto3/issues/781

This means that if any FS_S3_REGION is not N.Virginia - flask-fs will always fail.
The region needs to be provided for the create_bucket

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions