Built-in Functions
Jay Vercellone
Allow more powerful template expressions in the config.yml file.
For example, the
<< parameters.foo >>
expression is just a simple string replacement. If we wanted to transform the value of the foo
parameter to lowercase for example, it'd be nice to do something like << parameters.foo | tolower >>
.More context can be found here:
B
Brandon Doyle
It would also be neat to have some similar functions, such as
replace
, but also perhaps most of the functions under the following section in the terraform docs -https://www.terraform.io/docs/language/functions/chomp.html
Angelo Tata
For context, other CI tools (Drone, for example) do offer some level of string manipulation (thought not, at least in this example, a
tolower
function).Jay Vercellone
This request is inspired in other template languages: