From 84d93d941ec226895bf3afebae28f491201d7a6f Mon Sep 17 00:00:00 2001 From: Dominic Robinson <65237317+drobinson-moj@users.noreply.github.com> Date: Wed, 25 Sep 2024 11:29:52 +0100 Subject: [PATCH] ncr: TM-503: add missing tags and secrets (#7921) * add missing tags * secrets --- .../nomis-combined-reporting/locals_preproduction.tf | 12 ++++++++++++ .../locals_secretsmanager.tf | 2 ++ 2 files changed, 14 insertions(+) diff --git a/terraform/environments/nomis-combined-reporting/locals_preproduction.tf b/terraform/environments/nomis-combined-reporting/locals_preproduction.tf index 9a40babd497..61ec05b10a5 100644 --- a/terraform/environments/nomis-combined-reporting/locals_preproduction.tf +++ b/terraform/environments/nomis-combined-reporting/locals_preproduction.tf @@ -42,6 +42,9 @@ locals { branch = "ncr/TM-503/preprod-bip-fixes" }) }) + tags = merge(local.ec2_autoscaling_groups.bip_app.tags, { + nomis-combined-reporting-environment = "pp" + }) }) pp-ncr-cms = merge(local.ec2_autoscaling_groups.bip_cms, { @@ -58,6 +61,9 @@ locals { branch = "ncr/TM-503/preprod-bip-fixes" }) }) + tags = merge(local.ec2_autoscaling_groups.bip_cms.tags, { + nomis-combined-reporting-environment = "pp" + }) }) pp-ncr-webadmin = merge(local.ec2_autoscaling_groups.bip_webadmin, { @@ -74,6 +80,9 @@ locals { branch = "ncr/TM-503/preprod-bip-fixes" }) }) + tags = merge(local.ec2_autoscaling_groups.bip_webadmin.tags, { + nomis-combined-reporting-environment = "pp" + }) }) pp-ncr-web = merge(local.ec2_autoscaling_groups.bip_web, { @@ -90,6 +99,9 @@ locals { branch = "ncr/TM-503/preprod-bip-fixes" }) }) + tags = merge(local.ec2_autoscaling_groups.bip_web.tags, { + nomis-combined-reporting-environment = "pp" + }) }) } diff --git a/terraform/environments/nomis-combined-reporting/locals_secretsmanager.tf b/terraform/environments/nomis-combined-reporting/locals_secretsmanager.tf index 06cd486f900..9500bff7bd7 100644 --- a/terraform/environments/nomis-combined-reporting/locals_secretsmanager.tf +++ b/terraform/environments/nomis-combined-reporting/locals_secretsmanager.tf @@ -4,11 +4,13 @@ locals { bip_app = { secrets = { passwords = { description = "BIP Passwords" } + config = { description = "BIP Configuration" } } } bip_web = { secrets = { passwords = { description = "Web Passwords" } + config = { description = "Web Configuration" } } } bods = {