Terraform Provider GitHub
May 21, 2026 · View on GitHub
|
| |
This provider manages GitHub resources — repositories, teams, branch protections, actions secrets/variables, organization settings, rulesets, deploy keys, webhooks, and more — using Terraform. It supports both GitHub.com and GitHub Enterprise Server via the REST and GraphQL APIs.
See the GitHub Provider page on the Terraform Registry for installation and documentation.
Quick Start
provider "github" {
owner = "my-org"
}
resource "github_repository" "example" {
name = "example-repo"
description = "Managed by Terraform"
visibility = "private"
}
Requirements
Usage
Detailed documentation for the GitHub provider can be found in the Terraform Registry.
Contributing
For instructions on how to contribute to the GitHub Terraform provider, see the Contributing Guide.
Roadmap
This project uses Milestones to scope upcoming features and bug fixes. Issues that receive the most recent discussion or the most reactions will be more likely to be included in an upcoming release.
Support
GitHub Support does not provide support for this integration. This is a community-supported project. GitHub's SDK team triages issues and PRs periodically.