Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3: Bucket creation error #31

Open
AbdealiLoKo opened this issue May 3, 2019 · 0 comments · May be fixed by #32
Open

s3: Bucket creation error #31

AbdealiLoKo opened this issue May 3, 2019 · 0 comments · May be fixed by #32

Comments

@AbdealiLoKo
Copy link

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

@AbdealiLoKo AbdealiLoKo linked a pull request May 3, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant