dataall
dataall copied to clipboard
Failed to import a bucket with a long name
Describe the bug
My bucket name is 50 characters long. When this bucket is imported into data.all it tries to create a dataset admin role with format: dataall-TRUNCATED_BUCKET_NAME-30ydkjf9
The problem is that this truncation is not long enough. Data.all truncated my bucket name to 49 characters. Let's add them all together
dataall-(8)TRUNCATED_BUCKET_NAME(49)-30ydkjf9(9) = 8 + 49 + 9 = 66
However AWS IAM allows only 64 characters maximum. Therefore I received an error:
How to Reproduce
Import a dataset with a bucket name longer than 50 characters.
Expected behavior
No response
Your project
No response
Screenshots
No response
OS
N/A
Python version
N/A
AWS data.all version
2.6
Additional context
No response