Skip to content

Latest commit

 

History

History
93 lines (71 loc) · 1.5 KB

logicmonitor_collector_group.md

File metadata and controls

93 lines (71 loc) · 1.5 KB

logicmonitor_collector_group

back

Index

Terraform

terraform {
  required_providers {
    logicmonitor = ">= 1.3.4"
  }
}

top

Example Usage

module "logicmonitor_collector_group" {
  source = "./modules/logicmonitor/r/logicmonitor_collector_group"

  # description - (optional) is a type of string
  description = null
  # name - (optional) is a type of string
  name = null
  # properties - (optional) is a type of map of string
  properties = {}
}

top

Variables

variable "description" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "name" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "properties" {
  description = "(optional)"
  type        = map(string)
  default     = null
}

top

Resource

resource "logicmonitor_collector_group" "this" {
  # description - (optional) is a type of string
  description = var.description
  # name - (optional) is a type of string
  name = var.name
  # properties - (optional) is a type of map of string
  properties = var.properties
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = logicmonitor_collector_group.this.id
}

output "this" {
  value = logicmonitor_collector_group.this
}

top