Skip to content

Latest commit

 

History

History
97 lines (74 loc) · 1.66 KB

alicloud_cms_monitor_group_instanceses.md

File metadata and controls

97 lines (74 loc) · 1.66 KB

alicloud_cms_monitor_group_instanceses

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_cms_monitor_group_instanceses" {
  source = "./modules/alicloud/d/alicloud_cms_monitor_group_instanceses"

  # ids - (required) is a type of list of string
  ids = []
  # keyword - (optional) is a type of string
  keyword = null
  # output_file - (optional) is a type of string
  output_file = null
}

top

Variables

variable "ids" {
  description = "(required)"
  type        = list(string)
}

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

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

top

Datasource

data "alicloud_cms_monitor_group_instanceses" "this" {
  # ids - (required) is a type of list of string
  ids = var.ids
  # keyword - (optional) is a type of string
  keyword = var.keyword
  # output_file - (optional) is a type of string
  output_file = var.output_file
}

top

Outputs

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

output "instances" {
  description = "returns a list of object"
  value       = data.alicloud_cms_monitor_group_instanceses.this.instances
}

output "this" {
  value = alicloud_cms_monitor_group_instanceses.this
}

top