This repo is an example showcasing a possible use case for the create-github-app-token-aws action.
Terraform GitHub Provider authentication can be achieved in 2-ways, provided a GitHub app is installed with the appropriate permissions:
- Using the app id, app installation id and app private key
- Using a GitHub App Installation Access Token
The shortcomings of the first method is due to the requirement of the machine running the terraform code to access the private key directly.
This example focuses on the second approach, using the create-github-app-token-aws action.