Open jamesgeddes opened 5 months ago
fails when specifying github app as,
Also attempted the following with same results:
Still valid with provider version 6.2.2
Is there a plan to fix this issue?
As a workaround you can provide the node-id
which you can get from the rest api:
https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28
As a workaround you can provide the
node-id
which you can get from the rest api: https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28
hi @tobias-farrenkopf , we also encountered this issue recently, would you mind providing some details about how to use this workaround ....
we try
pull_request_bypassers = ["A_ID"]
but it doesn't work. appreciat it in advance 🙏🙏
Expected Behavior
should be able to add a github app (bot) to PR bypassers, as indicated by the docs;
Can add a GitHub app using the GUI, but not in Terraform. When a GitHub app is manually added to the PR bypassers in the GUI, it shows up in terraform as [org name]/[app username].
NB This was tested within a GitHub org using a github app that had been granted all permissions.
Actual Behavior
terraform apply returned the following error.
fails when specifying github app as,
terraform plan
!)[bot]
Terraform Version
Terraform v1.8.0 GitHub provider v6.2.1
Affected Resource(s)
github_branch_protection
Terraform Configuration Files
Steps to Reproduce
terraform plan
andterraform apply
with no pull_request_bypassersterraform plan
shows [org name]/[app username] to removeterraform plan
- note github app is acceptedterraform apply
- noteError: Could not resolve to a node with the global id of ''
errorDebug Output
No response
Panic Output
No response
Code of Conduct