From b5b7eb084a30a0006ee41582d8abe257eb981905 Mon Sep 17 00:00:00 2001 From: ngnnpgn Date: Mon, 30 Sep 2024 21:14:21 +0000 Subject: [PATCH] fix: workspace name length --- infra/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/main.tf b/infra/main.tf index 03759a5..0fac9f1 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -278,7 +278,7 @@ locals { # If your backend is not Terraform Cloud, the value is ${terraform.workspace} # otherwise the value retrieved is that of the TFC_WORKSPACE_NAME with trimprefix workspace_name = var.TFC_WORKSPACE_NAME != "" ? trimprefix("${var.TFC_WORKSPACE_NAME}", "mtchoun-mouh-") : "${terraform.workspace}" - workspace = substr(local.workspace_name, 0, 45) + workspace = substr(local.workspace_name, 0, 30) } resource "local_file" "index_page" {