Error: Field 'requireLastPushApproval' doesn't exist on type 'BranchProtectionRule' #1586
Labels
github_enterprise
hacktoberfest
Issues for participation in Hacktoberfest
Status: Stale
Used by stalebot to clean house
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Terraform Version
This problem is there since v5.12.0, it is working fine with v5.11.0. We cannot upgrade because of this. I hope it will work with GHES 3.8.0+ but we cannot be sure. Shouldn't we ensure compatibility with current minor release of GHES at least?
Affected Resource(s)
Terraform Configuration Files
I have also tried to add require_last_push_approval = false to required_pull_request_reviews but that doesn't help either.
What should have happened?
Branch protection rule should have been applied without error
What actually happened?
Following error is thrown:
Please list the steps required to reproduce the issue, for example:
The text was updated successfully, but these errors were encountered: