Skip to content

Latest commit

 

History

History
113 lines (88 loc) · 1.95 KB

alicloud_kvstore_zones.md

File metadata and controls

113 lines (88 loc) · 1.95 KB

alicloud_kvstore_zones

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

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

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

top

Datasource

data "alicloud_kvstore_zones" "this" {
  # engine - (optional) is a type of string
  engine = var.engine
  # instance_charge_type - (optional) is a type of string
  instance_charge_type = var.instance_charge_type
  # 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_kvstore_zones.this.id
}

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

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

output "this" {
  value = alicloud_kvstore_zones.this
}

top