I have some code in the general form:
variable "foo" {
type = "list"
default = [ 1,2,3 ]
}
resource "bar_type" "bar" {
bar_field = "${var.foo}"
}
I want to append an addition value to bar_field
without modifying foo
. How can I do this? I don't see any sort of contacting or appending functions in their docs.
This is 0.11.x Terraform