tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

alicloud_kvstore_instance_classes

back

Index

Terraform

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

top

Example Usage

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

  # architecture - (optional) is a type of string
  architecture = null
  # edition_type - (optional) is a type of string
  edition_type = null
  # engine - (optional) is a type of string
  engine = null
  # engine_version - (optional) is a type of string
  engine_version = null
  # instance_charge_type - (optional) is a type of string
  instance_charge_type = null
  # node_type - (optional) is a type of string
  node_type = null
  # output_file - (optional) is a type of string
  output_file = null
  # package_type - (optional) is a type of string
  package_type = null
  # performance_type - (optional) is a type of string
  performance_type = null
  # series_type - (optional) is a type of string
  series_type = null
  # shard_number - (optional) is a type of number
  shard_number = null
  # sorted_by - (optional) is a type of string
  sorted_by = null
  # storage_type - (optional) is a type of string
  storage_type = null
  # zone_id - (required) is a type of string
  zone_id = null
}

top

Variables

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

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

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

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

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

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

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

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

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

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

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

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

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

variable "zone_id" {
  description = "(required)"
  type        = string
}

top

Datasource

data "alicloud_kvstore_instance_classes" "this" {
  # architecture - (optional) is a type of string
  architecture = var.architecture
  # edition_type - (optional) is a type of string
  edition_type = var.edition_type
  # engine - (optional) is a type of string
  engine = var.engine
  # engine_version - (optional) is a type of string
  engine_version = var.engine_version
  # instance_charge_type - (optional) is a type of string
  instance_charge_type = var.instance_charge_type
  # node_type - (optional) is a type of string
  node_type = var.node_type
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # package_type - (optional) is a type of string
  package_type = var.package_type
  # performance_type - (optional) is a type of string
  performance_type = var.performance_type
  # series_type - (optional) is a type of string
  series_type = var.series_type
  # shard_number - (optional) is a type of number
  shard_number = var.shard_number
  # sorted_by - (optional) is a type of string
  sorted_by = var.sorted_by
  # storage_type - (optional) is a type of string
  storage_type = var.storage_type
  # zone_id - (required) is a type of string
  zone_id = var.zone_id
}

top

Outputs

output "classes" {
  description = "returns a list of object"
  value       = data.alicloud_kvstore_instance_classes.this.classes
}

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

output "instance_classes" {
  description = "returns a list of string"
  value       = data.alicloud_kvstore_instance_classes.this.instance_classes
}

output "this" {
  value = alicloud_kvstore_instance_classes.this
}

top