Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gsoft-inc/terraform-azurerm-naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohan Belval committed Oct 24, 2019
2 parents e50a523 + 5a1164f commit b014e33
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# terraform-azurerm-naming
Terraform 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).

For the moment, the module(s) source attribute should be [referenced using github](https://www.terraform.io/docs/modules/sources.html#github). Terraform registry will come soon.

## 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
Expand Down Expand Up @@ -35,14 +33,14 @@ resource "random_string" "suffix" {
}
module "resource_group_name" {
source = "github.com/gsoft-inc/terraform-azurerm-naming/general/resource_group"
source = "gsoft-inc/naming/azurerm/general/resource_group"
name = "example"
prefixes = ["organization", "project", "production"]
suffixes = [random_string.suffix.result]
}
module "storage_account_name" {
source = "github.com/gsoft-inc/terraform-azurerm-naming/storage/storage_account"
source = "gsoft-inc/naming/azurerm/storage/storage_account"
name = "example"
prefixes = ["org", "proj", "prod"]
suffixes = [random_string.suffix.result]
Expand Down

0 comments on commit b014e33

Please sign in to comment.