skip to Main Content

i tried to SageMaker MLOps Project Walkthrough Using Third-party Git Repos using AWS pipline. I am begginer in AWS. But always It shows

‘Studio encountered an error when creating your project. Try recreating the project again.

User: arn:aws:sts::494026973566:assumed-role/AmazonSageMakerServiceCatalogProductsLaunchRole/servicecatalog is not authorized to perform: sagemaker:AddTags on resource: arn:aws:sagemaker:ap-south-1:494026973566:code-repository/sagemaker-p-vumrjwtu29ap-modelbuild because no identity-based policy allows the sagemaker:AddTags action (Service: AmazonSageMaker; Status Code: 400; Error Code: AccessDeniedException; Request ID: a187898b-91b3-4b7a-aa9f-48bafc293dac; Proxy: null)’

I include the image as well.
enter image description here

2

Answers


  1. You need to make sure the role that is used by ServiceCatalog has a policy to allow sagemaker:AddTags.

    You can go to the IAM console, look up the role that is listed in the error message, and add sagemaker:AddTags to the list of Actions in the policy.

    Login or Signup to reply.
  2. went away after adding an inline sagemaker:AddTags policy to the AWS provided AmazonSageMakerServiceCatalogProducts Policy

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search