github_user

Use this data source to retrieve information about a GitHub user.

Example Usage

# Retrieve information about a GitHub user.
data "github_user" "example" {
  username = "example"
}

# Retrieve information about the currently authenticated user.
data "github_user" "current" {
  username = ""
}

output "current_github_login" {
  value = "${data.github_user.current.login}"
}

Argument Reference

Attributes Reference