Skip to content

Commit

Permalink
Removed the lower() function from the delimiter string normalisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Nelson committed Jun 28, 2018
1 parent 8d4c235 commit 41fe422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ locals {
selected_attributes = ["${distinct(compact(concat(var.attributes, local.context_local["attributes"])))}"]
attributes = "${split("~^~", lower(join("~^~", local.selected_attributes)))}"
selected_delimiter = ["${distinct(compact(concat(local.context_local["delimiter"], list(var.delimiter))))}"]
delimiter = "${lower(join("", split(" ", local.selected_delimiter[0])))}"
delimiter = "${join("", split(" ", local.selected_delimiter[0]))}"
# Merge the map of empty values, with the variable context, so that context_local always contains all map keys
context_local = "${merge(local.context_context, var.context)}"
# Only maps that contain all the same attribute types can be merged, so they have been set to list
Expand Down

0 comments on commit 41fe422

Please sign in to comment.