Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Terraform
  3. terraform-provider-github

terraform-provider-github

MITGov6.12.1

A Terraform provider for managing GitHub resources like repositories, teams, and files through infrastructure-as-code.

Visit WebsiteGitHubGitHub
1.1k stars992 forks0 contributors

What is terraform-provider-github?

Terraform Provider GitHub is an open-source Terraform plugin that allows developers to manage GitHub resources through infrastructure-as-code. It enables declarative configuration of repositories, teams, files, and other GitHub entities using Terraform's workflow. This solves the problem of manual or script-based GitHub management by providing a consistent, version-controlled, and automated approach.

Target Audience

DevOps engineers, platform teams, and developers who use Terraform to automate and manage GitHub infrastructure as part of their CI/CD or infrastructure pipelines.

Value Proposition

Developers choose this provider for seamless integration with Terraform's ecosystem, enabling unified management of GitHub alongside other infrastructure. Its community-driven development ensures features align with real-world use cases, and it provides a declarative, reproducible way to handle GitHub configurations.

Overview

Terraform GitHub provider

Use Cases

Best For

  • Automating repository creation and configuration across multiple GitHub organizations
  • Managing team permissions and memberships in GitHub as code
  • Deploying and versioning files (like documentation or configs) to GitHub repositories via Terraform
  • Integrating GitHub resource management into broader Terraform-based infrastructure pipelines
  • Ensuring consistent GitHub settings (e.g., branch protection, webhooks) across projects
  • Auditing and reproducing GitHub infrastructure states using Terraform's state files

Not Ideal For

  • Teams needing real-time, interactive GitHub management without Terraform's declarative workflow
  • Organizations requiring vendor-supported tools with SLAs for compliance or critical operations
  • Projects that heavily depend on the latest GitHub API features not yet implemented in the provider
  • Small-scale GitHub usage where manual or script-based automation suffices without Terraform overhead

Pros & Cons

Pros

Seamless Terraform Integration

Leverages Terraform's state management, planning, and dependency resolution, enabling unified infrastructure-as-code workflows alongside other resources.

Declarative Configuration

Treats GitHub configurations as versionable and reproducible assets, ensuring consistent management of repositories, teams, and files as per the project's philosophy.

Comprehensive Resource Coverage

Supports a wide range of GitHub entities including repositories, teams, files, and webhooks, allowing for full infrastructure automation from the key features.

Community-Driven Development

Features and fixes are prioritized based on community feedback via GitHub issues, ensuring the provider evolves with real-world use cases.

Cons

Lack of Official Support

GitHub does not provide support for this integration, relying on community triage which can lead to slower issue resolution and limited accountability.

Feature Implementation Lag

New GitHub API features may not be immediately available, as development is community-prioritized and based on milestones, potentially delaying updates.

Setup and Contribution Barrier

Building the provider requires Go and Terraform knowledge, making it less accessible for casual contributors or teams unfamiliar with this ecosystem.

Frequently Asked Questions

Quick Stats

Stars1,134
Forks992
Contributors0
Open Issues238
Last commit1 day ago
CreatedSince 2017

Tags

#hacktoberfest#repository-management#devops-tools#terraform-provider#terraform#infrastructure-as-code#iac#team-management#github#cloud-automation

Built With

G
Go
T
Terraform SDK

Links & Resources

Website

Included in

Terraform6.3k
Auto-fetched 6 hours ago

Related Projects

terraform-provider-dominosterraform-provider-dominos

The Terraform plugin for the Dominos Pizza provider.

Stars1,176
Forks89
Last commit2 years ago
terraform-provider-keycloakterraform-provider-keycloak

Terraform provider for Keycloak

Stars929
Forks427
Last commit3 days ago
terraform-provider-hcloudterraform-provider-hcloud

Terraform Hetzner Cloud provider

Stars717
Forks93
Last commit23 hours ago
terraform-provider-snowflaketerraform-provider-snowflake

Terraform provider for managing Snowflake accounts

Stars683
Forks504
Last commit17 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub