# saif-utilities / naming / base

<!-- BEGIN_TF_DOCS -->
## Providers

| Name | Version |
| ---- | ------- |
| <a name="provider_random"></a> [random](#provider\_random) | >= 3.0, < 4.0 |

## Inputs

| Name | Description | Type | Default | Required |
| ---- | ----------- | ---- | ------- | :------: |
| <a name="input_environment"></a> [environment](#input\_environment) | The environment for the resources | `string` | `""` | no |
| <a name="input_environment_short_name"></a> [environment\_short\_name](#input\_environment\_short\_name) | The short name of the environment | `string` | `""` | no |
| <a name="input_organization_name"></a> [organization\_name](#input\_organization\_name) | The organization name for the resources | `string` | `""` | no |
| <a name="input_owner_name"></a> [owner\_name](#input\_owner\_name) | The owner name for the resources | `string` | `""` | no |
| <a name="input_prefix"></a> [prefix](#input\_prefix) | List of prefix components to add to resource names. Components are joined together when constructing the different casing names. Use lowercase characters when possible. | `list(string)` | `[]` | no |
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | The project id for the resources | `string` | `""` | no |
| <a name="input_resource_config"></a> [resource\_config](#input\_resource\_config) | Configuration for the specific resource type.<br/><br/>regex: Regular expression pattern that the generated name must match. This enforces naming constraints including length limits, allowed characters, and format requirements. | <pre>object({<br/>    slug   = optional(string, "")<br/>    dashes = bool<br/>    scope  = string<br/>    regex  = string<br/>  })</pre> | n/a | yes |
| <a name="input_suffix"></a> [suffix](#input\_suffix) | List of suffix components to add to resource names. Components are joined together when constructing the different casing names. Use lowercase characters when possible. | `list(string)` | `[]` | no |
| <a name="input_tenant"></a> [tenant](#input\_tenant) | The tenant for the resources | `string` | `""` | no |
| <a name="input_unique_include_numbers"></a> [unique\_include\_numbers](#input\_unique\_include\_numbers) | If you want to include numbers in the unique generation | `bool` | `true` | no |
| <a name="input_unique_length"></a> [unique\_length](#input\_unique\_length) | Max length of the uniqueness suffix to be added | `number` | `4` | no |

## Outputs

| Name | Description |
| ---- | ----------- |
| <a name="output_name"></a> [name](#output\_name) | The generated resource name |
| <a name="output_name_casings"></a> [name\_casings](#output\_name\_casings) | Base names in all casing styles (without resource slugs) |
| <a name="output_name_unique"></a> [name\_unique](#output\_name\_unique) | The generated resource name with uniqueness suffix |
| <a name="output_resource_naming"></a> [resource\_naming](#output\_resource\_naming) | Resource naming output with all casing options and metadata |

## Resources


- resource.random_string.main (/terraform-docs/modules/naming/base/main.tf#1)    
<!-- END_TF_DOCS -->

---

[View source on GitHub](https://github.com/saif-corp/forge/blob/main/src/terraform/saif-utilities/modules/naming/base/README.md)
