From fa7285e6ed336c8921ab4af5f3534892b1561091 Mon Sep 17 00:00:00 2001 From: nttarun-719 Date: Wed, 13 Aug 2025 11:04:17 +0530 Subject: [PATCH 1/2] renaming mig apphub workload id --- modules/mig/outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mig/outputs.tf b/modules/mig/outputs.tf index c8670770..e2d272d0 100644 --- a/modules/mig/outputs.tf +++ b/modules/mig/outputs.tf @@ -39,7 +39,7 @@ output "health_check_self_links" { output "apphub_workload_uri" { value = { workload_uri = "//compute.googleapis.com/projects${element(split("/projects", google_compute_region_instance_group_manager.mig.instance_group), 1)}" - workload_id = substr(join("-", [tostring(google_compute_region_instance_group_manager.mig.name), md5(join("-", [var.region, var.project_id]))]), 0, 63) + workload_id = substr(join("-", [tostring(google_compute_region_instance_group_manager.mig.name), md5(join("-", ["google-vm-mig", var.region, var.project_id]))]), 0, 63) location = var.region } description = "Workload URI in CAIS style to be used by Apphub." From 503deb4e46afd19a5e47a831f2ca299035233650 Mon Sep 17 00:00:00 2001 From: nttarun-719 Date: Thu, 14 Aug 2025 14:25:54 +0530 Subject: [PATCH 2/2] renaming apphub service id for mig --- autogen/outputs.tf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/outputs.tf.tmpl b/autogen/outputs.tf.tmpl index 460c4c01..7981c2f8 100644 --- a/autogen/outputs.tf.tmpl +++ b/autogen/outputs.tf.tmpl @@ -40,7 +40,7 @@ output "health_check_self_links" { output "apphub_workload_uri" { value = { workload_uri = "//compute.googleapis.com/projects${element(split("/projects", google_compute_region_instance_group_manager.mig.instance_group), 1)}" - workload_id = substr(join("-", [tostring(google_compute_region_instance_group_manager.mig.name), md5(join("-", [var.region, var.project_id]))]), 0, 63) + workload_id = substr(join("-", [tostring(google_compute_region_instance_group_manager.mig.name), md5(join("-", ["google-vm-mig", var.region, var.project_id]))]), 0, 63) location = var.region } description = "Workload URI in CAIS style to be used by Apphub."