Skip to content

[BUG]: Resource github_repository_ruleset inconsistence issue #2889

@neptune19821220

Description

@neptune19821220

Expected Behavior

I saw the release 6.8.0 including the PR #2821 which said it fixed the issue #2818 I created.
But there is no related info about my issue in the PR change notes.

After I upgrade provider to registry.terraform.io/integrations/github v6.8.0 today, I found my issue still exists.
Could you double check it?

Actual Behavior

Terraform would like to create a new resource with the same name, though it will fail due to the same name.

Terraform Version

Terraform v1.13.5
on linux_arm64

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

Affected Resource(s)

  • github_repository_ruleset

Terraform Configuration Files

Steps to Reproduce

  1. terraform apply -> create a ruleset resource
  2. select the option "Automatically request Copilot code review"
  3. terraform plan -> shows terraform will create a new ruleset
  4. terraform apply -> failed to create because of ruleset name duplication
  5. Remove the selection "Automatically request Copilot code review"
  6. terraform plan -> show "no change"

Debug Output

Panic Output

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions