1.3 KiB
1.3 KiB
page_title | subcategory | description |
---|---|---|
forgejo_repository_label Resource - terraform-provider-forgejo | Use this resource to create and manage a repository label. |
forgejo_repository_label (Resource)
Use this resource to create and manage a repository label.
Example Usage
resource "forgejo_repository_label" "main" {
color = "0000ff"
description = "blue label"
name = "test"
owner = "adyxax"
repository = "example"
}
Schema
Required
color
(String) The label's color in lowercase rgb format, without a leading#
. For example207de5
.description
(String) A description string.name
(String) The label's name.owner
(String) The variable's owner.repository
(String) The label's repository.
Optional
exclusive
(Boolean) Whether the label is exclusive or not. Defaults tofalse
. Name the labelscope/item
to make it mutually exclusive with otherscope/
labels.is_archived
(Boolean) Whether the repository label is archived or not. Defaults tofalse
Read-Only
id
(Number) The identifier of the repository label.url
(String) The repository label's URL.