-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Open
Description
Link to the notebook
Add the link to the notebook.
Describe the bug
As going through the notebook I get the following error

To reproduce
The only thing I have changed in the notebook is that I have used an existing sagemaker role and not using the role = get_execution_role()
in the notebooks. Another thing I have changed is Validation Specificaiton.ValidationRole in the sagemaker.create_model_package
from role to the arn of the aforementioned role.
The role was giving an errors as it should be the arn of the role. If I let this parameter be role it was giving the following error
error detected: Value 'AmazonSageMaker-ExecutionRole-20230901T123456' at 'validationSpecification.validationRole'
failed to satisfy constraint: Member must satisfy regular expression pattern:
arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+```
Metadata
Metadata
Assignees
Labels
No labels