| page_title | forgejo_user Data Source - forgejo |
|---|---|
| subcategory | |
| description | 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"
}login(String) Name of the user.
active(Boolean) Is the user active?admin(Boolean) Is the user an administrator?avatar_url(String) Avatar URL of the user.created_at(String) Time at which the user was created.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.html_url(String) URL to the user's profile page.id(Number) Numeric identifier of the user.language(String) Locale of the user.last_login(String) Time at which the user last logged in.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.