fix 201-aks-acr-identity

This commit is contained in:
hezijie
2023-02-21 10:14:26 +08:00
parent 30ab022102
commit ed79d1aa3b
5 changed files with 31 additions and 22 deletions

View File

@ -2,9 +2,9 @@ locals {
acr_name = "${replace(var.dns_prefix, "-", "")}${replace(var.name, "-", "")}acr"
}
resource "azurerm_container_registry" "default" {
name = "${local.acr_name}"
resource_group_name = "${azurerm_resource_group.default.name}"
location = "${azurerm_resource_group.default.location}"
name = local.acr_name
resource_group_name = azurerm_resource_group.default.name
location = azurerm_resource_group.default.location
sku = "Standard"
admin_enabled = false
}