Skip to content

Commit 0e7c211

Browse files
goswamiglaurenyu
authored andcommitted
Adding role arn explanation for sagemaker role (aws#1219)
1 parent 312d14f commit 0e7c211

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

doc/amazon_sagemaker_operators_for_kubernetes_jobs.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@ Download the sample YAML file for training using the following command:
2929

3030
wget https://github.com/aws/amazon-sagemaker-operator-for-k8s/blob/master/samples/xgboost-mnist-trainingjob.yaml
3131

32-
Edit the \ ``xgboost-mnist-trainingjob.yaml`` file to replace the ``roleArn`` parameter with your \ ``<sagemaker-execution-role>``, and \ ``outputPath`` with your S3 bucket that the Amazon SageMaker
33-
execution role has write access to. Apply the YAML file using the
32+
Edit the ``xgboost-mnist-trainingjob.yaml`` file to replace the ``roleArn`` parameter with your ``<sagemaker-execution-role>``, and ``outputPath`` with your S3 bucket that the Amazon SageMaker
33+
execution role has write access to. The ``roleArn`` must have permissions so that Amazon SageMaker
34+
can access Amazon S3, Amazon CloudWatch, and other services on your
35+
behalf. For more information on creating an Amazon SageMaker
36+
ExecutionRole, see `Amazon SageMaker
37+
Roles <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html#sagemaker-roles-createtrainingjob-perms>`__.
38+
Apply the YAML file using the
3439
following command:
3540

3641
::

0 commit comments

Comments
 (0)