github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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 ```hcl 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 ## Argument Reference 29 30 The following arguments are supported: 31 32 * `name` - (Required) The name of the hostgroup. 33 * `display_name` - (Required) The name of the hostgroup to display in the Icinga2 interface. 34