Skip to content

Commit

Permalink
fix name type
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Dec 10, 2022
1 parent 03d3c80 commit 4fb29e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module "labels" {
#Description : Terraform resource for resource group.
resource "azurerm_resource_group" "default" {
count = var.enabled ? 1 : 0
name = format("%s-%s-resource-group", var.name, var.environment)
name = format("%s-resource-group", module.labels.id)
location = var.location
tags = module.labels.tags

Expand Down

0 comments on commit 4fb29e2

Please sign in to comment.