Replacing Reader with AcrPull in azurerm_role_assignment.aks_acr
This commit is contained in:
parent
24455a9336
commit
efb8caa590
@ -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}"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user