Accessing NLB Hosted Zone ID in Terraform AWS Configuration Documentation

Hi friends does anyone know how i get the routed 54 hosted zone id (nlb) in terraform - https://docs.aws.amazon.com/general/latest/gr/elb.html

I think this could be what you’re looking for: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb#zone_id

what i actually needed was

  load_balancer_type = "network"
}```


Which is the Route 53 Hosted Zone ID (Network Load Balancers) for the region of my aws provider

oh interesting, thansk i did not see that zone_id, that also works

if the load balancer is created in terraform, you should be able to just use aws_lb.whatever_LB_name.zone_id