terraform-provider-gitea/docs/resources/org.md

51 lines
1.3 KiB
Markdown
Raw Normal View History

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "gitea_org Resource - terraform-provider-gitea"
subcategory: ""
description: |-
2022-06-12 15:49:33 +00:00
gitea_org manages a gitea organisation.
Organisations are a way to group repositories and abstract permission management in a gitea instance.
---
# gitea_org (Resource)
2022-06-12 15:49:33 +00:00
`gitea_org` manages a gitea organisation.
2022-06-12 15:49:33 +00:00
Organisations are a way to group repositories and abstract permission management in a gitea instance.
2022-06-12 15:49:33 +00:00
## Example Usage
```terraform
resource "gitea_org" "test_org" {
name = "test-org"
}
resource "gitea_repository" "org_repo" {
username = gitea_org.test_org.name
name = "org-test-repo"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Required
2022-06-12 15:49:33 +00:00
- `name` (String) The name of the organisation without spaces.
### Optional
2022-06-12 15:49:33 +00:00
- `description` (String) A description of this organisation.
- `full_name` (String) The display name of the organisation. Defaults to the value of `name`.
- `location` (String)
- `repo_admin_change_team_access` (Boolean)
2022-06-12 15:49:33 +00:00
- `visibility` (String) Flag is this organisation should be publicly visible or not.
- `website` (String) A link to a website with more information about this organisation.
### Read-Only
- `avatar_url` (String)
- `id` (String) The ID of this resource.