back
terraform {
required_providers {
dns = ">= 3.1.0"
}
}
top
module "dns_a_record_set" {
source = "./modules/dns/d/dns_a_record_set"
# host - (required) is a type of string
host = null
}
top
variable "host" {
description = "(required)"
type = string
}
top
data "dns_a_record_set" "this" {
# host - (required) is a type of string
host = var.host
}
top
output "addrs" {
description = "returns a list of string"
value = data.dns_a_record_set.this.addrs
}
output "id" {
description = "returns a string"
value = data.dns_a_record_set.this.id
}
output "this" {
value = dns_a_record_set.this
}
top