From 3bb8327361d8141ddc1f6fd08d860b28646183ba Mon Sep 17 00:00:00 2001 From: Amy Brown Date: Tue, 17 Dec 2019 12:03:09 -0600 Subject: [PATCH] add prefix to the autoscaler name --- secondary.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secondary.tf b/secondary.tf index c91884ff..8a922da2 100644 --- a/secondary.tf +++ b/secondary.tf @@ -25,7 +25,7 @@ resource "google_compute_region_instance_group_manager" "secondary" { } resource "google_compute_region_autoscaler" "secondary" { - name = "secondary-autoscaler" + name = "${var.prefix}-secondary-autoscaler" target = "${google_compute_region_instance_group_manager.secondary.self_link}" autoscaling_policy {