You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT]: github_team_membership doesn't allow slug instead of team id #1501
If you try to pass in the slug version of a team to team id instead of the actual numerical id you run into this issue:
│ Error: Unexpected ID format ("developers"), expected numerical ID. strconv.ParseInt: parsing "developers": invalid syntax │ │ with github_team_membership.ghe_team_membership["developers.member.blah"], │ on team_membership.tf line 14, in resource "github_team_membership" "ghe_team_membership": │ 14: resource "github_team_membership" "ghe_team_membership" { │
This happens for github_team_membership but not for github_team_repository. The documentation does make it clear, but it would be a great enhancement if we could instead be able to do it as well for github_team_membership.
SDK Version
No response
API Version
No response
Relevant log output
Error: Unexpected ID format ("developers"), expected numerical ID. strconv.ParseInt: parsing "developers": invalid syntax
│
│ with github_team_membership.ghe_team_membership["developers.member.blah"],
│ on team_membership.tf line 14, in resource "github_team_membership""ghe_team_membership":
│ 14: resource "github_team_membership""ghe_team_membership" {
│
Activity