From b333f4a90c956ded8013e19e19231b4a626ab9f2 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sat, 23 Aug 2025 17:13:21 +0700 Subject: [PATCH] refactor(infra): use jsonencode instead of HCL raw string --- infra/production/root.hcl | 72 +++++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 33 deletions(-) diff --git a/infra/production/root.hcl b/infra/production/root.hcl index e56f092..1f5c216 100644 --- a/infra/production/root.hcl +++ b/infra/production/root.hcl @@ -4,40 +4,46 @@ locals { } generate "backend" { - path = "backend.tf" - if_exists = "overwrite_terragrunt" - contents = <