Skip to content

Commit

Permalink
rename and fix domain
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent 94ee860 commit fa4a500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dns-zone.tf → dns-zone-cat.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
cluster_domain_name = format("%v.%v", var.cluster_name, var.vpc_domain_name)
cluster_domain_name = format("%v.%v", var.cluster_name, var.domain)
cluster_domain_description = format("%v EKS Cluster DNS Zone", var.cluster_name)
# true for gov, false for cat
aws_dns_infrastructure = false
Expand Down Expand Up @@ -56,7 +56,7 @@ output "cluster_domain_ns" {

# 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
name = var.domain
private_zone = true
}

Expand Down

0 comments on commit fa4a500

Please sign in to comment.