By using AWS re:Post, you agree to the Terms of Use

How to use codecommit submodules in CodeBuild


I am trying to use CodeBuild with submodule in CodeCommit repository, but when the build reach DOWNLOAD_SOURCE phase, I got following error:

Submodule error repository not found for primary source and source version refs/heads/master

I used the relative path in submodule registration like ../another-repository.

In the documentation of CodeBuild, I can't find anything about usages of submodules, nor anything to the git submodules checkbutton in Source setup section.

How to use submodules correctly in CodeBuild?

asked 6 months ago37 views