aws / aws/amazon-sagemaker-examples

hpo_bring_your_own_keras_container.ipynb

Open
#1,443 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Throws the following error unless an extra permission is added outside of the instance:

"User: arn:aws:sts::980970363349:assumed-role/AmazonSageMaker-ExecutionRole-20200806T154123/SageMaker is not authorized to perform: ecr:InitiateLayerUpload on resource: arn:aws:ecr:us-west-2:980970363349:repository/test"

Is it possible to add this permission from within the instance?

Contributor guide

Open the contributing guide

Research direction

Open hpo_bring_your_own_keras_container.ipynb and trace how the SageMaker execution role and ECR repository are configured around the failing operation. Confirm whether the notebook can grant the missing ecr:InitiateLayerUpload permission from the instance; done means documenting the supported permission path or the required external role change.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, keras
Domain
cloud, machine-learning, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.