coder_git_auth value is empty

I try to get an access_token and export it as a ENV var. See https://registry.terraform.io/providers/coder/coder/latest/docs/data-sources/git_auth

data "coder_git_auth" "github" {
  # Matches the ID of the git auth provider in Coder.
  id = "primary-github"
}


The ENV is then empty. Any hints how to debug?

GIT_AUTH = data.coder_git_auth.github.access_token


Version 0.17.4 und 0.6.14
Was this page helpful?