Skip to content

Commit 7b700d2

Browse files
committed
update hostedzone id
1 parent f6ceed8 commit 7b700d2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • clusters/eks-dniel-prod/stage
  • infrastructure/template/dns

clusters/eks-dniel-prod/stage/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

infrastructure/template/dns/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.
2827
resource "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

0 commit comments

Comments
 (0)