aws-samples / amazon-sagemaker-studio-secure-data-science-workshop

Secure data science with Amazon SageMaker Studio workshop. This workshop creates a reference architecture with security and controls to perform machine learning tasks securely with Amazon SageMaker Studio.
MIT No Attribution
31 stars 17 forks source link

SageMakerExecPolicy CREATE_FAILED - "Cannot exceed quota for PolicySize: 6144" when launching "Data Science Studio User Profile" in ap-southeast-1 region #1

Open heichow opened 2 years ago

heichow commented 2 years ago

When I tried to run the workshop in ap-southeast-1 region, I failed to create SageMaker Studio Domain users when following Create SageMaker Studio Domain users for a data science environment. When I drill the underlying CloudFormation Stack, I found CREATE_FAILED - "Cannot exceed quota for PolicySize: 6144" for resource SageMakerExecPolicy. By shortening the TeamName to single character (eg. t), the issue can be solved. It is proven that using the region with more characters (eg. ap-southeast-1) would trigger this issue.

sandwi commented 1 year ago

@heichow Thanks for reporting the issue and also the workaround to help the community. Leaving this issue open as a guidance for others who encounter this issue.