Skip to content

[BUG]: allow_forking option breaks repo creation when the org doesn't allow forking #3088

@lee2sh

Description

@lee2sh

Expected Behavior

The repository should be created normally.

Actual Behavior

I'm getting 422 error when I try to create a repository because my org doesn't allow forking (forking disabled), but it sends the request with allow_forking option regardless.

Terraform Version

opentofu version 1.11.0

Affected Resource(s)

  • github repository

Terraform Configuration Files

Steps to Reproduce

Disable forking at the org level and try to create a repository using the latest github provider

Debug Output

Panic Output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working as documented

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions