naming

gsoft-inc/naming/azurerm

Terraform Module HCL AZURERM

Terraform Azure RM Module for naming resources and resource groups following Microsoft's naming guidelines.

Install
module "naming" {
source = "gsoft-inc/naming/azurerm"
version = "0.5.0"
}
plain text: /constructs/tfmod-gsoft-inc-naming-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-azurerm-naming Terraform Module for naming Azure resources and resource groups following Microsoft's naming guidelines. _Note: Since this module is comprised of multiple sub-modules, you need to reference them in a particular fashion._ Why Use This? 1. Abstract the hassle of knowing which resource type needs to follow which naming convention (length, dashes or no dashes, etc.) 2. Make it easier to follow naming conventions 3. Follow best pratices such as suffixing with a random string to avoid name collisions Example Usage ``hcl provider "azurerm" { features {} } variable "location" { default = "eastus2" } module "resource_group_name" { source = "gsoft-inc/naming/azurerm//modules/general/resource_group" name = "example" prefixes = ["organization", "project", "production"] } modul

Inputs (5)
NameTypeDescriptionDefault
prefixeslist(string)List of prefixes to append in front of the resource name. required
suffixeslist(string)List of suffixes to append at the end of the resource name. required
namestringResource name. required
separatorstringThe name, prefix and suffix separator (defaults to '-')."-"
max_lengthnumberThe maximum length of the overall name (prefix + name + suffix).256
Outputs (1)
result — The generated resource name.
Resources (1)
random_string
Details
FrameworkTerraform Module
LanguageHCL
Version0.5.0
Cloud AZURERM
★ Stars25
Forks10
Total downloads51.7k
Inputs5
Outputs1
Resources1
LicenseApache-2.0
Namespacegsoft-inc
Updated