1

I have a CodeCommit repo with a submodule. The submodule is another repo within CodeCommit.

When I attempt to view what is in the submodule from within the parent repo, I get an error that says:

AWS CodeCommit could not find the blob

Any idea on what the issue could be?

Jackson
  • 6,391
  • 6
  • 32
  • 43

1 Answers1

0

This usually means the first CodeCommit repo is referencing a SHA1 for the second repo tree, ... which has not been pushed by the second repo to CodeCommit.

You can see that SHA1 (in a local clone of the first repo) with git ls-tree master <path-to-directory-containing-submodule>.
See "How to find commit by SHA of a submodule?".

You need to make sure the second repo (the one acting as submodule for the first repo) has pushed that SHA1.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250