-
Notifications
You must be signed in to change notification settings - Fork 772
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
[BUG]: Fix CanAdminsBypass to Environment #1804
Comments
Hitting the same issue - it seems that this feature is implemented in API 3.9+ though I couldn't find it in the API docs, there is something mentioned in the release notes (https://docs.github.com/enterprise-server@3.9/admin/release-notes#3.9.0) about this bypassing. It's really annoying that we hit this kind of issues now and then with GHES. We are also on 3.8.4. Found the PR here actually: google/go-github#2721 In the corresponding issue (google/go-github#2722) it is even mentioned that it is not included in the documentation as this is a fairly new feature. Shouldn't the docs be updated together with the feature implementation?! |
Is there any update on this issue? |
I also wanted to use this feature so have setup this PR for it: |
Does anyone know when this will be released :) |
It seems to be a "workaround" not providing a |
I cut a release yesterday, this bugfix should be set to use! |
Describe the need
While using
github_repository_environment
, it is automatically takingcan_admins_bypass
and making invalid PUT request.Example code:
There is no field for
can_admins_bypass
here, plan is successful, but when apply runs, and making PUT request, below is DEBUG errorBecause of
can_admins_bypass
in above request, getting below error:SDK Version
terraform-provider-github_v5.31.0
API Version
v3.8.4
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: