[BUG]: github_branch_protection allow_force_pushes permanent diff when force_push_bypassers is specified #2054
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Expected Behavior
Value for allows_force_pushes should remain constant after apply even if force_push_bypassers are set
Actual Behavior
allows_force_pushes sticks to false even though it is shows enabled in the GitHub console
Terraform Version
Terraform v1.3.8
on linux_amd64
I tested this with terraform 1.6 and the github provider vs 5.52.0 as well.
Affected Resource(s)
github_branch_protection
Terraform Configuration Files
Steps to Reproduce
Run terraform apply
Then run terraform plan and you should see terraform trying to change allows_force_pushes from false to true
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: