Skip to content

Latest commit

 

History

History
118 lines (92 loc) · 2.18 KB

alicloud_yundun_dbaudit_instance.md

File metadata and controls

118 lines (92 loc) · 2.18 KB

alicloud_yundun_dbaudit_instance

back

Index

Terraform

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

top

Example Usage

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

  # description_regex - (optional) is a type of string
  description_regex = null
  # ids - (optional) is a type of list of string
  ids = []
  # output_file - (optional) is a type of string
  output_file = null
  # tags - (optional) is a type of map of string
  tags = {}
}

top

Variables

variable "description_regex" {
  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 "tags" {
  description = "(optional)"
  type        = map(string)
  default     = null
}

top

Datasource

data "alicloud_yundun_dbaudit_instance" "this" {
  # description_regex - (optional) is a type of string
  description_regex = var.description_regex
  # 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
  # tags - (optional) is a type of map of string
  tags = var.tags
}

top

Outputs

output "descriptions" {
  description = "returns a list of string"
  value       = data.alicloud_yundun_dbaudit_instance.this.descriptions
}

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

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

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

output "this" {
  value = alicloud_yundun_dbaudit_instance.this
}

top