Skip to content

Commit

Permalink
Fix node name tag to be correctly numbered
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotles committed Mar 18, 2020
1 parent 84cfc15 commit f74b715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "aws_instance" "node" {
key_name = var.key_pair_name
subnet_id = var.subnet_id
vpc_security_group_ids = var.security_group_ids
tags = merge({ Name = "${var.cluster_name} ${count.index + 1}" }, var.tags)
tags = merge({ Name = "${var.cluster_name} ${count.index + 2}" }, var.tags)
}

locals {
Expand Down

0 comments on commit f74b715

Please sign in to comment.