Commit 54358edb authored by Denis Iskandarov's avatar Denis Iskandarov Committed by Anton Babenko

fix call to local.instance_name (#71)

Signed-off-by: default avatarDenis Iskandarov <d.iskandarov@gmail.com>
parent 893633c9
...@@ -35,7 +35,7 @@ resource "aws_instance" "this" { ...@@ -35,7 +35,7 @@ resource "aws_instance" "this" {
placement_group = "${var.placement_group}" placement_group = "${var.placement_group}"
tenancy = "${var.tenancy}" tenancy = "${var.tenancy}"
tags = "${merge(locals.instance_name, var.tags)}" tags = "${merge(local.instance_name, var.tags)}"
lifecycle { lifecycle {
# Due to several known issues in Terraform AWS provider related to arguments of aws_instance: # Due to several known issues in Terraform AWS provider related to arguments of aws_instance:
...@@ -78,7 +78,7 @@ resource "aws_instance" "this_t2" { ...@@ -78,7 +78,7 @@ resource "aws_instance" "this_t2" {
cpu_credits = "${var.cpu_credits}" cpu_credits = "${var.cpu_credits}"
} }
tags = "${merge(locals.instance_name, var.tags)}" tags = "${merge(local.instance_name, var.tags)}"
lifecycle { lifecycle {
# Due to several known issues in Terraform AWS provider related to arguments of aws_instance: # Due to several known issues in Terraform AWS provider related to arguments of aws_instance:
......
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