{"id":18494349,"url":"https://github.com/workleap/terraform-azurerm-naming","last_synced_at":"2026-04-10T11:04:47.209Z","repository":{"id":35515299,"uuid":"217153248","full_name":"workleap/terraform-azurerm-naming","owner":"workleap","description":"Terraform Azure RM Module for naming resources and resource groups following Microsoft's naming guidelines.","archived":false,"fork":false,"pushed_at":"2025-04-15T00:46:39.000Z","size":95,"stargazers_count":25,"open_issues_count":1,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-03T11:43:24.174Z","etag":null,"topics":["azure","naming-conventions","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workleap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-10-23T21:03:45.000Z","updated_at":"2025-03-28T19:23:17.000Z","dependencies_parsed_at":"2025-02-18T15:52:53.920Z","dependency_job_id":"371fa70b-fe70-4d10-b3c6-6a48ac7ac66e","html_url":"https://github.com/workleap/terraform-azurerm-naming","commit_stats":null,"previous_names":["workleap/terraform-azurerm-naming","gsoft-inc/terraform-azurerm-naming"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/workleap/terraform-azurerm-naming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workleap%2Fterraform-azurerm-naming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workleap%2Fterraform-azurerm-naming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workleap%2Fterraform-azurerm-naming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workleap%2Fterraform-azurerm-naming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workleap","download_url":"https://codeload.github.com/workleap/terraform-azurerm-naming/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workleap%2Fterraform-azurerm-naming/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31639526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","naming-conventions","terraform","terraform-module"],"created_at":"2024-11-06T13:19:09.999Z","updated_at":"2026-04-10T11:04:47.203Z","avatar_url":"https://github.com/workleap.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-azurerm-naming\nTerraform Module for naming Azure resources and resource groups following [Microsoft's naming guidelines](https://docs.microsoft.com/en-us/azure/architecture/best-practices/resource-naming).\n\n_Note: Since this module is comprised of multiple sub-modules, you need to [reference them in a particular fashion](https://www.terraform.io/docs/modules/sources.html#modules-in-package-sub-directories)._\n\n## Why Use This?\n1. Abstract the hassle of knowing which resource type needs to follow which naming convention (length, dashes or no dashes, etc.)\n2. Make it easier to follow naming conventions\n3. Follow best pratices such as suffixing with a random string to avoid name collisions\n\n\n## Example Usage\n```hcl\nprovider \"azurerm\" {\n  features {}\n}\n\nvariable \"location\" {\n    default = \"eastus2\"\n}\n\nmodule \"resource_group_name\" {\n  source   = \"gsoft-inc/naming/azurerm//modules/general/resource_group\"\n  name     = \"example\"\n  prefixes = [\"organization\", \"project\", \"production\"]\n}\n\nmodule \"storage_account_name\" {\n  source   = \"gsoft-inc/naming/azurerm//modules/storage/storage_account\"\n  name     = \"example\"\n  prefixes = [\"org\", \"proj\", \"prod\"]\n}\n\nresource \"azurerm_resource_group\" \"example\" {\n  name     = module.resource_group_name.result\n  location = var.location\n}\n\nresource \"azurerm_storage_account\" \"example\" {\n  name                     = module.storage_account_name.result\n  resource_group_name      = azurerm_resource_group.example.name\n  location                 = var.location\n  account_kind             = \"StorageV2\"\n  account_tier             = \"Standard\"\n  account_replication_type = \"LRS\"\n}\n```\n\nThis example would result into something like this:\n\n- `organization-project-production-example-35xvzaq251lja` (resource group)\n  - `org0proj0prod0example01x` (storage account)\n\n*Note: Random suffix is automatically generated but can but overriden.*\n  \n## Updating the module\n```hcl\nterraform get -update\n```\n\n## License\n\nCopyright © 2021, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/workleap/gsoft-license/blob/master/LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkleap%2Fterraform-azurerm-naming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkleap%2Fterraform-azurerm-naming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkleap%2Fterraform-azurerm-naming/lists"}