integrations / integrations/terraform-provider-github

[BUG]: github_branch_protection_v3 - invalid bypass_pull_request_allowances

Open
#2,580 3 comments 0 reactions 0 assignees View on GitHub
r/branch_protection_v3 Status: Triage Type: Bug
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Expected Behavior

I expect an empty bypass_pull_request_allowances to do nothing. I set it in a module, so i need the block to be there and contain values sometimes.

### Actual Behavior

empty bypass_pull_request_allowances results in an error saying "Error: invalid bypass_pull_request_allowances" when running apply.

### Terraform Version

OpenTofu v1.9.0
on darwin_arm64
+ provider registry.opentofu.org/integrations/github v6.6.0

### Affected Resource(s)

- github_branch_protection_v3

### Terraform Configuration Files

```hcl

```

### Steps to Reproduce

_No response_

### Debug Output

```shell

```

### Panic Output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.