Skip to content

Commit

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

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

0 comments on commit bb80f00

Please sign in to comment.