You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github_branch_protection_v3.example: Creating...
╷
│ Error: PUT https://api.github.com/repos/xxx/terraform-github-management/branches/dev/protection: 422 Invalid request.
│
│ No subschema in "anyOf" matched.
│ For 'properties/checks', nil is not an array.
│ Not all subschemas of "allOf" matched.
│ For 'anyOf/1', {"strict"=>false, "contexts"=>["Naming conventions / Branch"], "checks"=>nil} is not a null. []
│
│ with github_branch_protection_v3.example,
│ on main.tf line 1, in resource "github_branch_protection_v3" "example":
│ 1: resource "github_branch_protection_v3" "example" {
When resource is created manually from console, I can see it fine:
This is indeed a duplicate of #1307; let's continue future conversation over there. If you're interested in opening a PR to fix this behavior, I'd be happy to review!
Branch protection request resource creation fail
How to reproduce:
terraform apply result
When resource is created manually from console, I can see it fine:
The text was updated successfully, but these errors were encountered: