Skip to content

Commit

Permalink
base domain (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 authored Jul 15, 2024
1 parent bdfd310 commit 5b748d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aws/eks/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource "aws_route53_record" "notificatio-root-WC" {
resource "aws_route53_record" "doc-notification-canada-ca-cname" {
provider = aws.dns
zone_id = var.route_53_zone_arn
name = "doc.notification.canada.ca"
name = "doc.${var.domain}"
type = "CNAME"
records = [
aws_alb.notification-canada-ca.dns_name
Expand All @@ -55,7 +55,7 @@ resource "aws_route53_record" "doc-notification-canada-ca-cname" {
resource "aws_route53_record" "document-notification-canada-ca-cname" {
provider = aws.dns
zone_id = var.route_53_zone_arn
name = "document.notification.canada.ca"
name = "document.${var.domain}"
type = "CNAME"
records = [
aws_alb.notification-canada-ca.dns_name
Expand All @@ -66,7 +66,7 @@ resource "aws_route53_record" "document-notification-canada-ca-cname" {
resource "aws_route53_record" "api-document-notification-canada-ca-cname" {
provider = aws.dns
zone_id = var.route_53_zone_arn
name = "api.document.notification.canada.ca"
name = "api.document.${var.domain}"
type = "CNAME"
records = [
aws_alb.notification-canada-ca.dns_name
Expand All @@ -77,7 +77,7 @@ resource "aws_route53_record" "api-document-notification-canada-ca-cname" {
resource "aws_route53_record" "documentation-notification-canada-ca-cname" {
provider = aws.dns
zone_id = var.route_53_zone_arn
name = "documentation.notification.canada.ca"
name = "documentation.${var.domain}"
type = "CNAME"
records = [
aws_alb.notification-canada-ca.dns_name
Expand Down

0 comments on commit 5b748d6

Please sign in to comment.