aws-samples / amazon-sagemaker-safe-deployment-pipeline

Safe blue/green deployment of Amazon SageMaker endpoints using AWS CodePipeline, CodeBuild and CodeDeploy.
https://aws.amazon.com/blogs/machine-learning/safely-deploying-and-monitoring-amazon-sagemaker-endpoints-with-aws-codepipeline-and-aws-codedeploy/
MIT No Attribution
103 stars 239 forks source link

Not able to create the SageMaker project #38

Open zensim opened 5 months ago

zensim commented 5 months ago

When trying to create the SageMaker project the CFT fails with the following error:

Logical id: CodeCommitRepository

error: Not Found (Service: Amazon S3; Status Code: 404; Error Code: 404 Not Found; Request ID: 0Z7THXCJHCPM23VX; S3 Extended Request ID: pqTd+ric+UgGpgJKG1oBlISzUFt+JMTGF5pf4IaT1RC4MM5LsbPSUsn3kT3fbn3rpYSnDax4C6o=; Proxy: null)

I've added the admin access to the sagemaker execution role and service catalog products launch role. Can see the S3 bucket. One thing I noticed is the CFT is looking for a file called "project.zip" . I am attaching the template which is run by the sagemaker project reation process.

I modified the bucket name in the CodeCommitRepository section of the CFT from "S3_BUCKET_NAME" to what is there now and tried but still getting the same error.

Please help. Thanks

servicecatalog template with modified s3 bucket for code commit repo- amazon-sagemaker-safe-deployment-pipeline-master-withstudiosupport.json