2022-06-12 13:34:17 +00:00
|
|
|
---
|
|
|
|
# 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.
|
2022-06-12 13:34:17 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# gitea_org (Resource)
|
|
|
|
|
2022-06-12 15:49:33 +00:00
|
|
|
`gitea_org` manages a gitea organisation.
|
2022-06-12 13:34:17 +00:00
|
|
|
|
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 13:34:17 +00:00
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
```
|
2022-06-12 13:34:17 +00:00
|
|
|
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
|
|
## Schema
|
|
|
|
|
|
|
|
### Required
|
|
|
|
|
2022-06-12 15:49:33 +00:00
|
|
|
- `name` (String) The name of the organisation without spaces.
|
2022-06-12 13:34:17 +00:00
|
|
|
|
|
|
|
### 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`.
|
2022-06-12 13:34:17 +00:00
|
|
|
- `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.
|
2022-06-12 13:34:17 +00:00
|
|
|
|
|
|
|
### Read-Only
|
|
|
|
|
|
|
|
- `avatar_url` (String)
|
|
|
|
- `id` (String) The ID of this resource.
|
|
|
|
|
|
|
|
|