dataall
dataall copied to clipboard
Data.all allows 2 or more datasets with same s3 bucket
Describe the bug
Data.all allows importing 2 or more datasets with the same bucket name. This could confusion for a producer since they would have different shares on different datasets but on the same bucket. It could also lead to inconsistent behavior since bucket policy could be updated by different shares at the same time.
How to Reproduce
Import dataset1 with s3 bucket: s3bucketName Import dataset2 with s3 bucket: s3BucketName
Both will be imported successfully and stack creation will also go through.
Expected behavior
You should not be allowed to import more than one dataset with a s3 bucket name that has already been imported before.
Your project
No response
Screenshots
No response
OS
Mac
Python version
3.9
AWS data.all version
2.4
Additional context
@zsaltys