github.com/federicobaldo/terraform@v0.6.15-0.20160323222747-b20f680cbf05/website/source/docs/providers/github/r/team.html.markdown (about)

     1  ---
     2  layout: "github"
     3  page_title: "Github: github_team"
     4  sidebar_current: "docs-github-resource-team"
     5  description: |-
     6    Provides a Github team resource.
     7  ---
     8  
     9  # github\_team
    10  
    11  Provides a Github team resource.
    12  
    13  This resource allows you to add/remove teams from your organization. When applied,
    14  a new team will be created. When destroyed, that team will be removed.
    15  
    16  ## Example Usage
    17  
    18  ```
    19  # Add a team to the organization
    20  resource "github_team" "some_team" {
    21  	name = "some-team"
    22  	description = "Some cool team"
    23  }
    24  ```
    25  
    26  ## Argument Reference
    27  
    28  The following arguments are supported:
    29  
    30  * `name` - (Required) The name of the team.
    31  * `description` - (Optional) A description of the team.
    32  
    33  ## Attributes Reference
    34  
    35  The following attributes are exported:
    36  
    37  * `id` - The ID of the created team.