Skip to content

Commit

Permalink
fix: Add perms for ingress to update the public subnet as well (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshg authored Oct 4, 2023
1 parent 989a66f commit 0af4bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/app_aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ resource "azurerm_role_assignment" "resource_group" {
principal_id = local.ingress_gateway_principal_id
}

resource "azurerm_role_assignment" "gateway" {
resource "azurerm_role_assignment" "public_subnet" {
scope = var.public_subnet.id
role_definition_name = "Contributor"
principal_id = local.ingress_gateway_principal_id
Expand Down

0 comments on commit 0af4bf3

Please sign in to comment.