Skip to content

Commit 7fb3262

Browse files
fix: fix broken permissions for sagemaker studio role
1 parent 941198d commit 7fb3262

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### **Changed**
1313

14+
- fixed missing comma in `sagemaker-studio` IAM policy statement
15+
1416
## v3.2.5
1517

1618
### **Added**

modules/sagemaker/sagemaker-studio/helper_constructs/sm_roles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ def __init__(
318318
"sagemaker:ListImageVersions",
319319
],
320320
resources=[
321-
f"arn:{Aws.PARTITION}:sagemaker:{Aws.REGION}:{Aws.ACCOUNT_ID}:image/*"
322-
f"arn:{Aws.PARTITION}:sagemaker:{Aws.REGION}:{Aws.ACCOUNT_ID}:image-version/*/*"
321+
f"arn:{Aws.PARTITION}:sagemaker:{Aws.REGION}:{Aws.ACCOUNT_ID}:image/*",
322+
f"arn:{Aws.PARTITION}:sagemaker:{Aws.REGION}:{Aws.ACCOUNT_ID}:image-version/*/*",
323323
],
324324
)
325325
]

0 commit comments

Comments
 (0)