Normalize strings (replace accents, trim special characters).
terraform plan --var string='Héloïse!'
Changes to Outputs:
+ latinized = "Heloise!"
+ lower = "heloise"
+ normalized = "Heloise"
+ title = "Heloise"
+ upper = "HELOISE"
Name | Description | Type | Default | Required |
---|---|---|---|---|
string | String to normalize. | string |
n/a | yes |
Name | Description |
---|---|
latinized | Latinized string (only special letters have been replaced). |
lower | Normalized string in lower case. |
normalized | Normalized string (special letters replaced and trimmed of other symbold except numbers and '-'). |
title | Normalized string in title case. |
upper | Normalized string in upper case. |
All contributions are welcome!
Generate documentation with terraform-docs .
This project is licensed under the Apache 2.0 License - see the LICENSE file for details