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
Github_team - Error: Provider produced inconsistent result after apply #434
What should have happened?
Github Team created with a proper exit.
Actual Behavior
What actually happened?
module.PITA_Membership.github_team.team_created["Puppet"]: Creating...
Error: Provider produced inconsistent result after apply
When applying changes to
module.PITA_Membership.github_team.team_created["Puppet"], provider
"registry.terraform.io/-/github" produced an unexpected new value for was
present, but now absent.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Running against github enterprise private instance.
@shaun-rutherford of course, no worries! if you do come across other inconsistencies with the provider and your github enterprise setup please let us know :)
Activity
anGie44 commentedon Apr 24, 2020
Hi @shaun-rutherford, thank you for reporting this issue! I believe it's quite similar to #404. Unfortunately, this compatibility issue is still present in the provider AFIK and issue #404 illustrates a similar use case. Essentially the
go-githubclient library in use is using an API method (to get a team) that is not supported by the enterprise API - explains why you're seeing the 404 response from the request:GET /api/v3/organizations/5/team/36(the GitHub Enterprise API v2.20 supports onlyGET /api/v3/orgs/:org/teams/:team_slugorGET /api/v3/teams/:team_id).more info available here as well:
https://developer.github.com/enterprise/2.20/v3/teams/#get-team-by-name
https://developer.github.com/enterprise/2.20/v3/teams/#get-team
shaun-rutherford commentedon Apr 29, 2020
Hi @anGie44 thanks much for the explanation, sorry I missed the #404 issue when I was searching for something similar.
I'll close this now since the #404 issue basically covers this I think.
anGie44 commentedon Apr 29, 2020
@shaun-rutherford of course, no worries! if you do come across other inconsistencies with the provider and your github enterprise setup please let us know :)