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 abc9a13 commit 456379c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
resource "aws_route53_record" "cms_cname" {
zone_id = aws_route53_zone.root.id
name = var.cms_cname
type = "CNAME"
ttl = 5

records = ["nhsdigital.github.io"]
}
6 changes: 6 additions & 0 deletions infrastructure/terraform/components/dnsroot/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,9 @@ variable "delegated_dns_zones" {
description = "An object representing DNS zone delegation nameservers"
default = []
}

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

0 comments on commit 456379c

Please sign in to comment.