From d7da8fa44c65cbdfd3c7b693b42010c019c02f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez?= Date: Wed, 30 Oct 2024 14:09:31 +0100 Subject: [PATCH] refactor(examples): update private endpoint network policies in configuration.tfvars --- examples/app_config/101-private-link/configuration.tfvars | 2 +- .../103-automation-private-endpoints/configuration.tfvars | 2 +- .../101_basic_private_cluster/vnet.tfvars | 2 +- .../102_basic_public_cluster/vnet.tfvars | 2 +- .../101-single-cluster/networking.tfvars | 2 +- .../102-multi-nodepools/networking.tfvars | 2 +- .../103-multi-clusters/networking.tfvars | 4 ++-- .../104-private-cluster/networking.tfvars | 8 ++++---- .../105-cluster-usermsi/networking.tfvars | 2 +- .../107-agic-brownfield/networking.tfvars | 2 +- .../networking.tfvars | 2 +- .../109-single-cluster-istio/networking.tfvars | 2 +- .../networking.tfvars | 2 +- .../101-private-endpoint-cosmos-db/configuration.tfvars | 2 +- .../107-private-endpoint/configuration.tfvars | 2 +- examples/keyvault/101-keyvault-policies/keyvaults.tfvars | 2 +- .../machine_learning/101-aml-vnet/networking_spoke.tfvars | 2 +- .../configuration.tfvars | 4 ++-- .../102-advanced-mysql-flexible/configuration.tfvars | 4 ++-- .../configuration.tfvars | 2 +- .../endpoints/static_ip/configuration.tfvars | 2 +- .../101-vnet-peering-nsg/virtual_networks.tfvars | 4 ++-- .../103-vnet-peering-v1/configuration.tfvars | 4 ++-- .../200-nsg-flow-logs/configuration.tfvars | 2 +- .../201-nsg-flow-logs-v1/configuration.tfvars | 2 +- .../202-network_watchers/configuration.tfvars | 2 +- .../configurations.tfvars | 4 ++-- .../configurations.tfvars | 4 ++-- .../104-private-endpoint/configuration.tfvars | 2 +- .../101-purview_account_private_link/configuration.tfvars | 2 +- 30 files changed, 40 insertions(+), 40 deletions(-) diff --git a/examples/app_config/101-private-link/configuration.tfvars b/examples/app_config/101-private-link/configuration.tfvars index 877c397bf8..ef5c5fbcf3 100755 --- a/examples/app_config/101-private-link/configuration.tfvars +++ b/examples/app_config/101-private-link/configuration.tfvars @@ -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" } } } diff --git a/examples/automation/103-automation-private-endpoints/configuration.tfvars b/examples/automation/103-automation-private-endpoints/configuration.tfvars index 2dc4b16d10..7969b3e8c4 100644 --- a/examples/automation/103-automation-private-endpoints/configuration.tfvars +++ b/examples/automation/103-automation-private-endpoints/configuration.tfvars @@ -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" } } diff --git a/examples/compute/azure_redhat_openshift/101_basic_private_cluster/vnet.tfvars b/examples/compute/azure_redhat_openshift/101_basic_private_cluster/vnet.tfvars index 65746d4fa8..1271155462 100644 --- a/examples/compute/azure_redhat_openshift/101_basic_private_cluster/vnet.tfvars +++ b/examples/compute/azure_redhat_openshift/101_basic_private_cluster/vnet.tfvars @@ -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" diff --git a/examples/compute/azure_redhat_openshift/102_basic_public_cluster/vnet.tfvars b/examples/compute/azure_redhat_openshift/102_basic_public_cluster/vnet.tfvars index 65746d4fa8..1271155462 100644 --- a/examples/compute/azure_redhat_openshift/102_basic_public_cluster/vnet.tfvars +++ b/examples/compute/azure_redhat_openshift/102_basic_public_cluster/vnet.tfvars @@ -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" diff --git a/examples/compute/kubernetes_services/101-single-cluster/networking.tfvars b/examples/compute/kubernetes_services/101-single-cluster/networking.tfvars index b8ed1dda00..63152772c6 100644 --- a/examples/compute/kubernetes_services/101-single-cluster/networking.tfvars +++ b/examples/compute/kubernetes_services/101-single-cluster/networking.tfvars @@ -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" diff --git a/examples/compute/kubernetes_services/102-multi-nodepools/networking.tfvars b/examples/compute/kubernetes_services/102-multi-nodepools/networking.tfvars index b8ed1dda00..63152772c6 100644 --- a/examples/compute/kubernetes_services/102-multi-nodepools/networking.tfvars +++ b/examples/compute/kubernetes_services/102-multi-nodepools/networking.tfvars @@ -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" diff --git a/examples/compute/kubernetes_services/103-multi-clusters/networking.tfvars b/examples/compute/kubernetes_services/103-multi-clusters/networking.tfvars index f06ecf97f1..172dacd456 100644 --- a/examples/compute/kubernetes_services/103-multi-clusters/networking.tfvars +++ b/examples/compute/kubernetes_services/103-multi-clusters/networking.tfvars @@ -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" @@ -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" diff --git a/examples/compute/kubernetes_services/104-private-cluster/networking.tfvars b/examples/compute/kubernetes_services/104-private-cluster/networking.tfvars index e5d238431d..59746ffc3f 100644 --- a/examples/compute/kubernetes_services/104-private-cluster/networking.tfvars +++ b/examples/compute/kubernetes_services/104-private-cluster/networking.tfvars @@ -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" @@ -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" @@ -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" } } } diff --git a/examples/compute/kubernetes_services/105-cluster-usermsi/networking.tfvars b/examples/compute/kubernetes_services/105-cluster-usermsi/networking.tfvars index b8ed1dda00..63152772c6 100644 --- a/examples/compute/kubernetes_services/105-cluster-usermsi/networking.tfvars +++ b/examples/compute/kubernetes_services/105-cluster-usermsi/networking.tfvars @@ -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" diff --git a/examples/compute/kubernetes_services/107-agic-brownfield/networking.tfvars b/examples/compute/kubernetes_services/107-agic-brownfield/networking.tfvars index 9d84786bed..32f0c751a0 100644 --- a/examples/compute/kubernetes_services/107-agic-brownfield/networking.tfvars +++ b/examples/compute/kubernetes_services/107-agic-brownfield/networking.tfvars @@ -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" diff --git a/examples/compute/kubernetes_services/108-single-cluster-remote-adgroup-admin/networking.tfvars b/examples/compute/kubernetes_services/108-single-cluster-remote-adgroup-admin/networking.tfvars index 4b56cb6bee..7a9351a0ba 100644 --- a/examples/compute/kubernetes_services/108-single-cluster-remote-adgroup-admin/networking.tfvars +++ b/examples/compute/kubernetes_services/108-single-cluster-remote-adgroup-admin/networking.tfvars @@ -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" diff --git a/examples/compute/kubernetes_services/109-single-cluster-istio/networking.tfvars b/examples/compute/kubernetes_services/109-single-cluster-istio/networking.tfvars index 7707a24d01..2627b3f178 100644 --- a/examples/compute/kubernetes_services/109-single-cluster-istio/networking.tfvars +++ b/examples/compute/kubernetes_services/109-single-cluster-istio/networking.tfvars @@ -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" diff --git a/examples/consumption_budget/105-consumption-budget-subscription-aks/networking.tfvars b/examples/consumption_budget/105-consumption-budget-subscription-aks/networking.tfvars index b8ed1dda00..63152772c6 100644 --- a/examples/consumption_budget/105-consumption-budget-subscription-aks/networking.tfvars +++ b/examples/consumption_budget/105-consumption-budget-subscription-aks/networking.tfvars @@ -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" diff --git a/examples/cosmos_db/101-private-endpoint-cosmos-db/configuration.tfvars b/examples/cosmos_db/101-private-endpoint-cosmos-db/configuration.tfvars index b6bb33be72..ff2879e614 100644 --- a/examples/cosmos_db/101-private-endpoint-cosmos-db/configuration.tfvars +++ b/examples/cosmos_db/101-private-endpoint-cosmos-db/configuration.tfvars @@ -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" } } } diff --git a/examples/data_explorer/107-private-endpoint/configuration.tfvars b/examples/data_explorer/107-private-endpoint/configuration.tfvars index f831afb6e6..87fc526059 100644 --- a/examples/data_explorer/107-private-endpoint/configuration.tfvars +++ b/examples/data_explorer/107-private-endpoint/configuration.tfvars @@ -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" } } } diff --git a/examples/keyvault/101-keyvault-policies/keyvaults.tfvars b/examples/keyvault/101-keyvault-policies/keyvaults.tfvars index 70a2b4cad8..f6a6ea70b9 100644 --- a/examples/keyvault/101-keyvault-policies/keyvaults.tfvars +++ b/examples/keyvault/101-keyvault-policies/keyvaults.tfvars @@ -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" } } } diff --git a/examples/machine_learning/101-aml-vnet/networking_spoke.tfvars b/examples/machine_learning/101-aml-vnet/networking_spoke.tfvars index e7d143122c..431010c73a 100644 --- a/examples/machine_learning/101-aml-vnet/networking_spoke.tfvars +++ b/examples/machine_learning/101-aml-vnet/networking_spoke.tfvars @@ -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" } } } diff --git a/examples/mysql_flexible_server/101-delegated-subnet-with-fw-rule/configuration.tfvars b/examples/mysql_flexible_server/101-delegated-subnet-with-fw-rule/configuration.tfvars index c88445af49..5f3d2108a8 100644 --- a/examples/mysql_flexible_server/101-delegated-subnet-with-fw-rule/configuration.tfvars +++ b/examples/mysql_flexible_server/101-delegated-subnet-with-fw-rule/configuration.tfvars @@ -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" diff --git a/examples/mysql_flexible_server/102-advanced-mysql-flexible/configuration.tfvars b/examples/mysql_flexible_server/102-advanced-mysql-flexible/configuration.tfvars index 86d2b2bb09..ebb954a2e0 100644 --- a/examples/mysql_flexible_server/102-advanced-mysql-flexible/configuration.tfvars +++ b/examples/mysql_flexible_server/102-advanced-mysql-flexible/configuration.tfvars @@ -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" diff --git a/examples/mysql_flexible_server/103-mysql-flexible-private-endpoint/configuration.tfvars b/examples/mysql_flexible_server/103-mysql-flexible-private-endpoint/configuration.tfvars index f65925a736..bffea7611e 100644 --- a/examples/mysql_flexible_server/103-mysql-flexible-private-endpoint/configuration.tfvars +++ b/examples/mysql_flexible_server/103-mysql-flexible-private-endpoint/configuration.tfvars @@ -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 } } diff --git a/examples/networking/private_links/endpoints/static_ip/configuration.tfvars b/examples/networking/private_links/endpoints/static_ip/configuration.tfvars index 079c5bd938..68ca7dc861 100644 --- a/examples/networking/private_links/endpoints/static_ip/configuration.tfvars +++ b/examples/networking/private_links/endpoints/static_ip/configuration.tfvars @@ -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" } } } diff --git a/examples/networking/virtual_network/101-vnet-peering-nsg/virtual_networks.tfvars b/examples/networking/virtual_network/101-vnet-peering-nsg/virtual_networks.tfvars index eb6f18d70c..d6808adfd2 100644 --- a/examples/networking/virtual_network/101-vnet-peering-nsg/virtual_networks.tfvars +++ b/examples/networking/virtual_network/101-vnet-peering-nsg/virtual_networks.tfvars @@ -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" } } @@ -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" } } diff --git a/examples/networking/virtual_network/103-vnet-peering-v1/configuration.tfvars b/examples/networking/virtual_network/103-vnet-peering-v1/configuration.tfvars index 4c24cd68dc..358e85a4cf 100644 --- a/examples/networking/virtual_network/103-vnet-peering-v1/configuration.tfvars +++ b/examples/networking/virtual_network/103-vnet-peering-v1/configuration.tfvars @@ -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" } } @@ -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" } } diff --git a/examples/networking/virtual_network/200-nsg-flow-logs/configuration.tfvars b/examples/networking/virtual_network/200-nsg-flow-logs/configuration.tfvars index 8bc4e980c9..59d967a43c 100644 --- a/examples/networking/virtual_network/200-nsg-flow-logs/configuration.tfvars +++ b/examples/networking/virtual_network/200-nsg-flow-logs/configuration.tfvars @@ -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" } } diff --git a/examples/networking/virtual_network/201-nsg-flow-logs-v1/configuration.tfvars b/examples/networking/virtual_network/201-nsg-flow-logs-v1/configuration.tfvars index 8bc4e980c9..59d967a43c 100644 --- a/examples/networking/virtual_network/201-nsg-flow-logs-v1/configuration.tfvars +++ b/examples/networking/virtual_network/201-nsg-flow-logs-v1/configuration.tfvars @@ -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" } } diff --git a/examples/networking/virtual_network/202-network_watchers/configuration.tfvars b/examples/networking/virtual_network/202-network_watchers/configuration.tfvars index 8bab60720e..208aaeca69 100644 --- a/examples/networking/virtual_network/202-network_watchers/configuration.tfvars +++ b/examples/networking/virtual_network/202-network_watchers/configuration.tfvars @@ -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" } } diff --git a/examples/postgresql_flexible_server/101-delegated-subnet-with-fw-rule/configurations.tfvars b/examples/postgresql_flexible_server/101-delegated-subnet-with-fw-rule/configurations.tfvars index f5653c0752..34c4825c39 100644 --- a/examples/postgresql_flexible_server/101-delegated-subnet-with-fw-rule/configurations.tfvars +++ b/examples/postgresql_flexible_server/101-delegated-subnet-with-fw-rule/configurations.tfvars @@ -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" diff --git a/examples/postgresql_flexible_server/102-advanced-postgresql-flexible/configurations.tfvars b/examples/postgresql_flexible_server/102-advanced-postgresql-flexible/configurations.tfvars index fc4b97b751..118fa8fba3 100644 --- a/examples/postgresql_flexible_server/102-advanced-postgresql-flexible/configurations.tfvars +++ b/examples/postgresql_flexible_server/102-advanced-postgresql-flexible/configurations.tfvars @@ -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" diff --git a/examples/postgresql_flexible_server/104-private-endpoint/configuration.tfvars b/examples/postgresql_flexible_server/104-private-endpoint/configuration.tfvars index 97c3107668..8f8a68982d 100644 --- a/examples/postgresql_flexible_server/104-private-endpoint/configuration.tfvars +++ b/examples/postgresql_flexible_server/104-private-endpoint/configuration.tfvars @@ -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" } } } diff --git a/examples/purview/101-purview_account_private_link/configuration.tfvars b/examples/purview/101-purview_account_private_link/configuration.tfvars index 3df22efc53..e5278e7618 100644 --- a/examples/purview/101-purview_account_private_link/configuration.tfvars +++ b/examples/purview/101-purview_account_private_link/configuration.tfvars @@ -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" } } }