Commit 35151f4e authored by Anton Babenko's avatar Anton Babenko

Minor formatting fix

parent 95536900
......@@ -33,7 +33,7 @@ resource "aws_instance" "this" {
# Note: network_interface can't be specified together with associate_public_ip_address
# network_interface = "${var.network_interface}"
tags = "${merge(var.tags, map("Name", var.instance_count > 1 ? format("%s-%d", var.name, count.index+1):var.name))}"
tags = "${merge(var.tags, map("Name", var.instance_count > 1 ? format("%s-%d", var.name, count.index+1) : var.name))}"
lifecycle {
# Due to several known issues in Terraform AWS provider related to arguments of aws_instance:
# (eg, https://github.com/terraform-providers/terraform-provider-aws/issues/2036)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment