跳至内容

WS App Runner not showing my GitHub repositories

0

Hello, I’m trying to deploy my application using AWS App Runner with GitHub as the source code repository. However, when I select GitHub as the provider, the Repository dropdown remains empty and shows the error “Repository is required”.. I already authorized the AWS Connector for GitHub. My GitHub account has repositories, but none are listed in App Runner. Because of this, I cannot select a repository or branch, and I cannot proceed with the deployment. Could anyone please help me what is missing here?
Thank you in advance!

已提问 1 个月前36 查看次数
1 回答
0

To resolve the issue with GitHub repositories not showing in AWS App Runner, you need to create a GitHub connection through the App Runner console first. Here's how to fix this:

  1. Go to the App Runner console directly (https://console.aws.amazon.com/apprunner)
  2. Create a connection that links your GitHub account to AWS
  3. During the connection process:
  • Enter a Connection Name
  • If this is your first time using GitHub with App Runner, select "Install another"
  • In the AWS Connector for GitHub dialog, choose your GitHub account name
  • Authorize AWS Connections if prompted
  • Install the AWS Connector for GitHub

After completing these steps, your GitHub repositories should become available when configuring your App Runner service. The connection you create will appear on the GitHub connections page when you're setting up your service.

This process is necessary because App Runner requires an explicit connection to be established between your GitHub account and AWS before it can access and display your repositories.
Sources
Getting started with App Runner - AWS App Runner
Using AWS App Runner with AWS Toolkit for Visual Studio Code - AWS Toolkit for VS Code
Using AWS App Runner with AWS Toolkit - AWS Cloud9
Using AWS Toolkit for JetBrains with AWS App Runner - AWS Toolkit for JetBrains

已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。