You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug:
Sagemaker don't take default bucket if you don't have the "Create Bucket permission".
This is very limiting since i can't for example add configuration or jars at my PySparkProcessor run.
and since i don't have the permission to create a new bucket i obtain
ClientError: An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied.
Expected behavior:
Reading at the code i found that Sagemaker always try to create a default bucket to check if default_bucket already exists, maybe should be great to find other way to check the default bucket if there is no permission to create bucket.
The text was updated successfully, but these errors were encountered:
sagemaker-python-sdk/src/sagemaker/session.py
Line 367 in 67fa816
Describe the bug:
Sagemaker don't take default bucket if you don't have the "Create Bucket permission".
This is very limiting since i can't for example add configuration or jars at my PySparkProcessor run.
To reproduce:
sagemaker.Session(default_bucket=BUCKET).default_bucket()
and since i don't have the permission to create a new bucket i obtain
ClientError: An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied.
Expected behavior:
Reading at the code i found that Sagemaker always try to create a default bucket to check if default_bucket already exists, maybe should be great to find other way to check the default bucket if there is no permission to create bucket.
The text was updated successfully, but these errors were encountered: