You can download the seed package using awscli s3 cp <s3_uri> <target_path> or by using this URL: https://sagemaker-servicecatalog-seedcode-us-east-1.s3.amazonaws.com/bootstrap/GitRepositorySeedCodeCheckinCodeBuildProject-v1.0.zip
This .zip is used by CodeBuild that is called when the template is deployed (by a lambda mapped to a CFN custom component). If you take a look in the template you'll find a component named "SageMakerModelBuildSeedCodeCheckinProjectTriggerLambdaInvoker". You can find some env vars defined for this component like: SEEDCODE_BUCKET_NAME and SEEDCODE_BUCKET_KEY. These vars point to an S3 uri that has another .zip file with the content of the seed for the git repo. If you get the default values defined there you can re-create the URL and download the .zip file as well: https://sagemaker-servicecatalog-seedcode-us-east-1.s3.amazonaws.com/toolchain/model-building-workflow-jenkins-v1.0.zip
So, in the end, if you want to change the content that is pushed to the git repo, you can redefine these 2 vars and point to an S3 path that contains a .zip file you created.
Bonus: If you're a curious person, I recommend you to take a look at the .java file (src/main/java/GitRepositorySeedCodeBootStrapper.java) inside the .zip of the CodeBuild .zip for you to understand what it does to prepare the git repo like: download a .zip, unpack it, commit/push to the git repo.
Relevant questions
Greengrass for data processing and ML model training
Accepted AnswerMLOps Query regarding SageMaker Project template and Pipelines
asked 6 months agoExporting Sagemaker model to local computer
asked 4 months agoSageMaker Pipelines and CI/CD with GitLab Multiaccount
asked 2 months agoHow to feed seed code to GitHub Repository from Sagemaker Projects Organization Template created with Service Catalog?
Accepted Answerasked a month agoSagemaker Studio encountered an error when creating your project(github and codepipeline template)
Accepted Answerasked 19 days agoHow to checkpoint SageMaker model artifact during a training job?
Accepted AnswerHow to deploy pre-trained model?
asked 3 years agoHow to declare multi region access point in cloudformation template
asked 2 months agoWorkSpaces build automation with Service Catalog
Accepted Answerasked 2 years ago
Thanks a lot !!!