tfwriter

Terraform HCL code generator.

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

alicloud_dns_domain_txt_guid

back

Index

Terraform

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

top

Example Usage

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

  # domain_name - (required) is a type of string
  domain_name = null
  # lang - (optional) is a type of string
  lang = null
  # output_file - (optional) is a type of string
  output_file = null
  # type - (required) is a type of string
  type = null
}

top

Variables

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

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

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

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

top

Datasource

data "alicloud_dns_domain_txt_guid" "this" {
  # domain_name - (required) is a type of string
  domain_name = var.domain_name
  # lang - (optional) is a type of string
  lang = var.lang
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # type - (required) is a type of string
  type = var.type
}

top

Outputs

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

output "rr" {
  description = "returns a string"
  value       = data.alicloud_dns_domain_txt_guid.this.rr
}

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

output "this" {
  value = alicloud_dns_domain_txt_guid.this
}

top