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
[BUG]: Validation error in github_team_membership when using team slug #1583
This PR introduced the possibility of using the team slug in the github_team_membership resource instead of the ID. The feature doesn't seem to work because the Validation was not changed in the schema.
SDK Version
No response
API Version
No response
Relevant log output
│ Error: Unexpected ID format ("admin"), expected numerical ID. strconv.ParseInt: parsing "admin": invalid syntax
Activity
kfcampbell commentedon Mar 10, 2023
@PabloPie great catch! Is this something you have any interest in opening up a PR to fix?
PabloPie commentedon Mar 13, 2023
Would removing the Validation be enough? From what I see in other resources there is no validation function:
terraform-provider-github/github/resource_github_team_repository.go
Lines 24 to 29 in 023587e
kfcampbell commentedon Mar 31, 2023
@PabloPie that seems like a reasonable solution to me.