mirror of
https://github.com/status-im/consul.git
synced 2025-01-24 04:31:12 +00:00
Fix string concatenation in consul.tf
Since Terraform 0.7 doesn't support the concat() function for string concatenation, a replacement for concat() needs to be used when joining strings.
This commit is contained in:
parent
6a30762965
commit
649326c776
@ -1,5 +1,5 @@
|
|||||||
resource "aws_instance" "server" {
|
resource "aws_instance" "server" {
|
||||||
ami = "${lookup(var.ami, concat(var.region, "-", var.platform))}"
|
ami = "${lookup(var.ami, "${var.region}-${var.platform}")}"
|
||||||
instance_type = "${var.instance_type}"
|
instance_type = "${var.instance_type}"
|
||||||
key_name = "${var.key_name}"
|
key_name = "${var.key_name}"
|
||||||
count = "${var.servers}"
|
count = "${var.servers}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user