terraform-provider-github
terraform-provider-github copied to clipboard
Terraform GitHub provider
### Terraform Version * Terraform version: `1.0.0` * Github version: `4.11.0` ### Affected Resource(s) - github_membership ### Terraform Configuration Files ```hcl resource "github_membership" "configuration" { username = var.username role =...
Resolves #1071 ---- ## Additional info ### Pull request checklist - [x] Tests for the changes have been added (for bug fixes / features) - [x] Docs have been reviewed...
Hi, I'd like to request the resource for github-repository less `allow forking`. https://docs.github.com/en/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-forking-policy-for-your-repository ### Terraform Version The latest version ### Affected Resource(s) - resource_github_repository
Resolves #2163 ---- ### Before the change? * panic when importing invalid autolink reference ### After the change? * throws an error as expected ### Pull request checklist - [...
Resolves part of #1199 This adds a new resource `github_actions_enterprise_permissions` to control GitHub Actions policy on an enterprise. ```tf data "github_enterprise" "example-enterprise" { slug = "my-enterprise" } data "github_organization" "example-org"...
### Expected Behavior Bypass actors are deleted on the Rule when Terraform code doesn't contain it anymore ### Actual Behavior Bypass actors are still present on the Rule when Terraform...
Resolves #1974. Supersedes #2050. ---- ### Before the change? * The `github_repository_environment_deployment_policy` only supported branch-based policies even though the [GitHub API](https://docs.github.com/en/rest/deployments/branch-policies?apiVersion=2022-11-28#create-a-deployment-branch-policy) has support for both branch-based and tag-based policies. ###...
### Expected Behavior github_repository_webhook would try to call https://api.github.com/repos/org/repo/hooks to create a webhook ### Actual Behavior terraform inserts my github username into the api url and errors out with a...
We would like to manage access for repository security alerts. This feature is documented here https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository A request for this feature was mentioned in the comments [here](https://github.com/terraform-providers/terraform-provider-github/issues/238) but never got...
### Expected Behavior According to the docs [1000](https://github.com/integrations/terraform-provider-github/blob/3f27927e3f61c532d09f6a4de443289d6417e167/website/docs/d/repositories.html.markdown?plain=1#L10) results per page should be allowed. ### Actual Behavior The maximum number of allow results is 100, according to `toDiagFunc(validation.IntBetween(0, 100), "results_per_page")`...