I linked a repo in CodeCommit to Sagemaker. However when I try to start an instance with that repo it fails and I get a message:
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/MyRepo/': The requested URL returned error: 403
I think maybe it has something to do with the IAM role. Is there some policy I should add to the AmazonSageMaker-ExecutionRole. I am completely new to this so please excuse any incorrect usage of terms here.
This is presumably caused by your IAM role; if you used the UI to create a role, I think by default, it creates a role requiring resources to have "sagemaker" in their ARN (Codecommit repos, S3 buckets...). So you have 2 options:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.