Skip to content

Commit

Permalink
Fix 201-aks-acr-identity (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-yechenwei committed Nov 23, 2023
1 parent 9037930 commit dcad1a2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions quickstart/201-aks-acr-identity/acr.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
locals {
acr_name = "${replace(var.dns_prefix, "-", "")}${replace(var.name, "-", "")}acr"
acr_name = "${replace(var.dns_prefix, "-", "")}${replace(random_pet.rg.id, "-", "")}acr"
}
resource "azurerm_container_registry" "default" {
name = local.acr_name
resource_group_name = azurerm_resource_group.default.name
location = azurerm_resource_group.default.location
sku = "Standard"
admin_enabled = false
}
name = local.acr_name
resource_group_name = azurerm_resource_group.default.name
location = azurerm_resource_group.default.location
sku = "Standard"
admin_enabled = false
}

0 comments on commit dcad1a2

Please sign in to comment.