From fe8d815fcb86fe8a9657e1ce15efdee2aecb961f Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Mon, 25 Nov 2024 14:53:45 +0000 Subject: [PATCH] Migrate tenants Signed-off-by: Jacob Woffenden --- .../environment-configurations.tf | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/terraform/environments/observability-platform/environment-configurations.tf b/terraform/environments/observability-platform/environment-configurations.tf index da150b3d9f5..4266af984e0 100644 --- a/terraform/environments/observability-platform/environment-configurations.tf +++ b/terraform/environments/observability-platform/environment-configurations.tf @@ -127,6 +127,13 @@ locals { "analytical-platform" = { identity_centre_team = "analytical-platform" aws_accounts = { + "analytical-platform-ingestion-development" = { + cloudwatch_enabled = true + prometheus_push_enabled = false + amazon_prometheus_query_enabled = false + xray_enabled = true + athena_enabled = false + }, "analytical-platform-ingestion-production" = { cloudwatch_enabled = true prometheus_push_enabled = false @@ -134,6 +141,14 @@ locals { xray_enabled = true athena_enabled = false }, + "analytical-platform-compute-development" = { + cloudwatch_enabled = true + prometheus_push_enabled = false + amazon_prometheus_query_enabled = true + amazon_prometheus_workspace_id = "ws-bfdd5d7a-5571-4686-bfd4-43ab07cf8d54ba" + xray_enabled = true + athena_enabled = false + }, "analytical-platform-compute-production" = { cloudwatch_enabled = true prometheus_push_enabled = false @@ -142,6 +157,14 @@ locals { xray_enabled = true athena_enabled = false }, + "analytical-platform-compute-test" = { + cloudwatch_enabled = true + prometheus_push_enabled = false + amazon_prometheus_query_enabled = true + amazon_prometheus_workspace_id = "ws-a9d7f576-58b7-4748-b4c1-b02bbdc54a2922" + xray_enabled = true + athena_enabled = false + }, "analytical-platform-production" = { cloudwatch_enabled = true prometheus_push_enabled = false @@ -152,9 +175,37 @@ locals { } } }, + "data-engineering" = { + "identity_centre_team" = "data-engineering", + "aws_accounts" = { + "analytical-platform-data-engineering-sandboxa" = { + cloudwatch_enabled = true + prometheus_push_enabled = false + amazon_prometheus_query_enabled = false + xray_enabled = false + athena_enabled = false + } + } + }, "digital-prison-reporting" = { "identity_centre_team" = "hmpps-digital-prison-reporting", "aws_accounts" = { + "digital-prison-reporting-development" = { + cloudwatch_enabled = true + cloudwatch_custom_namespaces = "DPRAgentCustomMetrics,DPRDataReconciliationCustom" + prometheus_push_enabled = false + amazon_prometheus_query_enabled = false + xray_enabled = false + athena_enabled = false + }, + "digital-prison-reporting-preproduction" = { + cloudwatch_enabled = true + cloudwatch_custom_namespaces = "DPRAgentCustomMetrics,DPRDataReconciliationCustom" + prometheus_push_enabled = false + amazon_prometheus_query_enabled = false + xray_enabled = false + athena_enabled = false + }, "digital-prison-reporting-production" = { cloudwatch_enabled = true cloudwatch_custom_namespaces = "DPRAgentCustomMetrics,DPRDataReconciliationCustom" @@ -162,6 +213,33 @@ locals { amazon_prometheus_query_enabled = false xray_enabled = false athena_enabled = false + }, + "digital-prison-reporting-test" = { + cloudwatch_enabled = true + cloudwatch_custom_namespaces = "DPRAgentCustomMetrics,DPRDataReconciliationCustom" + prometheus_push_enabled = false + amazon_prometheus_query_enabled = false + xray_enabled = false + athena_enabled = false + } + } + }, + "digital-studio-operations" = { + "identity_centre_team" = "studio-webops" + "aws_accounts" = { + "nomis-test" = { + cloudwatch_enabled = true + prometheus_push_enabled = false + amazon_prometheus_query_enabled = false + xray_enabled = false + athena_enabled = false + } + "oasys-test" = { + cloudwatch_enabled = true + prometheus_push_enabled = false + amazon_prometheus_query_enabled = false + xray_enabled = false + athena_enabled = false } } },