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
Description of changes:
Previously the policy provided in the readme was allowing for iamPassRole to have access to all resources.
This changes this so that it is only scoped to a resource in the account the controller was created in.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,13 @@ printf '{
118
118
'> ./trust.json
119
119
```
120
120
121
-
Updating an ApplicationAutoscaling ScalableTarget requires the following permissions. Create a file named pass_role_policy.json to create the policy required for the IAM role.
121
+
Updating an ApplicationAutoscaling ScalableTarget requires the following permissions. First create a service-linked role for ApplicationAutoscaling.
122
+
123
+
```sh
124
+
aws iam create-service-linked-role --aws-service-name sagemaker.application-autoscaling.amazonaws.com
125
+
```
126
+
127
+
Then create a file named pass_role_policy.json to create the policy required for the IAM role.
0 commit comments