-
Notifications
You must be signed in to change notification settings - Fork 744
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]: github_repository_webhooks #2440
Comments
Additional notes, as I'm now checking GitHub API directly:
So ... It should be there ... at least still returned by API. Also note: |
Wasn't there a mistake here? That one looks wrong, doesn't it?! d3784bd#diff-87481a16ab9a0f8469b24b0d44496c11596a0a28152b7aac21257b8d9a6ab00eL103 Checking diffs on go-github, in between v57 and v62, there's that' commit: I'm not well versed in Go ... But I would say Config's still there, now using some HookConfig struct ... There should still be a way to access that config url? While that hook.URL used as a replacement ...might have been there already. It's not the URL we're expecting there. Is it? |
... Maybe a question to @EttoreFoti? Since you worked on that diff I'm looking at ... What do you think? |
... maybe not: trying to downgrade provider to 6.3.0 or 6.2.3, I still observe the same ... |
Expected Behavior
Discovering webhooks from repositories (see configuration files), using github_repository_webhooks data source.
We used to get a response, including some
.webhooks[].url
key. That key was designating the URL, targeted by each webhook.Dumping those .webhooks into a file, I would get lists, such as:
Actual Behavior
Today, I realize that bit of code is broken. Debugging, I can now find the following to be returned by github_repository_webhooks:
Terraform Version
Terraform v1.9.5, linux amd64, provider registry.terraform.io/integrations/github v6.3.1
Affected Resource(s)
github_repository_webhooks data source
Terraform Configuration Files
Steps to Reproduce
unclear.
I know my colleagues recently upgraded from GHE 3.11.13 to 3.13.5
While our upgrade to 3.11.13 is recent as well... I'm not sure why I last saw that code working, could very well be with a 3.9
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: