Merge pull request #52 from c4m4/master

Replacing Reader with AcrPull in azurerm_role_assignment.aks_acr
This commit is contained in:
Mark Gray (MSFT) 2022-11-17 14:49:46 -08:00 committed by GitHub
commit 431c9e062e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}"
}
}