Skip to content

[BUG]: github_emu_group_mapping - Invalid address to set: []string{"group"} in v6 #2131

Closed

Description

@gm-hyp-2

Expected Behavior

Until v5.45.0 github_emu_group_mapping worked just fine. When upgrading to v6.0.0.0 and later, the resource cannot be used anymore.

Actual Behavior

When trying to run terraform plan on the resource github_emu_group_mapping: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/emu_group_mapping it always breaks with this reason:

Error: Invalid address to set: []string{"group"}

  with github_emu_group_mapping.pure_fb_mapping["prague-object-one"],
  on teams.tf line 44, in resource "github_emu_group_mapping" "pure_fb_mapping":
  44: resource "github_emu_group_mapping" "pure_fb_mapping" {

Terraform Version

Terraform 1.7.2 on linux_amd64
Affected versions v6.0.0.0-alpha, v6.0.0.0-beta and v6.0.0.0-rc1

Affected Resource(s)

github_emu_group_mapping

Terraform Configuration Files

No response

Steps to Reproduce

Normal tf plan will highlight the error

Debug Output

No response

Panic Output

No response

Code of Conduct

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

Activity

  1. added
    Status: Triage
    Type: Bug
    on Feb 7, 2024
  2. removed
    Status: Triage
    on Feb 7, 2024
  3. moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Activeon Feb 7, 2024
  4. kfcampbell commented on Feb 7, 2024

    @kfcampbell
    Contributor

    This behavior should be fixed by #2133. In previous versions of the provider, we were ignoring that error. Can you please try v6.0.0-rc2 and report back to see if that fixes the error?

  5. gm-hyp-2 commented on Feb 12, 2024

    @gm-hyp-2
    Author

    Yes, that PR seems to have resolved the issue. Thank you!

  6. kfcampbell commented on Feb 12, 2024

    @kfcampbell
    Contributor

    Sounds good! I'm going to close this issue for now. Thank you for reporting, and please reopen if it happens again.

  7. moved this from 🔥 Backlog to ✅ Done in 🧰 Octokit Activeon Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions