terraform: don't uniquely name ASG

This commit is contained in:
Mitchell Hashimoto
2015-05-12 15:40:36 -07:00
parent 6e528b9ba1
commit 3ffbefcc85

View File

@@ -10,7 +10,7 @@ resource "template_file" "install" {
// We launch Vault into an ASG so that it can properly bring them up for us.
resource "aws_autoscaling_group" "vault" {
name = "vault - ${aws_launch_configuration.vault.name}"
name = "vault"
launch_configuration = "${aws_launch_configuration.vault.name}"
availability_zones = ["${split(",", var.availability-zones)}"]
min_size = "${var.nodes}"