| page_title | forgejo_organization Resource - forgejo |
|---|---|
| subcategory | |
| description | Forgejo organization resource. |
Forgejo organization resource.
terraform {
required_providers {
forgejo = {
source = "svalabs/forgejo"
}
}
}
provider "forgejo" {
host = "http://localhost:3000"
}
# Organization with default settings
resource "forgejo_organization" "defaults" {
name = "test_org_defaults"
}
# Organization with custom settings
resource "forgejo_organization" "non_defaults" {
name = "test_org_non_defaults"
full_name = "Terraform Test Org with non-default attributes"
description = "Purely for testing..."
website = "https://forgejo.org/"
location = "Mêlée Island"
visibility = "private"
}name(String) Name of the organization. Changing this forces a new resource to be created.
description(String) Description of the organization.full_name(String) Full name of the organization.location(String) Location of the organization.repo_admin_change_team_access(Boolean) Whether repository admin can add and remove access for teams. Changing this forces a new resource to be created.visibility(String) Visibility of the organization. Possible values are 'public' (default), 'limited', or 'private'.website(String) Website of the organization.
avatar_url(String) Avatar URL of the organization.id(Number) Numeric identifier of the organization.