github.com/shvar/terraform@v0.6.9-0.20151215234924-3365cd2231df/website/source/docs/providers/azurerm/r/resource_group.html.markdown (about)

     1  ---
     2  layout: "azurerm"
     3  page_title: "Azure Resource Manager: azurerm_resource_group"
     4  sidebar_current: "docs-azurerm-resource-resource-group"
     5  description: |-
     6      Creates a new resource group on Azure.
     7  ---
     8  
     9  # azurerm\_resource\_group
    10  
    11  Creates a new resource group on Azure.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "azurerm_resource_group" "test" {
    17    name     = "testResourceGroup1"
    18    location = "West US"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `name` - (Required) The name of the resource group. Must be unique on your
    27      Azure subscription.
    28  
    29  * `location` - (Required) The location where the resource group should be created.
    30      For a list of all Azure locations, please consult [this link](http://azure.microsoft.com/en-us/regions/).
    31  
    32  ## Attributes Reference
    33  
    34  The following attributes are exported:
    35  
    36  * `id` - The resource group ID.