terraform-provider-github
terraform-provider-github copied to clipboard
Terraform GitHub provider
Closes #43 * Changes: * support forking as an additional method of creating a new repo with `fork_from_repository` and `fork_into_organization` optional attributes * `fork_from_repository`: to be provided in the format...
I noticed that the attribute `assets_url` was typod to be `asserts_url`. This PR is my attempt to fix that mistake without breaking anyone's existing Terraform code. ~~I'm not sure I've...
## What does this PR do? This adds a new resource for managing [pre-receive hooks](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/) in GitHub Enterprise. ## Example HCL ```hcl resource "github_repository_prereceive_hook" "code_reviews" { name = "require-code-review" repository...
Fixes #130 Still needs: - Acceptance tests :heavy_check_mark: - Further testing of the provider plugin against more configs - Testing with org admins and org member tokens Org member token...
In case not using Admin account/token, the newly created `team` resource is created with 0 members, not allowing the service account / user account to proceed and add members, sub-teams...
Suppress the ETag changes for the `github_membership`, `github_team`, and `github_team_members`. Following the example of https://github.com/integrations/terraform-provider-github/pull/909. Ignoring these changes with LifeCycle rules didn't work either. I don't know if these changes...
Allow importing of r/github_repository_autolink_reference by key prefix to allow for simpler import operations for GitHub admins as they'll be able to import based on something they know, the key prefix,...
When a member's role is changed, only the delete operation is run. The code clearly sets both `delete` and `create` on lines 140:141, but then uses `continue` to loop the...
Resolves https://github.com/integrations/terraform-provider-github/issues/1160 ## Description This PR adds a data source `github_team_repository`. Given a team slug or team id and repository name, it returns a `github_team_repository` resource. Currently, there is no...
Resolves #1206 ###### Description This PR adds a data source for branch protection rules. Given a repository name, it returns a list of branch protection rules associated with that repository....