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" + } + } + } } }