tfwriter

Terraform HCL code generator.

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

alicloud_tsdb_instances

back

Index

Terraform

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

top

Example Usage

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

  # app_key - (optional) is a type of string
  app_key = null
  # enable_details - (optional) is a type of bool
  enable_details = null
  # engine_type - (optional) is a type of string
  engine_type = null
  # ids - (optional) is a type of list of string
  ids = []
  # output_file - (optional) is a type of string
  output_file = null
  # query_str - (optional) is a type of string
  query_str = null
  # status - (optional) is a type of string
  status = null
  # status_list - (optional) is a type of string
  status_list = null
}

top

Variables

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

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

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

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

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

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

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

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

top

Datasource

data "alicloud_tsdb_instances" "this" {
  # app_key - (optional) is a type of string
  app_key = var.app_key
  # enable_details - (optional) is a type of bool
  enable_details = var.enable_details
  # engine_type - (optional) is a type of string
  engine_type = var.engine_type
  # ids - (optional) is a type of list of string
  ids = var.ids
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # query_str - (optional) is a type of string
  query_str = var.query_str
  # status - (optional) is a type of string
  status = var.status
  # status_list - (optional) is a type of string
  status_list = var.status_list
}

top

Outputs

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

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

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

output "this" {
  value = alicloud_tsdb_instances.this
}

top