Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwd9000-ML committed Jan 17, 2024
1 parent 6ff2a17 commit 5cae418
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 02_networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ resource "azurerm_virtual_network" "az_openai_vnet" {

# Azure Virtual Network Subnets
resource "azurerm_subnet" "az_openai_subnet" {
for_each = var.subnet_config
#for_each = var.subnet_config
resource_group_name = azurerm_resource_group.az_openai_rg.name
virtual_network_name = azurerm_virtual_network.az_openai_vnet.name
name = each.value.subnet_name
address_prefixes = each.value.subnet_address_space
service_endpoints = each.value.service_endpoints
private_link_service_network_policies_enabled = each.value.private_link_service_network_policies_enabled
private_endpoint_network_policies_enabled = each.value.private_endpoint_network_policies_enabled
name = var.subnet_config.subnet_name
address_prefixes = var.subnet_config.subnet_address_space
service_endpoints = var.subnet_config.service_endpoints
private_link_service_network_policies_enabled = var.subnet_config.private_link_service_network_policies_enabled
private_endpoint_network_policies_enabled = var.subnet_config.private_endpoint_network_policies_enabled

dynamic "delegation" {
for_each = each.value.subnets_delegation_settings
for_each = var.subnet_config.subnets_delegation_settings
content {
name = delegation.key
dynamic "service_delegation" {
Expand Down

0 comments on commit 5cae418

Please sign in to comment.