terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

[FEAT]: Create Github App

Open gthieleb opened this issue 1 year ago • 2 comments

Describe the need

Please add github_app as a terraform resource. This is beneficial for temporary development environments (Review Apps) and we would like to remove the application when the resources are destroyed. This will also be beneficial from a security perspective as explained here: https://www.arnica.io/blog/how-to-protect-yourself-against-github-oauth-apps-supply-chain-attacks

The api is documented here: https://docs.github.com/de/rest/apps/apps?apiVersion=2022-11-28#create-a-github-app-from-a-manifest

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

gthieleb avatar Feb 23 '24 17:02 gthieleb

Might be duplicate / related to https://github.com/integrations/terraform-provider-github/issues/786

lewismiddleton avatar Mar 04 '24 16:03 lewismiddleton

The GitHub API supports this using the "manifest" workflow: https://docs.github.com/en/apps/sharing-github-apps/registering-a-github-app-from-a-manifest

jmehnle avatar Jun 10 '24 22:06 jmehnle