From 08dce9e8b89cf3b8310b2d7a9c4464da00b0fd69 Mon Sep 17 00:00:00 2001 From: Martin Charbonneau Date: Wed, 5 Aug 2026 12:22:37 -0400 Subject: [PATCH 1/2] Add Renovate replacement rule for Azure/naming to Workleap fork --- renovate-terraform-infra.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/renovate-terraform-infra.json b/renovate-terraform-infra.json index 5c6db80e..7804a06c 100644 --- a/renovate-terraform-infra.json +++ b/renovate-terraform-infra.json @@ -7,5 +7,15 @@ "autodiscover": true, "autodiscoverFilter": [ "workleap/wl-terraform-*" + ], + "packageRules": [ + { + "description": "FENG-2646: migrate Azure/naming to the Workleap fork, which drops two billable random_string resources per module instance. Scoped to 0.4.2/0.4.3 because the fork is cut from 0.4.3: lower pins (0.2.0/0.3.0/0.4.0 in wl-terraform-wlplatform) cross upstream naming changes that would rename live Azure resources, and the `~> 0.4` ranges in wl-terraform-ittech would be rewritten to `~> 1.0` rather than pinned. Those six blocks are handled by hand. Remove this rule once the estate is migrated.", + "matchDatasources": ["terraform-module"], + "matchPackageNames": ["Azure/naming/azurerm"], + "matchCurrentValue": "/^0\\.4\\.[23]$/", + "replacementName": "app.terraform.io/Workleap/naming/azurerm", + "replacementVersion": "1.0.0" + } ] } From 66182a53d3407bd8cfbaf13cbab1925baf3ac9b2 Mon Sep 17 00:00:00 2001 From: Martin Charbonneau Date: Wed, 5 Aug 2026 13:12:59 -0400 Subject: [PATCH 2/2] Carve wl-ai out of the Azure/naming replacement and trim the rule description --- renovate-terraform-infra.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/renovate-terraform-infra.json b/renovate-terraform-infra.json index 7804a06c..631a3ca8 100644 --- a/renovate-terraform-infra.json +++ b/renovate-terraform-infra.json @@ -10,12 +10,20 @@ ], "packageRules": [ { - "description": "FENG-2646: migrate Azure/naming to the Workleap fork, which drops two billable random_string resources per module instance. Scoped to 0.4.2/0.4.3 because the fork is cut from 0.4.3: lower pins (0.2.0/0.3.0/0.4.0 in wl-terraform-wlplatform) cross upstream naming changes that would rename live Azure resources, and the `~> 0.4` ranges in wl-terraform-ittech would be rewritten to `~> 1.0` rather than pinned. Those six blocks are handled by hand. Remove this rule once the estate is migrated.", + "description": "FENG-2646: migrate Azure/naming to the Workleap fork. Scoped to 0.4.2/0.4.3; six lower or ranged pins are migrated by hand. Remove this rule once the estate is migrated.", "matchDatasources": ["terraform-module"], "matchPackageNames": ["Azure/naming/azurerm"], "matchCurrentValue": "/^0\\.4\\.[23]$/", "replacementName": "app.terraform.io/Workleap/naming/azurerm", "replacementVersion": "1.0.0" + }, + { + "description": "FENG-2646 carve-out: wl-ai feeds name_unique into live data stores, so a seed change would force destroy/recreate across ai-dev/stg/prod. These instances stay on upstream.", + "matchDatasources": ["terraform-module"], + "matchPackageNames": ["Azure/naming/azurerm"], + "matchRepositories": ["workleap/wl-terraform-lab"], + "matchFileNames": ["wl-ai/modules/**"], + "enabled": false } ] }