By using AWS re:Post, you agree to the Terms of Use

Create a github connection for app runner using cloudformation


Hello, folks please help in finding how to create a GitHub connection in cloud formation template for app runner. Actually, I want to deploy my application on apprunner from the github repo. I can find the option while creating the apprunner to connect to github. But my question is how to do that same thing in the cloudformation.

1 Answer

As you eluded to, App Runner supports image deployments directly from ECR or code deployments directly from GitHub which are recommended. If you'd prefer to use CloudFormation to deploy your App Runner app from GitHub, you could consider leveraging the Configure AWS Credentials and Deploy CloudFormation Stack GitHub Actions to do it using a federated AWS Role.

profile picture
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions