I have an app of which source code is hosted on AWS CodeCommit and has some submodules that are also hosted on CodeCommit.
My .gitmodules says:
[submodule "hoge"] path = hoge url = git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/hoge
This URL works without specifying SSH key ID on
url line on my laptop because ~/.ssh/config on my laptop has the following section to specify my user name, plus, I believe that we shouldn’t put any user-specific username on .gitmodules to work with team.
Host git-codecommit.*.amazonaws.com User AP******************
With this configuration, however, Bitrise tries to fetch codes from the submodule repository using its login username
vagrant instead of using my SSH key ID and it makes the build failed.
Do we have any way to work this out?