跳至內容

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 個月前檢視次數 26 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。