aws / aws/amazon-sagemaker-examples
tensorflow_bring_your_own.ipynb failed CI
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/aws_sagemaker_studio/sagemaker_studio_image_build/tensorflow_bring_your_own/tensorflow_bring_your_own.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [10]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
in
7
8 domain_id = 'sagemaker-studio-{}'.format(sm.list_apps()['Apps'][0]['DomainId'])
----> 9 image_tag = ecr.list_images(repositoryName=domain_id, filter={'tagStatus':'TAGGED'})['imageIds'][0]['imageTag']
10 ecr_image = '{}.dkr.ecr.{}.amazonaws.com/{}:{}'.format(account, region, domain_id, image_tag)
11
/usr/local/lib/python3.7/site-pac
[...]
ClientError: An error occurred (AccessDeniedException) when calling the ListImages operation: User: arn:aws:sts::521695447989:assumed-role/ProdBuildSystemStack-ReleaseBuildRoleFB326D49-QK8LUA2UI1IC/SageMaker is not authorized to perform: ecr:ListImages on resource: arn:aws:ecr:us-west-2:521695447989:repository/sagemaker-studio-d-aillibs2vlfu
Contributor guide
Assessment
This issue has not been assessed yet.