You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When my code has private git submodules, the build step fails. The error is as follows -
# Unable to update submodules: Error: Command failed: git submodule update
Cloning into '/codebuild/output/src3058105818/src/<repo>/src/components/common-css-components'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:org/<repo>.git' into submodule path '/codebuild/output/src3058105818/src/<repo>/src/components/common-css-components' failed
Failed to clone 'src/components/common-css-components'. Retry scheduled
Cloning into '/codebuild/output/src3058105818/src/<repo>/src/components/common-css-components'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:org/<repo>.git' into submodule path '/codebuild/output/src3058105818/src/<repo>src/components/common-css-components' failed
Failed to clone 'src/components/common-css-components' a second time, aborting
Expected behavior
It should be able to clone the sub module with the connect git app has been provided access to the git sub module repository
Reproduction steps
Add a private git repo to your amplify app
push to github to trigger the build job
Build Settings
No response
Log output
# Put your logs below this line
Additional information
No response
The text was updated successfully, but these errors were encountered:
Before opening, please confirm:
App Id
arn:aws:amplify:us-east-1:465512941999:apps/d1zlbbwrkaj7oo
AWS Region
us-east-1
Amplify Hosting feature
Git providers
Frontend framework
React
Next.js version
13
Next.js router
App Router
Describe the bug
When my code has private git submodules, the build step fails. The error is as follows -
Expected behavior
It should be able to clone the sub module with the connect git app has been provided access to the git sub module repository
Reproduction steps
Build Settings
No response
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: