tfwriter

Terraform HCL code generator.

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

alicloud_dns_domain_attachment

back

Index

Terraform

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

top

Example Usage

module "alicloud_dns_domain_attachment" {
  source = "./modules/alicloud/r/alicloud_dns_domain_attachment"

  # domain_names - (required) is a type of set of string
  domain_names = []
  # instance_id - (required) is a type of string
  instance_id = null
}

top

Variables

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

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

top

Resource

resource "alicloud_dns_domain_attachment" "this" {
  # domain_names - (required) is a type of set of string
  domain_names = var.domain_names
  # instance_id - (required) is a type of string
  instance_id = var.instance_id
}

top

Outputs

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

output "this" {
  value = alicloud_dns_domain_attachment.this
}

top