Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 1.48 KB

alicloud_elasticsearch_zones.md

File metadata and controls

93 lines (70 loc) · 1.48 KB

alicloud_elasticsearch_zones

back

Index

Terraform

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

top

Example Usage

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

  # multi - (optional) is a type of bool
  multi = null
  # output_file - (optional) is a type of string
  output_file = null
}

top

Variables

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

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

top

Datasource

data "alicloud_elasticsearch_zones" "this" {
  # multi - (optional) is a type of bool
  multi = var.multi
  # output_file - (optional) is a type of string
  output_file = var.output_file
}

top

Outputs

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

output "ids" {
  description = "returns a list of string"
  value       = data.alicloud_elasticsearch_zones.this.ids
}

output "zones" {
  description = "returns a list of object"
  value       = data.alicloud_elasticsearch_zones.this.zones
}

output "this" {
  value = alicloud_elasticsearch_zones.this
}

top