From febe58d36f004c4352ad479f0f4a1096747cca78 Mon Sep 17 00:00:00 2001 From: Robert Sweetman Date: Mon, 11 Dec 2023 10:54:04 +0000 Subject: [PATCH] production acm cert for planetfm (#4285) --- .../environments/planetfm/locals_production.tf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/terraform/environments/planetfm/locals_production.tf b/terraform/environments/planetfm/locals_production.tf index ba05bc8155f..83697165a97 100644 --- a/terraform/environments/planetfm/locals_production.tf +++ b/terraform/environments/planetfm/locals_production.tf @@ -11,5 +11,22 @@ locals { ] } } + baseline_acm_certificates = { + planetfm_wildcard_cert = { + domain_name = module.environment.domains.public.modernisation_platform + 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", + ] + external_validation_records_created = false + cloudwatch_metric_alarms = module.baseline_presets.cloudwatch_metric_alarms.acm + tags = { + description = "wildcard cert for planetfm ${local.environment} domains" + } + } + } } }