Skip to content

Commit 54358ed

Browse files
den-isantonbabenko
authored andcommitted
fix call to local.instance_name (#71)
Signed-off-by: Denis Iskandarov <[email protected]>
1 parent 893633c commit 54358ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resource "aws_instance" "this" {
3535
placement_group = "${var.placement_group}"
3636
tenancy = "${var.tenancy}"
3737

38-
tags = "${merge(locals.instance_name, var.tags)}"
38+
tags = "${merge(local.instance_name, var.tags)}"
3939

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

81-
tags = "${merge(locals.instance_name, var.tags)}"
81+
tags = "${merge(local.instance_name, var.tags)}"
8282

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

0 commit comments

Comments
 (0)