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" {