Skip to content

Latest commit

 

History

History
228 lines (191 loc) · 4.76 KB

alicloud_alidns_domains.md

File metadata and controls

228 lines (191 loc) · 4.76 KB

alicloud_alidns_domains

back

Index

Terraform

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

top

Example Usage

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

  # ali_domain - (optional) is a type of bool
  ali_domain = null
  # domain_name_regex - (optional) is a type of string
  domain_name_regex = null
  # enable_details - (optional) is a type of bool
  enable_details = null
  # group_id - (optional) is a type of string
  group_id = null
  # group_name_regex - (optional) is a type of string
  group_name_regex = null
  # ids - (optional) is a type of list of string
  ids = []
  # instance_id - (optional) is a type of string
  instance_id = null
  # key_word - (optional) is a type of string
  key_word = null
  # lang - (optional) is a type of string
  lang = null
  # output_file - (optional) is a type of string
  output_file = null
  # resource_group_id - (optional) is a type of string
  resource_group_id = null
  # search_mode - (optional) is a type of string
  search_mode = null
  # starmark - (optional) is a type of bool
  starmark = null
  # tags - (optional) is a type of map of string
  tags = {}
  # version_code - (optional) is a type of string
  version_code = null
}

top

Variables

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

top

Datasource

data "alicloud_alidns_domains" "this" {
  # ali_domain - (optional) is a type of bool
  ali_domain = var.ali_domain
  # domain_name_regex - (optional) is a type of string
  domain_name_regex = var.domain_name_regex
  # enable_details - (optional) is a type of bool
  enable_details = var.enable_details
  # group_id - (optional) is a type of string
  group_id = var.group_id
  # group_name_regex - (optional) is a type of string
  group_name_regex = var.group_name_regex
  # ids - (optional) is a type of list of string
  ids = var.ids
  # instance_id - (optional) is a type of string
  instance_id = var.instance_id
  # key_word - (optional) is a type of string
  key_word = var.key_word
  # lang - (optional) is a type of string
  lang = var.lang
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # resource_group_id - (optional) is a type of string
  resource_group_id = var.resource_group_id
  # search_mode - (optional) is a type of string
  search_mode = var.search_mode
  # starmark - (optional) is a type of bool
  starmark = var.starmark
  # tags - (optional) is a type of map of string
  tags = var.tags
  # version_code - (optional) is a type of string
  version_code = var.version_code
}

top

Outputs

output "domains" {
  description = "returns a list of object"
  value       = data.alicloud_alidns_domains.this.domains
}

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

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

output "names" {
  description = "returns a list of string"
  value       = data.alicloud_alidns_domains.this.names
}

output "this" {
  value = alicloud_alidns_domains.this
}

top