From 4cc1a6ebedc83785f937b5003420a13334c8088b Mon Sep 17 00:00:00 2001 From: Harriet H-W Date: Fri, 21 Nov 2025 15:27:57 +0000 Subject: [PATCH] Fix dashboard default variable This was causing pipeline to fail because the type mismatch between object and string https://dev.azure.com/nhse-dtos/dtos-manage-breast-screening/_build/results?buildId=30697&view=logs&j=4a575bb6-72e3-5024-4059-681dfff5b130&t=50921939-654e-54f7-a1fc-3563cecb680a&l=170 --- infrastructure/modules/dashboard/tfdocs.md | 2 +- infrastructure/modules/dashboard/variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/modules/dashboard/tfdocs.md b/infrastructure/modules/dashboard/tfdocs.md index 847580d8..3e128202 100644 --- a/infrastructure/modules/dashboard/tfdocs.md +++ b/infrastructure/modules/dashboard/tfdocs.md @@ -32,7 +32,7 @@ Description: JSON data representing dashboard body. See above for details on how Type: `string` -Default: `{}` +Default: `"{}"` ### [tags](#input\_tags) diff --git a/infrastructure/modules/dashboard/variables.tf b/infrastructure/modules/dashboard/variables.tf index 15a7d1b1..21f15e45 100644 --- a/infrastructure/modules/dashboard/variables.tf +++ b/infrastructure/modules/dashboard/variables.tf @@ -25,6 +25,6 @@ variable "tags" { variable "dashboard_properties" { type = string - default = {} + default = "{}" description = "JSON data representing dashboard body. See above for details on how to obtain this from the Portal." }