github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/website/source/docs/providers/icinga2/r/hostgroup.html.markdown (about) 1 --- 2 layout: "icinga2" 3 page_title: "Icinga2: hostgroup" 4 sidebar_current: "docs-icinga2-resource-hostgroup" 5 description: |- 6 Configures a hostgroup resource. This allows hostgroup to be configured, updated and deleted. 7 --- 8 9 # icinga2\_hostgroup 10 11 Configures an Icinga2 hostgroup resource. This allows hostgroup to be configured, updated, 12 and deleted. 13 14 ## Example Usage 15 16 ``` 17 # Configure a new hostgroup to be monitored by an Icinga2 Server 18 provider "icinga2" { 19 api_url=https://192.168.33.5:5665/v1 20 } 21 22 resource "icinga2_hostgroup" "my-hostgroup" { 23 name = "terraform-hostgroup-1" 24 display_name = "Terraform Test HostGroup" 25 } 26 27 28 ``` 29 30 ## Argument Reference 31 32 The following arguments are supported: 33 34 * `name` - (Required) The name of the hostgroup. 35 * `display_name` - (Required) The name of the hostgroup to display in the Icinga2 interface. 36