Skip to content

Commit

Permalink
Merge pull request #40 from hashicorp/autoscale-secondary
Browse files Browse the repository at this point in the history
add prefix to the autoscaler name
  • Loading branch information
amy-hashi authored Dec 17, 2019
2 parents e41d19a + 3bb8327 commit 6bdb5cf
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 6bdb5cf

Please sign in to comment.