Skip to content

[BUG]: Breaking change introduced with no documentation in 6.10.0 (allowed_merge_methods) #3082

@kpocius

Description

@kpocius

Expected Behavior

Bump provider to 6.10.0 -- since no breaking changes are recorded in release notes, it should just work.

Actual Behavior

Plan fails:

│ Error: Missing required argument
│ 
│   on modules/repository/main.tf line 79, in resource "github_repository_ruleset" "default":
│   79:     pull_request {
│ 
│ The argument "allowed_merge_methods" is required, but no definition was
│ found.

Terraform Version

Terraform v1.10.5
on darwin_arm64

  • provider registry.terraform.io/integrations/github v6.10.0

Affected Resource(s)

github_repository_ruleset

Terraform Configuration Files

Steps to Reproduce

The issue got introduced in #2976 because allowed_merge_methods is required, but it's not even documented in https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_ruleset so you can only infer the values from reading the code.

Debug Output

Panic Output

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    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