Skip to content

Commit

Permalink
not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent bf19049 commit 4bd1980
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions dns-zone-cat.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ output "cluster_domain_ns" {
value = aws_route53_zone.cluster_domain.name_servers
}

# now we need to add the NS records for the new zone to the parent zone
data "aws_route53_zone" "parent" {
name = var.vpc_domain_name
private_zone = true
}
# # now we need to add the NS records for the new zone to the parent zone
# data "aws_route53_zone" "parent" {
# name = var.vpc_domain_name
# private_zone = true
# }

resource "aws_route53_record" "cluster_domain" {
allow_overwrite = true
name = local.cluster_domain_name
type = "NS"
ttl = 900
zone_id = data.aws_route53_zone.parent.zone_id
# resource "aws_route53_record" "cluster_domain" {
# allow_overwrite = true
# name = local.cluster_domain_name
# type = "NS"
# ttl = 900
# zone_id = data.aws_route53_zone.parent.zone_id

records = aws_route53_zone.cluster_domain.name_servers
}
# records = aws_route53_zone.cluster_domain.name_servers
# }

## #---
## # associate to main do2-govcloud vpc1-services east and west for inbound resolution
Expand Down

0 comments on commit 4bd1980

Please sign in to comment.