From f7cbf0552d806ec66ce8a58c87df9b7dd42a09a8 Mon Sep 17 00:00:00 2001 From: Craig Gilbertson Date: Wed, 3 Apr 2024 13:12:35 +0100 Subject: [PATCH] Problem fixing --- .../locals_preproduction.tf | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/terraform/environments/nomis-combined-reporting/locals_preproduction.tf b/terraform/environments/nomis-combined-reporting/locals_preproduction.tf index db86e9a259a..d1c3709e2e9 100644 --- a/terraform/environments/nomis-combined-reporting/locals_preproduction.tf +++ b/terraform/environments/nomis-combined-reporting/locals_preproduction.tf @@ -205,24 +205,24 @@ locals { # nomis-combined-reporting-environment = "preprod" # }) # }) - # preprod-ncr-db-1-a = merge(local.database_ec2_default, { - # cloudwatch_metric_alarms = merge( - # local.database_cloudwatch_metric_alarms.standard, - # local.database_cloudwatch_metric_alarms.db_connected, - # local.database_cloudwatch_metric_alarms.db_backup, - # ) - # config = merge(local.database_ec2_default.config, { - # instance_profile_policies = concat(local.database_ec2_default.config.instance_profile_policies, [ - # "Ec2PREPRODDatabasePolicy", - # ]) - # }) - # tags = merge(local.database_ec2_default.tags, { - # description = "PREPROD NCR DATABASE" - # nomis-combined-reporting-environment = "preprod" - # oracle-sids = "PREPRODBIPSYS PREPRODBIPAUD" - # instance-scheduling = "skip-scheduling" - # }) - # }) + preprod-ncr-db-1-a = merge(local.database_ec2_default, { + cloudwatch_metric_alarms = merge( + local.database_cloudwatch_metric_alarms.standard, + local.database_cloudwatch_metric_alarms.db_connected, + local.database_cloudwatch_metric_alarms.db_backup, + ) + config = merge(local.database_ec2_default.config, { + instance_profile_policies = concat(local.database_ec2_default.config.instance_profile_policies, [ + "Ec2PREPRODDatabasePolicy", + ]) + }) + tags = merge(local.database_ec2_default.tags, { + description = "PREPROD NCR DATABASE" + nomis-combined-reporting-environment = "preprod" + oracle-sids = "PREPRODBIPSYS PREPRODBIPAUD" + instance-scheduling = "skip-scheduling" + }) + }) ### LSAST