diff --git a/terraform/environments/planetfm/locals_preproduction.tf b/terraform/environments/planetfm/locals_preproduction.tf index 3bb873edb06..d69bd279ecd 100644 --- a/terraform/environments/planetfm/locals_preproduction.tf +++ b/terraform/environments/planetfm/locals_preproduction.tf @@ -13,22 +13,6 @@ locals { # please keep resources in alphabetical order baseline_preproduction = { - acm_certificates = { - planetfm_wildcard_cert = { - cloudwatch_metric_alarms = module.baseline_presets.cloudwatch_metric_alarms.acm - domain_name = "modernisation-platform.service.justice.gov.uk" - external_validation_records_created = true - subject_alternate_names = [ - "*.pp.planetfm.service.justice.gov.uk", - "pp-cafmwebx.az.justice.gov.uk", - "pp-cafmtx.az.justice.gov.uk", - ] - tags = { - description = "wildcard cert for planetfm preproduction domains" - } - } - } - ec2_instances = { # app servers diff --git a/terraform/environments/planetfm/locals_production.tf b/terraform/environments/planetfm/locals_production.tf index b40f8633313..f84cbb4d46f 100644 --- a/terraform/environments/planetfm/locals_production.tf +++ b/terraform/environments/planetfm/locals_production.tf @@ -13,24 +13,6 @@ locals { # please keep resources in alphabetical order baseline_production = { - acm_certificates = { - planetfm_wildcard_cert = { - cloudwatch_metric_alarms = module.baseline_presets.cloudwatch_metric_alarms.acm - domain_name = "modernisation-platform.service.justice.gov.uk" - external_validation_records_created = true - 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", - ] - tags = { - description = "wildcard cert for planetfm production domains" - } - } - } - ec2_instances = { # app servers pd-cafm-a-10-b = merge(local.ec2_instances.app, {