lukasjarosch / skipper

Inventory based templated configuration library inspired by the kapitan project
https://lukasjarosch.github.io/skipper/
MIT License
11 stars 3 forks source link

Add call 'lowerAlpha' #44

Closed lukasjarosch closed 1 year ago

lukasjarosch commented 1 year ago

When creating an Azure StorageAccount, you are forced to use only alphanumeric characters. I'm building the name of the storage account based on the target, which does have - in it's name. Currently you'd have to remove the dash inside the template, every time you want to use it.

It would be nice to be able to transform the value inside the class and not in the template. I suggest to implement a call %{alphaNum:<value>}.