page_title | subcategory | description |
---|---|---|
forgejo_organization Resource - forgejo |
Forgejo organization resource |
Forgejo organization resource
terraform {
required_providers {
forgejo = {
source = "svalabs/forgejo"
}
}
}
provider "forgejo" {
host = "http://localhost:3000"
}
resource "forgejo_organization" "defaults" {
name = "tftest_org_defaults"
}
output "debug_defaults" {
value = forgejo_organization.defaults
}
resource "forgejo_organization" "non_defaults" {
name = "tftest_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"
}
output "debug_non_defaults" {
value = forgejo_organization.non_defaults
}
name
(String) Name of the organization.
description
(String) Description of the organization.full_name
(String) Full name of the organization.location
(String) Location of the organization.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.