Skip to content

Commit

Permalink
revert new cert and add entry to hmpps-domain-services san (#7169)
Browse files Browse the repository at this point in the history
* revert new cert and add entry to hmpps-domain-services san

* create a new cert
  • Loading branch information
robertsweetman authored Jul 22, 2024
1 parent 65d2ad7 commit f2b63a6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 16 additions & 0 deletions terraform/environments/hmpps-domain-services/locals_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@ locals {
description = "wildcard cert for hmpps domain load balancer"
}
}
remote_desktop_wildcard_and_planetfm_cert_v2 = {
cloudwatch_metric_alarms = module.baseline_presets.cloudwatch_metric_alarms.acm
domain_name = "modernisation-platform.service.justice.gov.uk"
external_validation_records_created = false
subject_alternate_names = [
"*.hmpps-domain-services.hmpps-production.modernisation-platform.service.justice.gov.uk",
"*.hmpps-domain.service.justice.gov.uk",
"hmpps-az-gw1.justice.gov.uk",
"*.hmpps-az-gw1.justice.gov.uk",
"*.planetfm.service.justice.gov.uk",
"cafmtx.az.justice.gov.uk",
]
tags = {
description = "wildcard cert for hmpps domain load balancer"
}
}
}

ec2_instances = {
Expand Down
16 changes: 0 additions & 16 deletions terraform/environments/planetfm/locals_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,6 @@ locals {
description = "wildcard cert for planetfm production domains"
}
}
remote_desktop_wildcard_and_planetfm_cert_v2 = {
cloudwatch_metric_alarms = module.baseline_presets.cloudwatch_metric_alarms.acm
domain_name = "modernisation-platform.service.justice.gov.uk"
external_validation_records_created = false # change this later
subject_alternate_names = [
"*.planetfm.service.justice.gov.uk",
"cafmwebx.az.justice.gov.uk",
"cafmwebx2.az.justice.gov.uk",
"cafmtx.az.justice.gov.uk",
"cafmtrainweb.az.justice.gov.uk",
"*.az.justice.gov.uk",
]
tags = {
description = "wildcard cert for planetfm production domains and remote desktop"
}
}
}

ec2_instances = {
Expand Down

0 comments on commit f2b63a6

Please sign in to comment.