I am trying to create a SageMaker Project in SageMaker Studio, but I keep getting the following error:
You are not authorized to use the Amazon SageMaker project templates. Please contact your administrator to authorize you to use them.
I have already attached the following IAM policies to my SageMaker execution role:
- AmazonSageMakerFullAccess
- AWSServiceCatalogEndUserFullAccess
- AmazonSageMakerServiceCatalogProductsApiGatewayServiceRolePolicy
- AmazonSageMakerServiceCatalogProductsCloudformationServiceRolePolicy
- AmazonSageMakerServiceCatalogProductsCodeBuildServiceRolePolicy
- AmazonSageMakerServiceCatalogProductsCodePipelineServiceRolePolicy
- AmazonSageMakerServiceCatalogProductsEventsServiceRolePolicy
- AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy
- AmazonSageMakerServiceCatalogProductsLambdaServiceRolePolicy
Additionally, my IAM trust policy for the execution role is:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": [
"sagemaker.amazonaws.com",
"servicecatalog.amazonaws.com"
]
},
"Action": "sts:AssumeRole"
}
]
}
Things I Have Tried:
- Checked SageMaker Studio settings: My SageMaker Domain has Projects enabled.
- Restarted SageMaker Studio to apply permission changes.
- Ensured my IAM role is correctly assigned to SageMaker Studio.
Despite all of this, I still get the same error.
Question:
What am I missing? Are there additional permissions or configurations required to create SageMaker projects?
You are not authorized to use the Amazon SageMaker project templates. Please contact your administrator to authorize you to use them.