From 9d057ed45fad67dd331d144a97631577905b7460 Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Tue, 26 Nov 2024 12:53:47 +0000 Subject: [PATCH] I missed this hardcoded region Signed-off-by: Jacob Woffenden --- .../modules/grafana/amazon-prometheus-query-source/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/observability-platform/modules/grafana/amazon-prometheus-query-source/main.tf b/terraform/environments/observability-platform/modules/grafana/amazon-prometheus-query-source/main.tf index 0539fccac03..e15652c448d 100644 --- a/terraform/environments/observability-platform/modules/grafana/amazon-prometheus-query-source/main.tf +++ b/terraform/environments/observability-platform/modules/grafana/amazon-prometheus-query-source/main.tf @@ -1,6 +1,6 @@ locals { name = "${var.name}-amp" - url = "https://aps-workspaces.eu-west-2.amazonaws.com/workspaces/${var.amazon_prometheus_workspace_id}/" + url = "https://aps-workspaces.${var.amazon_prometheus_workspace_region}.amazonaws.com/workspaces/${var.amazon_prometheus_workspace_id}/" } resource "grafana_data_source" "this" {