naming
Azure/naming/azurerm
Install
README
Azure Naming This module helps you to keep consistency on your resources names for Terraform The goal of this module it is that for each resource that requires a name in Terraform you would be easily able to compose this name using this module and this will keep the consistency in your repositories. Usage For every resource in terraform_azurerm just remove the azurerm part of the module and use the name property of this output. example for azurerm_resource_group you can use : ``tf module "naming" { source = "Azure/naming/azurerm" suffix = [ "test" ] } resource "azurerm_resource_group" "example" { name = module.naming.resource_group.name location = "West Europe" } ` if you want this to be unique for this module and not shared with other instances of this module you can use name_unique `tf m
Inputs (5)
| Name | Type | Description | Default |
|---|---|---|---|
| prefix | list(string) | It is not recommended that you use prefix by azure you should be using a suffix | [] |
| suffix | list(string) | It is recommended that you specify a suffix for consistency. please use only low | [] |
| unique-seed | string | Custom value for the random characters to be used | "" |
| unique-length | number | Max length of the uniqueness suffix to be added | 4 |
| unique-include-numbers | bool | If you want to include numbers in the unique generation | true |
Outputs (50)
eventhub_namespace_disaster_recovery_config — Eventhub Namespace Disaster Recovery Configpurview_account — Purview Accounteventgrid_namespace — Eventgrid Namespaceprivate_dns_txt_record — Private Dns Txt Recordsynapse_sql_pool — Synapse Sql Poolapp_configuration — App Configurationnotification_hub_namespace — Notification Hub Namespaceredis_cache — Redis Cachestream_analytics_function_javascript_udf — Stream Analytics Function Javascript Udfdata_factory — Data Factorydns_private_resolver — Dns Private Resolverlogic_app_workflow — Logic App Workflowmaintenance_configuration — Maintenance Configurationmonitor_diagnostic_setting — Monitor Diagnostic Settingmssql_server — Mssql Servernetwork_ddos_protection_plan — Network Ddos Protection Planpostgresql_firewall_rule — Postgresql Firewall Ruledata_protection_backup_vault — Data Protection Backup Vaultdatabase_migration_project — Database Migration Projectsubnet_service_endpoint_storage_policy — Subnet Service Endpoint Storage Policytraffic_manager_profile — Traffic Manager Profilestream_analytics_stream_input_iothub — Stream Analytics Stream Input Iothubbot_channel_email — Bot Channel Emailcommunication_service — Communication Servicedns_aaaa_record — Dns Aaaa Recordresource_group_template_deployment — Resource Group Template Deploymentrole_assignment — Role Assignmentsnapshots — Snapshotsbot_web_app — Bot Web Apphdinsight_hbase_cluster — Hdinsight Hbase Cluster