Skip to content

Commit

Permalink
DSOS-2156: update nomis connection string DNS entries (#3549)
Browse files Browse the repository at this point in the history
* update nomis connection string DNS entries

* add API

* rename

* fix

* fix

* fix

* fix

* fix
  • Loading branch information
drobinson-moj authored Oct 4, 2023
1 parent 4589aca commit e2cbc04
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion terraform/environments/nomis/locals_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,25 @@ locals {
records = [
{ name = "pnomis", type = "A", ttl = "300", records = ["10.40.3.132"] },
{ name = "pnomis-a", type = "A", ttl = "300", records = ["10.40.3.132"] },
{ name = "pnomis-b", type = "A", ttl = "300", records = ["10.40.67.132"] },
{ name = "pnomis-b", type = "CNAME", ttl = "300", records = ["prod-nomis-db-1-b.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "pndh", type = "A", ttl = "300", records = ["10.40.3.135"] },
{ name = "pndh-a", type = "A", ttl = "300", records = ["10.40.3.135"] },
{ name = "pndh-b", type = "CNAME", ttl = "300", records = ["prod-nomis-db-1-b.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "por", type = "CNAME", ttl = "300", records = ["prod-nomis-db-3.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "por-a", type = "CNAME", ttl = "300", records = ["prod-nomis-db-3.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "por-b", type = "CNAME", ttl = "300", records = ["prod-nomis-db-1-b.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "ptrdat", type = "A", ttl = "300", records = ["10.40.3.135"] },
{ name = "ptrdat-a", type = "A", ttl = "300", records = ["10.40.3.135"] },
{ name = "ptrdat-b", type = "CNAME", ttl = "300", records = ["prod-nomis-db-1-b.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "paudit", type = "CNAME", ttl = "300", records = ["prod-nomis-db-2.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "paudit-a", type = "CNAME", ttl = "300", records = ["prod-nomis-db-2.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "paudit-b", type = "CNAME", ttl = "300", records = ["prod-nomis-db-2-b.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "pmis", type = "CNAME", ttl = "300", records = ["10.40.3.133"] },
{ name = "pmis-a", type = "CNAME", ttl = "300", records = ["10.40.3.133"] },
{ name = "pmis-b", type = "CNAME", ttl = "300", records = ["prod-nomis-db-2-b.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "pnomisapiro", type = "CNAME", ttl = "300", records = ["prod-nomis-db-3.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "pnomisapiro-a", type = "CNAME", ttl = "300", records = ["prod-nomis-db-3.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
{ name = "pnomisapiro-b", type = "CNAME", ttl = "300", records = ["prod-nomis-db-1-b.nomis.hmpps-production.modernisation-platform.service.justice.gov.uk"] },
]
lb_alias_records = [
{ name = "prod-nomis-web-a", type = "A", lbs_map_key = "private" },
Expand Down

0 comments on commit e2cbc04

Please sign in to comment.