Merge pull request #52 from c4m4/master
Replacing Reader with AcrPull in azurerm_role_assignment.aks_acr
This commit is contained in:
commit
431c9e062e
@ -25,6 +25,6 @@ resource "azurerm_role_assignment" "aks_network" {
|
|||||||
|
|
||||||
resource "azurerm_role_assignment" "aks_acr" {
|
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}"
|
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}"
|
principal_id = "${azuread_service_principal.default.id}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user