aws-samples / sagemaker-run-notebook

Tools to run Jupyter notebooks as jobs in Amazon SageMaker - ad hoc, on a schedule, or in response to events
Apache License 2.0
140 stars 68 forks source link

Change policies to managed policies #14

Closed moserda closed 2 years ago

moserda commented 3 years ago

Issue #, if available:

Description of changes: The docs state "If you're not running with administrative permissions, you should add that policy to the user or role that you're using to invoke and schedule notebooks." This PR changes the IAM policies to managed policies so that they can actually be attached to different roles.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

tomfaulhaber commented 2 years ago

Great catch, @dmoser04. Thanks!