Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.38 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.38 KB

terraform-null-normalize

Normalize strings (replace accents, trim special characters).

Usage

terraform plan --var string='Héloïse!'

Changes to Outputs:
  + latinized  = "Heloise!"
  + lower      = "heloise"
  + normalized = "Heloise"
  + title      = "Heloise"
  + upper      = "HELOISE"

Inputs

Name Description Type Default Required
string String to normalize. string n/a yes

Outputs

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.

Contributing

All contributions are welcome!

Generate documentation with terraform-docs .

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details