dataall icon indicating copy to clipboard operation
dataall copied to clipboard

Failed to import a bucket with a long name

Open voidwisp opened this issue 1 year ago • 1 comments

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:

Screenshot 2024-11-21 at 11 56 18

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

voidwisp avatar Nov 21 '24 11:11 voidwisp