Skip to content

Commit

Permalink
CCM-7632: CDN changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sidnhs committed Nov 28, 2024
1 parent 456379c commit 9bca8f5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
resource "aws_route53_record" "subdomain_delegated_zones" {
for_each = {
for i, dz in var.delegated_dns_zones :
dz.subdomain => dz
dz.subdomain => dz
}

zone_id = aws_route53_zone.root.zone_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ resource "aws_route53_record" "cms_cname" {
type = "CNAME"
ttl = 5

records = ["nhsdigital.github.io"]
records = ["nhsdigital.github.io"]
}
10 changes: 5 additions & 5 deletions infrastructure/terraform/components/dnsroot/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ variable "root_domain_name" {

variable "delegated_dns_zones" {
type = list(object({
subdomain = string,
ns_records = list(string),
}))
subdomain = string,
ns_records = list(string),
}))
description = "An object representing DNS zone delegation nameservers"
default = []
default = []
}

variable "cms_cname" {
type = string
description = "The CNAME to be used for Web CMS static site"
default = "webcms"
default = "webcms"
}

0 comments on commit 9bca8f5

Please sign in to comment.