github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/github/r/issue_label.html.markdown (about)

     1  ---
     2  layout: "github"
     3  page_title: "GitHub: github_issue_label"
     4  sidebar_current: "docs-github-resource-issue-label"
     5  description: |-
     6    Provides a GitHub issue label resource.
     7  ---
     8  
     9  # github\_issue_label
    10  
    11  Provides a GitHub issue label resource.
    12  
    13  This resource allows you to create and manage issue labels within your
    14  Github organization.
    15  
    16  ## Example Usage
    17  
    18  ```
    19  # Create a new, red colored label
    20  resource "github_issue_label" "test_repo" {
    21    repository = "test-repo"
    22    name       = "Urgent"
    23    color      = "FF0000"
    24  }
    25  ```
    26  
    27  ## Argument Reference
    28  
    29  The following arguments are supported:
    30  
    31  * `repository` - (Required) The GitHub repository
    32  * `name` - (Required) The name of the label.
    33  * `color` - (Required) A 6 character hex code, without the leading #, identifying the color of the label.