mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-20 22:01:25 -04:00
* Initial checkin for PR request * Added an argument to provider to allow control over whether or not TLS Certs will skip verification. Controllable via provider or env variable being set * Initial check-in to use refactored module * Checkin of very MVP for creating/deleting host test which works and validates basic host creation and deletion * Check in with support for creating hosts with variables working * Checking in work to date * Remove code that causes travis CI to fail while I debug * Adjust create to accept multivale * Back on track. Working basic tests. go-icinga2-api needs more test too * Squashing * Back on track. Working basic tests. go-icinga2-api needs more test too * Check in refactored hostgroup support * Check in refactored check_command, hosts, and hsotgroup with a few test * Checking in service code * Add in dependency for icinga2 provider * Add documentation. Refactor, fix and extend based on feedback from Hashicorp * Added checking and validation around invalid URL and unavailable server
839 B
839 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| icinga2 | Icinga2: hostgroup | docs-icinga2-resource-hostgroup | Configures a hostgroup resource. This allows hostgroup to be configured, updated and deleted. |
icinga2_hostgroup
Configures an Icinga2 hostgroup resource. This allows hostgroup to be configured, updated, and deleted.
Example Usage
# Configure a new hostgroup to be monitored by an Icinga2 Server
provider "icinga2" {
api_url=https://192.168.33.5:5665/v1
}
resource "icinga2_hostgroup" "my-hostgroup" {
name = "terraform-hostgroup-1"
display_name = "Terraform Test HostGroup"
}
Argument Reference
The following arguments are supported:
name- (Required) The name of the hostgroup.display_name- (Required) The name of the hostgroup to display in the Icinga2 interface.