page_title | subcategory | description |
---|---|---|
forgejo_user Data Source - forgejo |
Forgejo user data source |
Forgejo user data source
terraform {
required_providers {
forgejo = {
source = "svalabs/forgejo"
}
}
}
provider "forgejo" {
host = "http://localhost:3000"
}
# Existing user
data "forgejo_user" "this" {
login = "test_user"
}
output "debug" {
value = data.forgejo_user.this
}
login
(String) Name of the user.
active
(Boolean) Is the user active?avatar_url
(String) Avatar URL of the user.created
(String) Date and time of user creation.description
(String) Description of the user.email
(String) Email address of the user.followers_count
(Number) Number of following users.following_count
(Number) Number of users followed.full_name
(String) Full name of the user.id
(Number) Numeric identifier of the user.is_admin
(Boolean) Is the user an administrator?language
(String) Locale of the user.last_login
(String) Date and time of last login.location
(String) Location of the user.login_name
(String) Login name of the user.prohibit_login
(Boolean) Are user logins prohibited?restricted
(Boolean) Is the user restricted?source_id
(Number) Numeric identifier of the user's authentication source.starred_repos_count
(Number) Number of starred repositories.visibility
(String) Visibility of the user.website
(String) Website of the user.