-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: team membership flaps constantly after release 6.4.0 apparently due to #2420 #2470
Comments
I have the exact same issue. |
Another "me too" comment. |
+1 |
Take a look at the hoops I've had to jump through to convert team slugs into ids for a bunch of repos defined in human-curated json files, and tell me again how great it is that the provider uses fewer API requests:
|
Concur with the above. I see what we /could/ do, but if you look at the example in the other comment, we're effectively asked to implement all the logic that should be in a provider, on top of the provider in the resource definition. At the topmost abstraction, the resource definition layer (our terraform code) lookups of foundational references should be invisible... and the contested provider code clearly shows this behavior (but flipped from invisibly looking up one thing to invisibly looking up some other thing instead) |
@robinbowes @JCY-Alchemy I've just re-checked my notes and this is a defect as I'd intended to not churn on slugs. There are no automated acceptance tests here (I'm working on it) and I don't work at GitHub so don't have easy access to test infrastructure. I've got a PR open to work on this resource so I'll figure out why this isn't working and add a fix. FYI the reason the number of API call matter is that prior to the refactor this resource was unusable at anything approaching scale. |
Expected Behavior
github_repository_collaborators
should be recognized in plans and applys, or changed implicitly to ID if necessaryActual Behavior
terraform apply
with the plan succeedsTerraform Version
Terraform v1.8.3
on darwin_arm64
version = "~> 6.2"
in the provider)See #2420 for the change that seems to drive this.
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
notes
configure
plan
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: