Replacing Reader with AcrPull in azurerm_role_assignment.aks_acr

This commit is contained in:
Emmanuel Gelati Mesa 2020-07-18 13:19:53 +02:00
parent 24455a9336
commit efb8caa590

View File

@ -25,6 +25,6 @@ resource "azurerm_role_assignment" "aks_network" {
resource "azurerm_role_assignment" "aks_acr" {
scope = "${data.azurerm_subscription.current.id}/resourceGroups/${azurerm_resource_group.default.name}/providers/Microsoft.ContainerRegistry/registries/${azurerm_container_registry.default.name}"
role_definition_name = "Reader"
role_definition_name = "AcrPull"
principal_id = "${azuread_service_principal.default.id}"
}
}