From a83c8f4c1b71d2d8f10487c0a66603a1b5c2fa03 Mon Sep 17 00:00:00 2001 From: Josep Boix Requesens Date: Tue, 15 Oct 2024 14:03:07 +0200 Subject: [PATCH 1/4] chore: update submodule version Update remote submodules to reference the latest commit. --- pillarbox-event-dispatcher | 2 +- pillarbox-monitoring-transfer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pillarbox-event-dispatcher b/pillarbox-event-dispatcher index c5591a0..62757e3 160000 --- a/pillarbox-event-dispatcher +++ b/pillarbox-event-dispatcher @@ -1 +1 @@ -Subproject commit c5591a0699e65c9e19295ccee09858d9bcb1a60b +Subproject commit 62757e3c9c0466a56163ad159bc0043597743ae4 diff --git a/pillarbox-monitoring-transfer b/pillarbox-monitoring-transfer index 089f51c..d51d7fe 160000 --- a/pillarbox-monitoring-transfer +++ b/pillarbox-monitoring-transfer @@ -1 +1 @@ -Subproject commit 089f51c828bc460491c1a3f185c23fa40c34427e +Subproject commit d51d7feb849fa09c5b12c7052a0b3044831ecbc7 From 1af8e360fb251f9e680992cd906354e1f9b44475 Mon Sep 17 00:00:00 2001 From: Josep Boix Requesens Date: Tue, 15 Oct 2024 14:04:43 +0200 Subject: [PATCH 2/4] feat: update environment variables Changed environment variables from `QOS` to `MONITORING`. --- docker-compose.yml | 2 +- .../20-pillarbox-monitoring-app/data_transfer_service.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 48a86b9..800e838 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: - "8081:8081" environment: - PILLARBOX_MONITORING_OPENSEARCH_URI=http://opensearch:9200 - - PILLARBOX_MONITORING_SSE_URI=http://pillarbox-event-dispatcher:8080/events + - PILLARBOX_MONITORING_DISPATCH_URI=http://pillarbox-event-dispatcher:8080/events opensearch: image: opensearchproject/opensearch:2.15.0 diff --git a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf index 89b7b7b..fd161ef 100644 --- a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf +++ b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf @@ -65,7 +65,7 @@ resource "aws_ecs_task_definition" "transfer_task" { # Environment variables for connecting to SSE and OpenSearch services environment = [ { - name = "PILLARBOX_MONITORING_SSE_URI" + name = "PILLARBOX_MONITORING_DISPATCH_URI" value = "http://${aws_service_discovery_service.dispatch_service_discovery.name}.${aws_service_discovery_private_dns_namespace.service_discovery_namespace.name}:8080/events" }, { From bacd0d6df63583ff5a7b3498394e837826df342e Mon Sep 17 00:00:00 2001 From: Josep Boix Requesens Date: Tue, 15 Oct 2024 14:06:59 +0200 Subject: [PATCH 3/4] chore: update grafana dashboard backups Updated the grafana dashboard to the latest remote configuration. --- .../dashboards/active_sessions.json | 6 ++-- .../dashboards/device_breakdown.json | 26 +++++++------- .../dashboards/error_breakdown.json | 26 +++++++------- .../dashboards/events_breakdown.json | 18 +++++----- .../dashboards/metrics_breakdown.json | 34 +++++++++---------- .../dashboards/session_breakdown.json | 30 ++++++++-------- 6 files changed, 70 insertions(+), 70 deletions(-) diff --git a/pillarbox-monitoring-grafana/dashboards/active_sessions.json b/pillarbox-monitoring-grafana/dashboards/active_sessions.json index 18e3894..f5c5b5e 100644 --- a/pillarbox-monitoring-grafana/dashboards/active_sessions.json +++ b/pillarbox-monitoring-grafana/dashboards/active_sessions.json @@ -23,7 +23,7 @@ { "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -172,7 +172,7 @@ "bucketAggs": [], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -215,7 +215,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ diff --git a/pillarbox-monitoring-grafana/dashboards/device_breakdown.json b/pillarbox-monitoring-grafana/dashboards/device_breakdown.json index 98d639a..1535102 100644 --- a/pillarbox-monitoring-grafana/dashboards/device_breakdown.json +++ b/pillarbox-monitoring-grafana/dashboards/device_breakdown.json @@ -23,7 +23,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "Usage by Operating System for the selected time range.", "fieldConfig": { @@ -283,7 +283,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -302,7 +302,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "Usage by device type for the selected time range.", "fieldConfig": { @@ -562,7 +562,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -581,7 +581,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "Usage by browser for the selected time range.", "fieldConfig": { @@ -736,7 +736,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -755,7 +755,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "The top 10 operating systems' versions for the selected time range.", "fieldConfig": { @@ -856,7 +856,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -938,7 +938,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "The top 10 device models for the selected time range.", "fieldConfig": { @@ -1033,7 +1033,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -1052,7 +1052,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "The top 10 browsers' versions for the selected time range.", "fieldConfig": { @@ -1153,7 +1153,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -1246,7 +1246,7 @@ }, "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "definition": "{\n \"find\": \"terms\",\n \"field\": \"data.player.platform.keyword\",\n \"size\": 1000\n}", "description": "Filter by player platform.", diff --git a/pillarbox-monitoring-grafana/dashboards/error_breakdown.json b/pillarbox-monitoring-grafana/dashboards/error_breakdown.json index 97946fe..c0d47c6 100644 --- a/pillarbox-monitoring-grafana/dashboards/error_breakdown.json +++ b/pillarbox-monitoring-grafana/dashboards/error_breakdown.json @@ -33,7 +33,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "gridPos": { "h": 7, @@ -58,7 +58,7 @@ "bucketAggs": [], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -166,7 +166,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -300,7 +300,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -328,7 +328,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -356,7 +356,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -377,7 +377,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -471,7 +471,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -490,7 +490,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -639,7 +639,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -684,7 +684,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -889,7 +889,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -969,7 +969,7 @@ }, "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "definition": "{\n \"find\": \"terms\",\n \"field\": \"data.player.platform.keyword\",\n \"size\": 1000\n}", "description": "Filter by player platform.", diff --git a/pillarbox-monitoring-grafana/dashboards/events_breakdown.json b/pillarbox-monitoring-grafana/dashboards/events_breakdown.json index 861f6db..d017f5e 100644 --- a/pillarbox-monitoring-grafana/dashboards/events_breakdown.json +++ b/pillarbox-monitoring-grafana/dashboards/events_breakdown.json @@ -23,7 +23,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "", "fieldConfig": { @@ -205,7 +205,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -224,7 +224,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "", "fieldConfig": { @@ -447,7 +447,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -467,7 +467,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "Usage by platform for the selected time range.", "fieldConfig": { @@ -667,7 +667,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -686,7 +686,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "", "fieldConfig": { @@ -836,7 +836,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -867,7 +867,7 @@ }, "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "definition": "{\n \"find\": \"terms\",\n \"field\": \"data.player.platform.keyword\",\n \"size\": 1000\n}", "description": "Filter by player platform.", diff --git a/pillarbox-monitoring-grafana/dashboards/metrics_breakdown.json b/pillarbox-monitoring-grafana/dashboards/metrics_breakdown.json index d0446d7..e07aba9 100644 --- a/pillarbox-monitoring-grafana/dashboards/metrics_breakdown.json +++ b/pillarbox-monitoring-grafana/dashboards/metrics_breakdown.json @@ -23,7 +23,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -146,7 +146,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -173,7 +173,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -194,7 +194,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "Stall rate normalized to duration watched.", "fieldConfig": { @@ -303,7 +303,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": true, "metrics": [ @@ -331,7 +331,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": true, "metrics": [ @@ -363,7 +363,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "Stall duration duration to watched ratio,", "fieldConfig": { @@ -472,7 +472,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": true, "metrics": [ @@ -500,7 +500,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": true, "metrics": [ @@ -532,7 +532,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -632,7 +632,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -663,7 +663,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -683,7 +683,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "description": "", "fieldConfig": { @@ -838,7 +838,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -865,7 +865,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -893,7 +893,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -924,7 +924,7 @@ }, "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "definition": "{\n \"find\": \"terms\",\n \"field\": \"data.player.platform.keyword\",\n \"size\": 1000\n}", "description": "Filter by player platform.", diff --git a/pillarbox-monitoring-grafana/dashboards/session_breakdown.json b/pillarbox-monitoring-grafana/dashboards/session_breakdown.json index e562d09..1aec4b9 100644 --- a/pillarbox-monitoring-grafana/dashboards/session_breakdown.json +++ b/pillarbox-monitoring-grafana/dashboards/session_breakdown.json @@ -23,7 +23,7 @@ { "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -94,7 +94,7 @@ "bucketAggs": [], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -219,7 +219,7 @@ { "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -316,7 +316,7 @@ "bucketAggs": [], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -366,7 +366,7 @@ { "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -496,7 +496,7 @@ "bucketAggs": [], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -584,7 +584,7 @@ { "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -718,7 +718,7 @@ "bucketAggs": [], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -809,7 +809,7 @@ { "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -940,7 +940,7 @@ "bucketAggs": [], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -1012,7 +1012,7 @@ { "datasource": { "type": "grafana-opensearch-datasource", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "fieldConfig": { "defaults": { @@ -1135,7 +1135,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { @@ -1162,7 +1162,7 @@ ], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "hide": false, "metrics": [ @@ -1183,7 +1183,7 @@ { "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "gridPos": { "h": 7, @@ -1208,7 +1208,7 @@ "bucketAggs": [], "datasource": { "type": "opensearch", - "uid": "bdyokg8kq4c1sa" + "uid": "de0gi09a14ow0e" }, "metrics": [ { From a9321843f67ffd54521e3c65d9f02a83655a5a95 Mon Sep 17 00:00:00 2001 From: Josep Boix Requesens Date: Tue, 15 Oct 2024 14:09:57 +0200 Subject: [PATCH 4/4] feat: update ecr image tagging strategy to use stable for production - Modified Terraform configuration to tag ECR images with both `latest` and `stable`. - `Latest` is automatically applied to the dev environment for the latest version. - `stable` is manually tagged to indicate a version that is ready for promotion to the production environment. --- .../20-pillarbox-monitoring-app/data_transfer_service.tf | 2 +- .../20-pillarbox-monitoring-app/locals.tf | 4 ++-- .../20-pillarbox-monitoring-app/sse_broker_service.tf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf index fd161ef..d3847ba 100644 --- a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf +++ b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf @@ -50,7 +50,7 @@ resource "aws_ecs_task_definition" "transfer_task" { container_definitions = jsonencode([ { name = "pillarbox-monitoring-transfer" - image = "${local.ecr_repository}/pillarbox-monitoring-transfer:latest" + image = "${local.ecr_repository}/pillarbox-monitoring-transfer:${local.ecr_image_tag}" readonlyRootFilesystem = true # Port mapping for the container diff --git a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/locals.tf b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/locals.tf index a84cdb5..2ac09d5 100644 --- a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/locals.tf +++ b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/locals.tf @@ -4,7 +4,7 @@ locals { ecs_cluster_name = "${var.application_name}-cluster" is_prod = terraform.workspace == "prod" ecr_repository = "${var.account_ids["prod"]}.dkr.ecr.${data.aws_region.current.name}.amazonaws.com" - + ecr_image_tag = local.is_prod ? "stable" : "latest" opensearch = { domain_name = "${var.application_name}-search" @@ -33,4 +33,4 @@ locals { "srg-businessowner" = "pillarbox" "srg-environment" = terraform.workspace } -} \ No newline at end of file +} diff --git a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/sse_broker_service.tf b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/sse_broker_service.tf index 489ad54..a15f789 100644 --- a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/sse_broker_service.tf +++ b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/sse_broker_service.tf @@ -275,7 +275,7 @@ resource "aws_ecs_task_definition" "dispatch_task" { container_definitions = jsonencode([ { name = "pillarbox-event-dispatcher" - image = "${local.ecr_repository}/pillarbox-event-dispatcher:latest" + image = "${local.ecr_repository}/pillarbox-event-dispatcher:${local.ecr_image_tag}" readonlyRootFilesystem = true portMappings = [