Repository navigation
Closed
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documented
Description
Expected Behavior
the github integration should work anonymously without providing any provider information
Actual Behavior
with no provider "github" {} I get the following error on the most recent version
│ Error: Invalid provider configuration
│
│ Provider "registry.terraform.io/integrations/github" requires explicit configuration. Add a provider block to the root module and configure the provider's required
│ arguments as described in the provider documentation.
│
╵
╷
│ Error: GET https://api.github.com/user: 401 Requires authentication []
│
│ with provider["registry.terraform.io/integrations/github"],
│ on <empty> line 0:
│ (source code not available)
│
with setting the empty provider "github" {}, I still get
╷
│ Error: GET https://api.github.com/user: 401 Requires authentication []
│
│ with provider["registry.terraform.io/integrations/github"],
│ on kube.tf line 754, in provider "github":
│ 754: provider "github" {}
│
Terraform Version
Terraform v1.5.3
on linux_amd64
Your version of Terraform is out of date! The latest version
is 1.6.3. You can update by downloading from https://www.terraform.io/downloads.html
Affected Resource(s)
- kube-hetzner
- probably others as well
Terraform Configuration Files
No response
Steps to Reproduce
you could create a kubernetes cluster using https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner and see that it fails, but I guess that is not yet minimal enough.
Debug Output
No response
Panic Output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reacted by Robert Cambridge, Hubert Barc, K. N., j-nix, Varjitt Jeeva, Alex Hermida, Dan O'Donovan, ckarunamurthy-gwre, Aibek, Antonio Ruiz Rondán and 7 more
Reacted by K. N. and Max
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documented
Type
Projects
- StatusShow more project fields✅ Done
Activity
github-actions commentedon Nov 7, 2023
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with
Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀rcambrj commentedon Nov 7, 2023
This appears to have been introduced in v5.41.0..v5.42.0
mysticaltech commentedon Nov 8, 2023
Waiting for the fix too.
Avoid getting user when anonymous (#2074)
mnencia commentedon Jan 11, 2024
Solved in release 5.44.0.
@kfcampbell please close this issue.
Avoid getting user when anonymous (integrations#2074)
mabilinab commentedon Oct 5, 2024
Hey! I'm getting this error again. Any tips?
mschfh commentedon Nov 1, 2024
@mabilinab Did your
token(GITHUB_TOKEN) expire?