POWERDNS : Create a "sub-domain" in using powerdns - resource pdns_zone

HI
I am trying to code to add a subdomain to the existing domains on Powerdns .
===PROVIDER PROVIDER

terraform {
  required_providers {
    powerdns = {
      source = "pan-net/powerdns"
      version = "1.5.0"
    }
  }
}

provider "powerdns" {
  # Configuration options
}

====================
My code

cat main.tf

resource “powerdns_zone” “zone” {
for_each = { for k, v in var.zones : k => v }
name = each.value.name
kind = each.value.kind
nameservers = each.value.nameservers
}

==variables.tf==

variable “zones” {
type = list(object({
name = string
kind = string
nameservers = list(string)
}))
description = “none”
default = [
{
name = “doss.io.”
kind = “Native”
ttl = 300
nameservers = [“ns1.doss.io.”, “ns2.doss.io.”]
},
{
name = “moss.io.”
kind = “Native”
ttl = 300
nameservers = [“ns1.moss.io.”, “ns2.moss.io.”]
}
]
}