Skip to content

Commit

Permalink
add prefix to the autoscaler name
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-hashi committed Dec 17, 2019
1 parent e41d19a commit 3bb8327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secondary.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3bb8327

Please sign in to comment.