dataall icon indicating copy to clipboard operation
dataall copied to clipboard

Notebook creation failure if name not in regex pattern

Open dlpzx opened this issue 3 years ago • 0 comments

Describe the bug

If we create a Notebook that does not satisfy the constraint the creation of it fails in the CloudFormation stack with the message:

dataall-notebook-wquuthun | 3/6 | 12:30:17 PM | CREATE_FAILED | AWS::SageMaker::NotebookInstance | Notebookwquuthun 1 validation error detected: Value 'dataall-sales_october_analysis-wquuthun' at 'notebookInstanceName' failed to satisfy constraint: Member must satisfy regular expression pattern: ^a-zA-Z0-9* (Service: AmazonSageMaker; Status Code: 400; Error Code: ValidationException;....l)

I will like data.all to comply with this constraint and replace the invalid characters in the Notebook instance name

How to Reproduce

Create a Notebook named with characters that are not part of the regex pattern ^a-zA-Z0-9

Expected behavior

Failure of the Notebook creation

Your project

No response

Screenshots

No response

OS

Mac

Python version

3.8

AWS data.all version

v1.1.1

Additional context

No response

dlpzx avatar Oct 25 '22 13:10 dlpzx