C
Coder.com•5d ago
Hamed

The provider coder/coder does not support data source "coder_git_auth".

hi, i added github similar to the docs but getting the following error when pushing the template.
2025-04-17 14:52:35.713+02:00 Error: Invalid data source
2025-04-17 14:52:35.713+02:00 on main.tf line 301, in data "coder_git_auth" "github":
2025-04-17 14:52:35.714+02:00 301: data "coder_git_auth" "github" {
2025-04-17 14:52:35.714+02:00
2025-04-17 14:52:35.715+02:00 The provider coder/coder does not support data source "coder_git_auth".
2025-04-17 14:52:35.713+02:00 Error: Invalid data source
2025-04-17 14:52:35.713+02:00 on main.tf line 301, in data "coder_git_auth" "github":
2025-04-17 14:52:35.714+02:00 301: data "coder_git_auth" "github" {
2025-04-17 14:52:35.714+02:00
2025-04-17 14:52:35.715+02:00 The provider coder/coder does not support data source "coder_git_auth".
i have the coder running in gcp vm and updated the env vars + restarted the coder service. (the change for the git is done in the tf file for gcp-linux as:
data "coder_git_auth" "github" {
id = "github-primary"
}
data "coder_git_auth" "github" {
id = "github-primary"
}
i saw this thread already bit i'm in the latest version of coder 👀
7 Replies
Codercord
Codercord•5d ago
<#1362413573585895606>
Category
Help needed
Product
Coder (v2)
Platform
macOS
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys•4d ago
you'll want to use coder_external_auth instead now
Hamed
HamedOP•4d ago
awesome, thanks for the quick help 🙇
Phorcys
Phorcys•4d ago
i'll close this issue but feel free to reopen it if you need furthre help
Codercord
Codercord•4d ago
@Phorcys closed the thread.
Hamed
HamedOP•4d ago
now i see that the docs on the website are correct, only the git clone module to be updated https://registry.coder.com/modules/git-clone
External Auth for Git Providers | Coder Docs
Learn about external authentication options in Coder. Configure and manage external provider connections for your development environment.
From An unknown user
From An unknown user

Did you find this page helpful?