Skip to content

Commit 70d0485

Browse files
Example of full UserID in the IDE notebook
1 parent bb3fdb4 commit 70d0485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SageMaker_SSH_IDE.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"tags": []
158158
},
159159
"source": [
160-
"In the next cell you need to put your local user id as the parameter to `init-ssm`. It will help to tag the managed instance with your id as the owner. You can find the id by running locally the `aws sts get-caller-identity` command as the value of the returned `UserId`.\n",
160+
"In the next cell you need to put your local user id as the parameter to `init-ssm`. It will help to tag the managed instance with your [aws:userid](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_variables.html#principaltable) as the principal owner. You can find the id by running locally the `aws sts get-caller-identity` command as the value of the returned `UserId`.\n",
161161
"\n",
162162
"If you already configured the id from another kernel app, leave the value as is (it will be loaded from the shared configuration file automatically)."
163163
]
@@ -171,7 +171,7 @@
171171
"outputs": [],
172172
"source": [
173173
"%%sh\n",
174-
"LOCAL_USER_ID=\"AIDACKCEVSQ6C2EXAMPLE\" # replace with your local UserId\n",
174+
"LOCAL_USER_ID=\"AIDACKCEVSQ6C2EXAMPLE:terry@SSO\" # replace with your local UserId\n",
175175
"\n",
176176
"sm-ssh-ide set-local-user-id \"$LOCAL_USER_ID\""
177177
]

0 commit comments

Comments
 (0)