Expected Behavior
Importing a EMU group mapping should require the group ID and team slug and should not fail if the group is connected to multiple teams.
Documentation reference:
https://registry.terraform.io/providers/integrations/github/latest/docs/resources/emu_group_mapping#group_id-1
Actual Behavior
Importing a EMU group mapping fails if the group is connected to multiple teams.
See error returned:
|
if len(group.Teams) != 1 { |
Terraform Version
Terraform v1.14.3
on linux_amd64
+provider registry.terraform.io/integrations/github v6.8.3
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
No response
Debug Output
Panic Output
Code of Conduct
Expected Behavior
Importing a EMU group mapping should require the group ID and team slug and should not fail if the group is connected to multiple teams.
Documentation reference:
https://registry.terraform.io/providers/integrations/github/latest/docs/resources/emu_group_mapping#group_id-1
Actual Behavior
Importing a EMU group mapping fails if the group is connected to multiple teams.
See error returned:
terraform-provider-github/github/resource_github_emu_group_mapping.go
Line 34 in 63076f7
Terraform Version
Terraform v1.14.3
on linux_amd64
+provider registry.terraform.io/integrations/github v6.8.3
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
No response
Debug Output
Panic Output
Code of Conduct