File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
scenarios/AksOpenAiTerraform/terraform Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ module "virtual_network" {
8181 private_link_service_network_policies_enabled : false
8282 delegation = {
8383 name = " delegation"
84-
8584 service_delegation = {
8685 name = " Microsoft.ContainerService/managedClusters"
8786 actions = [" Microsoft.Network/virtualNetworks/subnets/join/action" ]
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ resource "azurerm_subnet" "subnet" {
2828 name = " delegation"
2929
3030 service_delegation {
31- name = delegation. value
31+ name = each. name
32+ actions = each. actions
3233 }
3334 }
3435 }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ variable "subnets" {
2525 address_prefixes = list (string )
2626 private_endpoint_network_policies_enabled = bool
2727 private_link_service_network_policies_enabled = bool
28- delegation = string
28+ delegation = object ({name = string , actions = list ( string )})
2929 }))
3030}
3131
You can’t perform that action at this time.
0 commit comments