https://github.com/patrickmarabeas/terraform-provider-github-v4
Terraform GitHub provider (GraphQL v4 API)
https://github.com/patrickmarabeas/terraform-provider-github-v4
github go graphql provider terraform v4
Last synced: 3 months ago
JSON representation
Terraform GitHub provider (GraphQL v4 API)
- Host: GitHub
- URL: https://github.com/patrickmarabeas/terraform-provider-github-v4
- Owner: patrickmarabeas
- Created: 2020-01-11T02:53:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-16T23:39:11.000Z (over 4 years ago)
- Last Synced: 2025-04-09T16:53:28.185Z (6 months ago)
- Topics: github, go, graphql, provider, terraform, v4
- Language: Go
- Homepage:
- Size: 157 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform Provider GitHub v4 (GraphQL)
For use alongside `terraform-provider-github` while it is determined how v4 resources will be included.
## Installation
Copy the built binaries into the Terraform working directory:
`build/darwin/terraform-provider-github-v4_vx.x.x` -> `/terraform.d/plugins/darwin_amd64/terraform-provider-github-v4_vx.x.x`
`build/linux/terraform-provider-github-v4_vx.x.x` -> `/terraform.d/plugins/linux_amd64/terraform-provider-github-v4_vx.x.x`
Read more about [plugin locations](https://www.terraform.io/docs/extend/how-terraform-works.html#plugin-locations).
## Usage
```hcl
# The official Github provider
provider "github" {
organization = "myorg"
...
}# The v4 Github provider
provider "github-v4" {
organization = "myorg"
...
}# For data sources and resources you wish to use the v4 provider
resource "github_branch_protection" "master" {
provider = github-v4
...
}
```There are schema differences between the providers. For now you'll need to view the source.