diff --git a/infra/main.tf b/infra/main.tf index 3479e7e..2e30951 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -277,8 +277,8 @@ 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 = var.TFC_WORKSPACE_NAME != "" ? trimprefix("${var.TFC_WORKSPACE_NAME}", "mtchoun-mouh-") : "${terraform.workspace}" - + workspace_name = var.TFC_WORKSPACE_NAME != "" ? trimprefix("${var.TFC_WORKSPACE_NAME}", "mtchoun-mouh-") : "${terraform.workspace}" + workspace = substr(local.url, 0, 64) } resource "local_file" "index_page" { diff --git a/requirements.txt b/requirements.txt index cbcf5f1..2b651d9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ contextvars==2.4 diagrams==0.18.0 graphviz==0.13.2 -MarkupSafe==1.1.1 +MarkupSafe>=2.1.1 pre-commit==2.15.0 detect-secrets==1.2.0 moto==3.1.4 @@ -12,4 +12,5 @@ selenium-wire==4.2.0 certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability requests>=2.32.2 # not directly required, pinned by Snyk to avoid a vulnerability urllib3>=2.2.2 # not directly required, pinned by Snyk to avoid a vulnerability -Werkzeug==2.1.2 +Werkzeug==3.0.3 +jinja2>=2.10,<3.0 # version added manualy to fix dependency-conflicts with diagrams