Skip to content

Commit

Permalink
refactor(examples): update private endpoint network policies in confi…
Browse files Browse the repository at this point in the history
…guration.tfvars
  • Loading branch information
rfernandezdo committed Oct 30, 2024
1 parent 885784b commit d7da8fa
Show file tree
Hide file tree
Showing 30 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion examples/app_config/101-private-link/configuration.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ vnets = {
private_link = {
name = "private-links"
cidr = ["10.1.100.128/26"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ vnets = {
auto_subnet = {
name = "auto-subnet"
cidr = ["10.150.102.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vnets = {
cidr = ["10.1.1.0/24"]
service_endpoints = ["Microsoft.ContainerRegistry", "Microsoft.Storage"]
enforce_private_link_service_network_policies = true
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
subnet2 = {
name = "worker"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vnets = {
cidr = ["10.1.1.0/24"]
service_endpoints = ["Microsoft.ContainerRegistry", "Microsoft.Storage"]
enforce_private_link_service_network_policies = true
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
subnet2 = {
name = "worker"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down Expand Up @@ -74,7 +74,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.65.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ vnets = {
name = "aks_nodepool_system"
cidr = ["100.64.48.0/24"]
nsg_key = "azure_kubernetes_cluster_nsg"
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
aks_nodepool_user1 = {
name = "aks_nodepool_user1"
cidr = ["100.64.49.0/24"]
nsg_key = "azure_kubernetes_cluster_nsg"
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
aks_nodepool_user2 = {
name = "aks_nodepool_user2"
Expand All @@ -33,7 +33,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand All @@ -55,7 +55,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["10.0.0.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.51.0/27"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
jumpbox = {
name = "jumpbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ vnets = {
cosmosdb_subnet = {
name = "cosmos-subnet"
cidr = ["10.150.102.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ vnets = {
private_endpoints = {
name = "private-endpoint"
cidr = ["10.10.0.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/keyvault/101-keyvault-policies/keyvaults.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ vnets = {
private_link = {
name = "private-links"
cidr = ["10.150.100.128/26"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.55.0/24"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ vnets = {
private_dns = {
name = "private-dns"
cidr = ["10.10.0.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
enforce_private_link_service_network_policies = false
}
mysql = {
name = "mysql"
cidr = ["10.10.0.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
delegation = {
name = "mysql"
service_delegation = "Microsoft.DBforMySQL/flexibleServers"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ vnets = {
private_dns = {
name = "private-dns"
cidr = ["10.10.0.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
enforce_private_link_service_network_policies = false
}
mysql = {
name = "mysql"
cidr = ["10.10.0.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
delegation = {
name = "mysql"
service_delegation = "Microsoft.DBforMySQL/flexibleServers"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ vnets = {
private_dns = {
name = "private-dns"
cidr = ["10.10.0.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
enforce_private_link_service_network_policies = false
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ vnets = {
private_link = {
name = "private-links"
cidr = ["10.150.100.128/26"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.103.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}

Expand All @@ -58,7 +58,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.65.103.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.103.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}

Expand All @@ -408,7 +408,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.65.103.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.95.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
nsg_key = "empty_nsg"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.95.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
nsg_key = "empty_nsg"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ vnets = {
private_endpoints = {
name = "private_endpoints"
cidr = ["100.64.95.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
nsg_key = "empty_nsg"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ vnets = {
private_dns = {
name = "private-dns"
cidr = ["10.10.0.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
enforce_private_link_service_network_policies = false
}
postgresql = {
name = "postgresql"
cidr = ["10.10.0.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
delegation = {
name = "postgresql"
service_delegation = "Microsoft.DBforPostgreSQL/flexibleServers"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ vnets = {
private_dns = {
name = "private-dns"
cidr = ["10.10.0.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
enforce_private_link_service_network_policies = false
}
postgresql = {
name = "postgresql"
cidr = ["10.10.0.128/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
delegation = {
name = "postgresql"
service_delegation = "Microsoft.DBforPostgreSQL/flexibleServers"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ vnets = {
private_endpoints = {
name = "private-endpoint"
cidr = ["10.10.0.0/25"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ vnets = {
cidr = ["10.1.0.0/24"]
nsg_key = "nsg"
service_endpoints = ["Microsoft.KeyVault"]
enforce_private_link_endpoint_network_policies = true
private_endpoint_network_policies = "Enabled"
}
}
}
Expand Down

0 comments on commit d7da8fa

Please sign in to comment.