back
terraform {
required_providers {
ns1 = ">= 1.9.4"
}
}
top
module "ns1_dnssec" {
source = "./modules/ns1/d/ns1_dnssec"
# zone - (required) is a type of string
zone = null
}
top
variable "zone" {
description = "(required)"
type = string
}
top
data "ns1_dnssec" "this" {
# zone - (required) is a type of string
zone = var.zone
}
top
output "delegation" {
description = "returns a list of object"
value = data.ns1_dnssec.this.delegation
}
output "id" {
description = "returns a string"
value = data.ns1_dnssec.this.id
}
output "keys" {
description = "returns a list of object"
value = data.ns1_dnssec.this.keys
}
output "this" {
value = ns1_dnssec.this
}
top