Skip to content

v1.0.0

Compare
Choose a tag to compare
@ahaffar ahaffar released this 04 Apr 15:03
· 16 commits to main since this release

Features

The module supports the following:

  • Optionally limiting the id variable length to a specific number of chars by modifying the prefix_lenght_limit variable, defaulted to 0 which means no limit.
  • Optionally configure the case letter of tag_key_case and tag_value_case, defaults to title, lower respectively.
  • A random string will be created using the random provider that will be used in case of creating a truncated id, prefix_legnth_limit !=0.
  • Supporting a configurable regex_substitute_chars variable which will replace any non-alphanumeric chars passed to enviroment, project_name, region and, name, defaulted to "/[^(a-z)(A-Z)(0-9)$]/".
  • A validation mechanism to validate some input variables e.g. tag_key_case, tag_value_case, region
  • Optional attributes will be added automatically to tags variable.