Skip to content

Commit

Permalink
wrong key
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Jan 6, 2024
1 parent 7576c1b commit d2cf8a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/clouds/azure/iam.tf
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
resource "azurerm_role_assignment" "aks-network-identity-kubelet" {
scope = azurerm_virtual_network.network.id
role_definition_name = "Network Contributor"
principal_id = module.aks[0].kubelet_identity
principal_id = module.aks[0].kubelet_identity.principal_id

depends_on = [module.aks, azurerm_virtual_network.network]
}

resource "azurerm_role_assignment" "aks-network-identity-ssi" {
scope = azurerm_virtual_network.network.id
role_definition_name = "Network Contributor"
principal_id = module.aks[0].cluster_identity
principal_id = module.aks[0].cluster_identity.principal_id

depends_on = [module.aks, azurerm_virtual_network.network]
}

0 comments on commit d2cf8a1

Please sign in to comment.