Skip to content

Commit

Permalink
fix call to local.instance_name (terraform-aws-modules#71)
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Iskandarov <[email protected]>
  • Loading branch information
den-is authored and antonbabenko committed Feb 25, 2019
1 parent b23bd60 commit ac02252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "aws_instance" "this" {
placement_group = "${var.placement_group}"
tenancy = "${var.tenancy}"

tags = "${merge(locals.instance_name, var.tags)}"
tags = "${merge(local.instance_name, var.tags)}"

lifecycle {
# Due to several known issues in Terraform AWS provider related to arguments of aws_instance:
Expand Down Expand Up @@ -78,7 +78,7 @@ resource "aws_instance" "this_t2" {
cpu_credits = "${var.cpu_credits}"
}

tags = "${merge(locals.instance_name, var.tags)}"
tags = "${merge(local.instance_name, var.tags)}"

lifecycle {
# Due to several known issues in Terraform AWS provider related to arguments of aws_instance:
Expand Down

0 comments on commit ac02252

Please sign in to comment.