File tree Expand file tree Collapse file tree
clusters/eks-dniel-prod/stage
infrastructure/template/dns Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ locals {
2020 load_balancer_public_ip = " "
2121 load_balancer_alias_hosted_zone_id = " "
2222 load_balancer_alias_dns_name = " "
23- primary_hosted_zone_id = " ZAIGXBQLLBZ7R "
23+ primary_hosted_zone_id = " Z0377759ONY4I87XFN01 "
2424 traefik_pilot_token = " "
2525 traefik_websecure_port = 30443
2626 traefik_service_type = " LoadBalancer"
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ resource "aws_route53_record" "dns_alias_record" {
1212 zone_id = aws_route53_zone. hosted_zone . zone_id
1313 name = " *"
1414 type = " CNAME"
15-
1615 ttl = " 120"
1716 records = [var . load_balancer_alias_dns_name ]
1817}
@@ -26,6 +25,7 @@ data aws_route53_zone "primary_hosted_zone" {
2625# Add NS records to primary hosted zone for lookup
2726# if primary hosted zone id was provided as parameter.
2827resource "aws_route53_record" "nested_domain_ns" {
28+ allow_overwrite = true
2929 depends_on = [data . aws_route53_zone . primary_hosted_zone ]
3030 count = length (var. primary_hosted_zone_id ) > 0 ? 1 : 0
3131 zone_id = data. aws_route53_zone . primary_hosted_zone [0 ]. id
You can’t perform that action at this time.
0 commit comments