Skip to content

Commit 10f8062

Browse files
authored
remove * principal (#4859)
1 parent 6b56a3e commit 10f8062

File tree

1 file changed

+3
-1
lines changed
  • archived/workshops/lab12-hosting-controlnet-models-on-sagemaker

1 file changed

+3
-1
lines changed

archived/workshops/lab12-hosting-controlnet-models-on-sagemaker/ecr-policy.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
{
55
"Sid": "new statement",
66
"Effect": "Allow",
7-
"Principal": "*",
7+
"Principal": {
8+
"Service": "sagemaker.amazonaws.com"
9+
},
810
"Action": [
911
"ecr: CompleteLayerUpload",
1012
"ecr: InitiateLayerUpload",

0 commit comments

Comments
 (0)