Salta al contenuto

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!

posta un mese fa34 visualizzazioni
1 Risposta
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

con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.