-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Field 'bypassPullRequestAllowances' doesn't exist on type 'BranchProtectionRule' #1090
Comments
Error: Variable $input of type CreateBranchProtectionRuleInput! was provided invalid value for bypassPullRequestActorIds (Field is not defined on CreateBranchProtectionRuleInput)
on .terraform/modules/workspaces.pagerduty/github_repo.tf line 71, in resource "github_branch_protection" "main":
71: resource "github_branch_protection" "main" { Still broken |
From what I can see this was introduced in v4.21.0 with this PR: #1030 |
@djaboxx are you also using Github Enterprise? My guess is that the GraphQL schema on our instances doesnt include that field but public github does 😞 |
What version of GitHub Enterprise are you using? In the meantime, can you use v4.20.1 as a workaround? |
|
I can confirm this issue exists with GHES 3.2.10 and is resolved downgrading to provider v4.20.1. |
👋 Hey Friends, this issue has been automatically marked as |
When will a fix be provided for this issue? |
@djaboxx I can't offer a specific date that we could implement something to work around this, but we're always encouraging of contributions if you'd like to submit! Perhaps we could implement a |
👋 Hey Friends, this issue has been automatically marked as |
Terraform Version
0.14.7
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
Please provide a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
This configuration was working properly, prior to latest version of provider. We are using on-prem TFE.
Actual Behavior
What actually happened?
Error: Field 'bypassPullRequestAllowances' doesn't exist on type 'BranchProtectionRule'
The text was updated successfully, but these errors were encountered: