@@ -26,8 +26,8 @@ resource "aws_instance" "exchange" {
|
|||||||
# Uses the local variable if external data source resolution fails
|
# Uses the local variable if external data source resolution fails
|
||||||
ami = coalesce(var.exchange_ami, data.aws_ami.exchange_ami.image_id)
|
ami = coalesce(var.exchange_ami, data.aws_ami.exchange_ami.image_id)
|
||||||
|
|
||||||
tags = merge(var.custom-tags, map(
|
tags = merge(var.custom-tags, tomap(
|
||||||
"Name", "${var.instance_name_prefix}exchange.windomain.local"
|
{"Name" = "${var.instance_name_prefix}exchange.windomain.local"}
|
||||||
))
|
))
|
||||||
|
|
||||||
subnet_id = var.subnet_id
|
subnet_id = var.subnet_id
|
||||||
|
|||||||
Reference in New Issue
Block a user