From a307f0596f2ef6c76cec701d2cd4ba4b5c9acdf5 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 2 Sep 2023 12:49:12 +0200 Subject: [PATCH] Added usage of CICR function --- .../.test/common/dependencies.bicep | 7 ++- modules/aad/domain-service/README.md | 2 + modules/analysis-services/server/README.md | 2 + modules/api-management/service/README.md | 4 ++ .../.test/pe/dependencies.bicep | 7 ++- .../configuration-store/README.md | 6 +++ modules/app/container-app/README.md | 8 +++- .../.test/common/dependencies.bicep | 3 +- modules/app/managed-environment/README.md | 4 +- .../.test/common/dependencies.bicep | 7 ++- .../automation/automation-account/README.md | 6 +++ .../.test/common/dependencies.bicep | 7 ++- .../.test/encr/dependencies.bicep | 7 ++- modules/batch/batch-account/README.md | 8 ++++ .../redis/.test/common/dependencies.bicep | 7 ++- modules/cache/redis/README.md | 4 ++ .../account/.test/common/dependencies.bicep | 2 +- .../account/.test/encr/dependencies.bicep | 7 ++- .../account/.test/speech/dependencies.bicep | 7 ++- modules/cognitive-services/account/README.md | 8 ++++ modules/compute/availability-set/README.md | 2 + modules/compute/disk-encryption-set/README.md | 4 ++ modules/compute/disk/README.md | 6 +++ modules/compute/gallery/README.md | 2 + modules/compute/image/README.md | 2 + .../proximity-placement-group/README.md | 2 + .../.test/linux.min/dependencies.bicep | 7 ++- .../.test/linux.ssecmk/dependencies.bicep | 7 ++- .../.test/linux/dependencies.bicep | 7 ++- .../.test/windows.min/dependencies.bicep | 7 ++- .../.test/windows/dependencies.bicep | 7 ++- .../virtual-machine-scale-set/README.md | 6 +++ .../.test/linux.atmg/dependencies.bicep | 7 ++- .../.test/linux.min/dependencies.bicep | 7 ++- .../.test/linux/dependencies.bicep | 7 ++- .../.test/windows.atmg/dependencies.bicep | 7 ++- .../.test/windows.min/dependencies.bicep | 7 ++- .../.test/windows.ssecmk/dependencies.bicep | 7 ++- .../.test/windows/dependencies.bicep | 7 ++- modules/compute/virtual-machine/README.md | 44 +++++++++++++++++++ .../.test/private/dependencies.bicep | 6 ++- .../container-group/README.md | 6 +++ .../registry/.test/common/dependencies.bicep | 7 ++- .../registry/.test/encr/dependencies.bicep | 7 ++- .../registry/.test/pe/dependencies.bicep | 7 ++- modules/container-registry/registry/README.md | 10 +++++ .../.test/azure/dependencies.bicep | 26 +++-------- .../.test/priv/dependencies.bicep | 7 ++- .../managed-cluster/README.md | 6 +++ .../factory/.test/common/dependencies.bicep | 7 ++- modules/data-factory/factory/README.md | 6 ++- .../data-protection/backup-vault/README.md | 2 + modules/databricks/workspace/README.md | 2 + .../.test/private/dependencies.bicep | 2 +- .../db-for-my-sql/flexible-server/README.md | 4 ++ .../.test/private/dependencies.bicep | 2 +- .../flexible-server/README.md | 4 ++ .../application-group/README.md | 2 + .../host-pool/README.md | 2 + .../scaling-plan/README.md | 2 + .../workspace/README.md | 2 + .../lab/.test/common/dependencies.bicep | 7 ++- modules/dev-test-lab/lab/README.md | 2 + .../.test/common/dependencies.bicep | 2 +- .../digital-twins-instance/README.md | 2 + .../.test/sqldb/dependencies.bicep | 7 ++- .../document-db/database-account/README.md | 10 +++++ .../domain/.test/common/dependencies.bicep | 7 ++- .../domain/.test/pe/dependencies.bicep | 7 ++- modules/event-grid/domain/README.md | 8 ++++ modules/event-grid/system-topic/README.md | 2 + .../topic/.test/common/dependencies.bicep | 7 ++- .../topic/.test/pe/dependencies.bicep | 7 ++- modules/event-grid/topic/README.md | 8 ++++ .../namespace/.test/common/dependencies.bicep | 2 +- .../namespace/.test/encr/dependencies.bicep | 7 ++- .../namespace/.test/pe/dependencies.bicep | 2 +- modules/event-hub/namespace/README.md | 10 +++++ modules/health-bot/health-bot/README.md | 2 + modules/healthcare-apis/workspace/README.md | 2 + modules/insights/action-group/README.md | 2 + modules/insights/activity-log-alert/README.md | 2 + modules/insights/component/README.md | 2 + .../data-collection-endpoint/README.md | 2 + .../insights/data-collection-rule/README.md | 10 +++++ modules/insights/metric-alert/README.md | 2 + .../.test/common/dependencies.bicep | 7 ++- modules/insights/private-link-scope/README.md | 4 ++ .../insights/scheduled-query-rule/README.md | 2 + modules/insights/webtest/README.md | 8 +++- modules/key-vault/vault/README.md | 8 ++++ modules/logic/workflow/README.md | 2 + .../workspace/.test/common/dependencies.bicep | 7 ++- .../workspace/.test/encr/dependencies.bicep | 7 ++- .../workspace/README.md | 8 ++++ .../maintenance-configuration/README.md | 2 + .../user-assigned-identity/README.md | 2 + .../.test/nfs3/dependencies.bicep | 2 +- .../.test/nfs41/dependencies.bicep | 2 +- modules/net-app/net-app-account/README.md | 4 ++ .../README.md | 2 + .../.test/common/dependencies.bicep | 7 ++- modules/network/application-gateway/README.md | 2 + .../application-security-group/README.md | 2 + .../.test/addpip/dependencies.bicep | 6 +-- .../.test/common/dependencies.bicep | 2 +- .../.test/custompip/dependencies.bicep | 2 +- .../.test/min/dependencies.bicep | 2 +- modules/network/azure-firewall/README.md | 8 ++++ .../.test/common/dependencies.bicep | 2 +- .../.test/custompip/dependencies.bicep | 2 +- .../bastion-host/.test/min/dependencies.bicep | 2 +- modules/network/bastion-host/README.md | 4 ++ modules/network/connection/README.md | 2 + .../network/ddos-protection-plan/README.md | 2 + .../.test/common/dependencies.bicep | 26 ++--------- .../.test/min/dependencies.bicep | 29 +++--------- .../network/dns-forwarding-ruleset/README.md | 2 + .../.test/common/dependencies.bicep | 28 +++--------- modules/network/dns-resolver/README.md | 2 + modules/network/dns-zone/README.md | 2 + .../network/express-route-circuit/README.md | 2 + .../network/express-route-gateway/README.md | 4 +- modules/network/firewall-policy/README.md | 2 + .../README.md | 2 + modules/network/front-door/README.md | 2 + modules/network/ip-group/README.md | 2 + .../.test/internal/dependencies.bicep | 7 ++- modules/network/load-balancer/README.md | 4 ++ .../network/local-network-gateway/README.md | 2 + modules/network/nat-gateway/README.md | 2 + .../.test/common/dependencies.bicep | 7 ++- .../.test/min/dependencies.bicep | 7 ++- modules/network/network-interface/README.md | 2 + modules/network/network-manager/README.md | 2 + .../network/network-security-group/README.md | 2 + .../.test/common/dependencies.bicep | 7 ++- modules/network/network-watcher/README.md | 2 + .../.test/common/dependencies.bicep | 7 ++- modules/network/private-dns-zone/README.md | 2 + .../.test/common/dependencies.bicep | 7 ++- .../.test/min/dependencies.bicep | 7 ++- modules/network/private-endpoint/README.md | 2 + .../.test/common/dependencies.bicep | 2 +- .../.test/min/dependencies.bicep | 2 +- .../network/private-link-service/README.md | 2 + modules/network/public-ip-address/README.md | 2 + modules/network/public-ip-prefix/README.md | 2 + modules/network/route-table/README.md | 2 + .../network/service-endpoint-policy/README.md | 2 + .../network/trafficmanagerprofile/README.md | 2 + .../.test/common/dependencies.bicep | 2 +- modules/network/virtual-hub/README.md | 2 + .../.test/aadvpn/dependencies.bicep | 2 +- .../.test/expressRoute/dependencies.bicep | 2 +- .../.test/vpn/dependencies.bicep | 2 +- .../network/virtual-network-gateway/README.md | 6 +++ .../.test/vnetPeering/dependencies.bicep | 7 ++- modules/network/virtual-network/README.md | 4 ++ modules/network/virtual-wan/README.md | 2 + modules/network/vpn-gateway/README.md | 2 + modules/network/vpn-site/README.md | 2 + .../operational-insights/workspace/README.md | 4 ++ modules/power-bi-dedicated/capacity/README.md | 2 + .../account/.test/common/dependencies.bicep | 6 +-- modules/purview/account/README.md | 12 +++++ .../vault/.test/common/dependencies.bicep | 7 ++- modules/recovery-services/vault/README.md | 6 +++ .../namespace/.test/common/dependencies.bicep | 7 ++- .../namespace/.test/pe/dependencies.bicep | 7 ++- modules/relay/namespace/README.md | 8 ++++ modules/resource-graph/query/README.md | 2 + modules/resources/deployment-script/README.md | 4 ++ modules/resources/resource-group/README.md | 2 + modules/resources/tags/README.md | 4 ++ .../namespace/.test/common/dependencies.bicep | 7 ++- .../namespace/.test/encr/dependencies.bicep | 7 ++- .../namespace/.test/pe/dependencies.bicep | 7 ++- modules/service-bus/namespace/README.md | 10 +++++ modules/service-fabric/cluster/README.md | 4 ++ .../signal-r/.test/common/dependencies.bicep | 2 +- modules/signal-r-service/signal-r/README.md | 4 ++ .../.test/common/dependencies.bicep | 2 +- .../web-pub-sub/.test/pe/dependencies.bicep | 2 +- .../signal-r-service/web-pub-sub/README.md | 8 ++++ .../.test/common/dependencies.bicep | 2 +- .../.test/min/dependencies.bicep | 2 +- modules/sql/managed-instance/README.md | 2 + .../server/.test/common/dependencies.bicep | 22 +++------- .../sql/server/.test/pe/dependencies.bicep | 2 +- modules/sql/server/README.md | 10 +++++ .../.test/common/dependencies.bicep | 2 +- .../.test/encr/dependencies.bicep | 2 +- modules/storage/storage-account/README.md | 12 +++++ .../.test/common/dependencies.bicep | 2 +- modules/synapse/private-link-hub/README.md | 4 ++ .../workspace/.test/common/dependencies.bicep | 7 ++- modules/synapse/workspace/README.md | 6 +++ .../.test/common/dependencies.bicep | 2 +- .../image-template/README.md | 2 + modules/web/connection/README.md | 2 + .../.test/asev2/dependencies.bicep | 2 +- .../.test/asev3/dependencies.bicep | 2 +- modules/web/hosting-environment/README.md | 4 ++ modules/web/serverfarm/README.md | 2 + .../functionAppCommon/dependencies.bicep | 7 ++- .../.test/webAppCommon/dependencies.bicep | 7 ++- modules/web/site/README.md | 6 +++ .../.test/common/dependencies.bicep | 7 ++- modules/web/static-site/README.md | 4 ++ 210 files changed, 881 insertions(+), 203 deletions(-) diff --git a/modules/aad/domain-service/.test/common/dependencies.bicep b/modules/aad/domain-service/.test/common/dependencies.bicep index 0790bd447a..15dcc6ca36 100644 --- a/modules/aad/domain-service/.test/common/dependencies.bicep +++ b/modules/aad/domain-service/.test/common/dependencies.bicep @@ -30,7 +30,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/aad/domain-service/README.md b/modules/aad/domain-service/README.md index 14813acc04..6c3685fe16 100644 --- a/modules/aad/domain-service/README.md +++ b/modules/aad/domain-service/README.md @@ -253,6 +253,7 @@ module domainService './aad/domain-service/main.bicep' = { sku: 'Standard' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -322,6 +323,7 @@ module domainService './aad/domain-service/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/analysis-services/server/README.md b/modules/analysis-services/server/README.md index b01b46f8b3..5655dfe807 100644 --- a/modules/analysis-services/server/README.md +++ b/modules/analysis-services/server/README.md @@ -199,6 +199,7 @@ module server './analysis-services/server/main.bicep' = { skuName: 'S0' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -257,6 +258,7 @@ module server './analysis-services/server/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/api-management/service/README.md b/modules/api-management/service/README.md index 0aa2f605e6..89711df531 100644 --- a/modules/api-management/service/README.md +++ b/modules/api-management/service/README.md @@ -331,6 +331,7 @@ module service './api-management/service/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -408,6 +409,7 @@ module service './api-management/service/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -557,6 +559,7 @@ module service './api-management/service/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -750,6 +753,7 @@ module service './api-management/service/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/app-configuration/configuration-store/.test/pe/dependencies.bicep b/modules/app-configuration/configuration-store/.test/pe/dependencies.bicep index ca28691a17..d242081ed8 100644 --- a/modules/app-configuration/configuration-store/.test/pe/dependencies.bicep +++ b/modules/app-configuration/configuration-store/.test/pe/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/app-configuration/configuration-store/README.md b/modules/app-configuration/configuration-store/README.md index 23edaceeaf..1cdae7dca1 100644 --- a/modules/app-configuration/configuration-store/README.md +++ b/modules/app-configuration/configuration-store/README.md @@ -367,6 +367,7 @@ module configurationStore './app-configuration/configuration-store/main.bicep' = systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -455,6 +456,7 @@ module configurationStore './app-configuration/configuration-store/main.bicep' = "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -538,6 +540,7 @@ module configurationStore './app-configuration/configuration-store/main.bicep' = subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -545,6 +548,7 @@ module configurationStore './app-configuration/configuration-store/main.bicep' = softDeleteRetentionInDays: 1 tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -592,6 +596,7 @@ module configurationStore './app-configuration/configuration-store/main.bicep' = "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -603,6 +608,7 @@ module configurationStore './app-configuration/configuration-store/main.bicep' = "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/app/container-app/README.md b/modules/app/container-app/README.md index 3ca4982e5b..e41716ecbd 100644 --- a/modules/app/container-app/README.md +++ b/modules/app/container-app/README.md @@ -271,6 +271,7 @@ module containerApp './app/container-app/main.bicep' = { } tags: { Env: 'test' + 'hidden-title': 'This is visible in the resource name' } userAssignedIdentities: { '': {} @@ -349,7 +350,8 @@ module containerApp './app/container-app/main.bicep' = { }, "tags": { "value": { - "Env": "test" + "Env": "test", + "hidden-title": "This is visible in the resource name" } }, "userAssignedIdentities": { @@ -392,6 +394,7 @@ module containerApp './app/container-app/main.bicep' = { location: '' tags: { Env: 'test' + 'hidden-title': 'This is visible in the resource name' } } } @@ -437,7 +440,8 @@ module containerApp './app/container-app/main.bicep' = { }, "tags": { "value": { - "Env": "test" + "Env": "test", + "hidden-title": "This is visible in the resource name" } } } diff --git a/modules/app/managed-environment/.test/common/dependencies.bicep b/modules/app/managed-environment/.test/common/dependencies.bicep index 8fddc251f3..f61380acc4 100644 --- a/modules/app/managed-environment/.test/common/dependencies.bicep +++ b/modules/app/managed-environment/.test/common/dependencies.bicep @@ -8,7 +8,6 @@ param logAnalyticsWorkspaceName string param virtualNetworkName string var addressPrefix = '10.0.0.0/16' -var subnetAddressPrefix = '10.0.0.0/23' resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = { name: logAnalyticsWorkspaceName @@ -37,7 +36,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: subnetAddressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/app/managed-environment/README.md b/modules/app/managed-environment/README.md index 7ebf72c246..693ccbad41 100644 --- a/modules/app/managed-environment/README.md +++ b/modules/app/managed-environment/README.md @@ -202,6 +202,7 @@ module managedEnvironment './app/managed-environment/main.bicep' = { skuName: 'Consumption' tags: { Env: 'test' + 'hidden-title': 'This is visible in the resource name' } } } @@ -256,7 +257,8 @@ module managedEnvironment './app/managed-environment/main.bicep' = { }, "tags": { "value": { - "Env": "test" + "Env": "test", + "hidden-title": "This is visible in the resource name" } } } diff --git a/modules/automation/automation-account/.test/common/dependencies.bicep b/modules/automation/automation-account/.test/common/dependencies.bicep index c388f7bc4f..54490940b9 100644 --- a/modules/automation/automation-account/.test/common/dependencies.bicep +++ b/modules/automation/automation-account/.test/common/dependencies.bicep @@ -25,7 +25,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/automation/automation-account/README.md b/modules/automation/automation-account/README.md index 896c504721..269eb05810 100644 --- a/modules/automation/automation-account/README.md +++ b/modules/automation/automation-account/README.md @@ -445,6 +445,7 @@ module automationAccount './automation/automation-account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -458,6 +459,7 @@ module automationAccount './automation/automation-account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -551,6 +553,7 @@ module automationAccount './automation/automation-account/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -667,6 +670,7 @@ module automationAccount './automation/automation-account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -680,6 +684,7 @@ module automationAccount './automation/automation-account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -785,6 +790,7 @@ module automationAccount './automation/automation-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/batch/batch-account/.test/common/dependencies.bicep b/modules/batch/batch-account/.test/common/dependencies.bicep index b355d52cb3..f1002e0771 100644 --- a/modules/batch/batch-account/.test/common/dependencies.bicep +++ b/modules/batch/batch-account/.test/common/dependencies.bicep @@ -34,7 +34,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/batch/batch-account/.test/encr/dependencies.bicep b/modules/batch/batch-account/.test/encr/dependencies.bicep index e6acb43c7c..cda375f9a6 100644 --- a/modules/batch/batch-account/.test/encr/dependencies.bicep +++ b/modules/batch/batch-account/.test/encr/dependencies.bicep @@ -37,7 +37,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/batch/batch-account/README.md b/modules/batch/batch-account/README.md index 85dcc30c05..3351c6cfc8 100644 --- a/modules/batch/batch-account/README.md +++ b/modules/batch/batch-account/README.md @@ -305,6 +305,7 @@ module batchAccount './batch/batch-account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -314,6 +315,7 @@ module batchAccount './batch/batch-account/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -382,6 +384,7 @@ module batchAccount './batch/batch-account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -399,6 +402,7 @@ module batchAccount './batch/batch-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -438,6 +442,7 @@ module batchAccount './batch/batch-account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -446,6 +451,7 @@ module batchAccount './batch/batch-account/main.bicep' = { storageAuthenticationMode: 'BatchAccountManagedIdentity' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -499,6 +505,7 @@ module batchAccount './batch/batch-account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -513,6 +520,7 @@ module batchAccount './batch/batch-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/cache/redis/.test/common/dependencies.bicep b/modules/cache/redis/.test/common/dependencies.bicep index c6cfc38050..e26e0ea1fa 100644 --- a/modules/cache/redis/.test/common/dependencies.bicep +++ b/modules/cache/redis/.test/common/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/cache/redis/README.md b/modules/cache/redis/README.md index b005689a95..713fbd99f7 100644 --- a/modules/cache/redis/README.md +++ b/modules/cache/redis/README.md @@ -392,6 +392,7 @@ module redis './cache/redis/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -402,6 +403,7 @@ module redis './cache/redis/main.bicep' = { skuName: 'Premium' systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Redis Cache' } zoneRedundant: true @@ -472,6 +474,7 @@ module redis './cache/redis/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -494,6 +497,7 @@ module redis './cache/redis/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "resourceType": "Redis Cache" } }, diff --git a/modules/cognitive-services/account/.test/common/dependencies.bicep b/modules/cognitive-services/account/.test/common/dependencies.bicep index c9050e21ef..129b6f6579 100644 --- a/modules/cognitive-services/account/.test/common/dependencies.bicep +++ b/modules/cognitive-services/account/.test/common/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) serviceEndpoints: [ { service: 'Microsoft.CognitiveServices' diff --git a/modules/cognitive-services/account/.test/encr/dependencies.bicep b/modules/cognitive-services/account/.test/encr/dependencies.bicep index a37c49daaa..92a3eaae9a 100644 --- a/modules/cognitive-services/account/.test/encr/dependencies.bicep +++ b/modules/cognitive-services/account/.test/encr/dependencies.bicep @@ -25,7 +25,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/cognitive-services/account/.test/speech/dependencies.bicep b/modules/cognitive-services/account/.test/speech/dependencies.bicep index 6c44dce491..e44d1ca9bc 100644 --- a/modules/cognitive-services/account/.test/speech/dependencies.bicep +++ b/modules/cognitive-services/account/.test/speech/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/cognitive-services/account/README.md b/modules/cognitive-services/account/README.md index ce8fb6197a..cf27832adf 100644 --- a/modules/cognitive-services/account/README.md +++ b/modules/cognitive-services/account/README.md @@ -492,6 +492,7 @@ module account './cognitive-services/account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -509,6 +510,7 @@ module account './cognitive-services/account/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -587,6 +589,7 @@ module account './cognitive-services/account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -612,6 +615,7 @@ module account './cognitive-services/account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -784,6 +788,7 @@ module account './cognitive-services/account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -792,6 +797,7 @@ module account './cognitive-services/account/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -839,6 +845,7 @@ module account './cognitive-services/account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -853,6 +860,7 @@ module account './cognitive-services/account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/compute/availability-set/README.md b/modules/compute/availability-set/README.md index 9fe7f4a0ff..62c7f649ff 100644 --- a/modules/compute/availability-set/README.md +++ b/modules/compute/availability-set/README.md @@ -188,6 +188,7 @@ module availabilitySet './compute/availability-set/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -234,6 +235,7 @@ module availabilitySet './compute/availability-set/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/compute/disk-encryption-set/README.md b/modules/compute/disk-encryption-set/README.md index 3f2b118f7c..77400143c9 100644 --- a/modules/compute/disk-encryption-set/README.md +++ b/modules/compute/disk-encryption-set/README.md @@ -240,6 +240,7 @@ module diskEncryptionSet './compute/disk-encryption-set/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -292,6 +293,7 @@ module diskEncryptionSet './compute/disk-encryption-set/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -336,6 +338,7 @@ module diskEncryptionSet './compute/disk-encryption-set/main.bicep' = { systemAssignedIdentity: false tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -391,6 +394,7 @@ module diskEncryptionSet './compute/disk-encryption-set/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/compute/disk/README.md b/modules/compute/disk/README.md index eed4e08682..7e52c52e77 100644 --- a/modules/compute/disk/README.md +++ b/modules/compute/disk/README.md @@ -217,6 +217,7 @@ module disk './compute/disk/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -281,6 +282,7 @@ module disk './compute/disk/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -319,6 +321,7 @@ module disk './compute/disk/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -368,6 +371,7 @@ module disk './compute/disk/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -407,6 +411,7 @@ module disk './compute/disk/main.bicep' = { storageAccountId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -459,6 +464,7 @@ module disk './compute/disk/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/compute/gallery/README.md b/modules/compute/gallery/README.md index 68a64f36bc..78b64b460c 100644 --- a/modules/compute/gallery/README.md +++ b/modules/compute/gallery/README.md @@ -315,6 +315,7 @@ module gallery './compute/gallery/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -489,6 +490,7 @@ module gallery './compute/gallery/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/compute/image/README.md b/modules/compute/image/README.md index da954dedb1..6023fb8469 100644 --- a/modules/compute/image/README.md +++ b/modules/compute/image/README.md @@ -201,6 +201,7 @@ module image './compute/image/main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' tagA: 'You\'re it' tagB: 'Player' } @@ -266,6 +267,7 @@ module image './compute/image/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "tagA": "You\"re it", "tagB": "Player" } diff --git a/modules/compute/proximity-placement-group/README.md b/modules/compute/proximity-placement-group/README.md index 6a8e84b799..a11ceb4175 100644 --- a/modules/compute/proximity-placement-group/README.md +++ b/modules/compute/proximity-placement-group/README.md @@ -198,6 +198,7 @@ module proximityPlacementGroup './compute/proximity-placement-group/main.bicep' } ] tags: { + 'hidden-title': 'This is visible in the resource name' TagA: 'Would you kindly...' TagB: 'Tags for sale' } @@ -261,6 +262,7 @@ module proximityPlacementGroup './compute/proximity-placement-group/main.bicep' }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "TagA": "Would you kindly...", "TagB": "Tags for sale" } diff --git a/modules/compute/virtual-machine-scale-set/.test/linux.min/dependencies.bicep b/modules/compute/virtual-machine-scale-set/.test/linux.min/dependencies.bicep index f524629de7..75db7a634d 100644 --- a/modules/compute/virtual-machine-scale-set/.test/linux.min/dependencies.bicep +++ b/modules/compute/virtual-machine-scale-set/.test/linux.min/dependencies.bicep @@ -28,7 +28,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine-scale-set/.test/linux.ssecmk/dependencies.bicep b/modules/compute/virtual-machine-scale-set/.test/linux.ssecmk/dependencies.bicep index ac1e0c0114..81b7c807ed 100644 --- a/modules/compute/virtual-machine-scale-set/.test/linux.ssecmk/dependencies.bicep +++ b/modules/compute/virtual-machine-scale-set/.test/linux.ssecmk/dependencies.bicep @@ -34,7 +34,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine-scale-set/.test/linux/dependencies.bicep b/modules/compute/virtual-machine-scale-set/.test/linux/dependencies.bicep index 139519d9ca..1fb84d2ce0 100644 --- a/modules/compute/virtual-machine-scale-set/.test/linux/dependencies.bicep +++ b/modules/compute/virtual-machine-scale-set/.test/linux/dependencies.bicep @@ -38,7 +38,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine-scale-set/.test/windows.min/dependencies.bicep b/modules/compute/virtual-machine-scale-set/.test/windows.min/dependencies.bicep index a163531213..ab3fa717f3 100644 --- a/modules/compute/virtual-machine-scale-set/.test/windows.min/dependencies.bicep +++ b/modules/compute/virtual-machine-scale-set/.test/windows.min/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine-scale-set/.test/windows/dependencies.bicep b/modules/compute/virtual-machine-scale-set/.test/windows/dependencies.bicep index 5392bb96c3..31238d9016 100644 --- a/modules/compute/virtual-machine-scale-set/.test/windows/dependencies.bicep +++ b/modules/compute/virtual-machine-scale-set/.test/windows/dependencies.bicep @@ -35,7 +35,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine-scale-set/README.md b/modules/compute/virtual-machine-scale-set/README.md index b0384b82da..58083f1794 100644 --- a/modules/compute/virtual-machine-scale-set/README.md +++ b/modules/compute/virtual-machine-scale-set/README.md @@ -1028,6 +1028,7 @@ module virtualMachineScaleSet './compute/virtual-machine-scale-set/main.bicep' = systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } upgradePolicyMode: 'Manual' @@ -1226,6 +1227,7 @@ module virtualMachineScaleSet './compute/virtual-machine-scale-set/main.bicep' = "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -1458,6 +1460,7 @@ module virtualMachineScaleSet './compute/virtual-machine-scale-set/main.bicep' = ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1562,6 +1565,7 @@ module virtualMachineScaleSet './compute/virtual-machine-scale-set/main.bicep' = "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1692,6 +1696,7 @@ module virtualMachineScaleSet './compute/virtual-machine-scale-set/main.bicep' = systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } upgradePolicyMode: 'Manual' @@ -1879,6 +1884,7 @@ module virtualMachineScaleSet './compute/virtual-machine-scale-set/main.bicep' = "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/compute/virtual-machine/.test/linux.atmg/dependencies.bicep b/modules/compute/virtual-machine/.test/linux.atmg/dependencies.bicep index bec794c98b..0a806d6240 100644 --- a/modules/compute/virtual-machine/.test/linux.atmg/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/linux.atmg/dependencies.bicep @@ -28,7 +28,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine/.test/linux.min/dependencies.bicep b/modules/compute/virtual-machine/.test/linux.min/dependencies.bicep index c2785277dd..d752e4e991 100644 --- a/modules/compute/virtual-machine/.test/linux.min/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/linux.min/dependencies.bicep @@ -28,7 +28,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine/.test/linux/dependencies.bicep b/modules/compute/virtual-machine/.test/linux/dependencies.bicep index 7eada55540..602c7eb13f 100644 --- a/modules/compute/virtual-machine/.test/linux/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/linux/dependencies.bicep @@ -47,7 +47,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine/.test/windows.atmg/dependencies.bicep b/modules/compute/virtual-machine/.test/windows.atmg/dependencies.bicep index fb8e43c609..dc21a02194 100644 --- a/modules/compute/virtual-machine/.test/windows.atmg/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/windows.atmg/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine/.test/windows.min/dependencies.bicep b/modules/compute/virtual-machine/.test/windows.min/dependencies.bicep index 683dc9d4f4..8b414f2ac9 100644 --- a/modules/compute/virtual-machine/.test/windows.min/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/windows.min/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine/.test/windows.ssecmk/dependencies.bicep b/modules/compute/virtual-machine/.test/windows.ssecmk/dependencies.bicep index 05648243b5..6368d107ee 100644 --- a/modules/compute/virtual-machine/.test/windows.ssecmk/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/windows.ssecmk/dependencies.bicep @@ -25,7 +25,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine/.test/windows/dependencies.bicep b/modules/compute/virtual-machine/.test/windows/dependencies.bicep index 7c37c57013..f12e4eb148 100644 --- a/modules/compute/virtual-machine/.test/windows/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/windows/dependencies.bicep @@ -44,7 +44,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/compute/virtual-machine/README.md b/modules/compute/virtual-machine/README.md index c5dcc52850..d7747400aa 100644 --- a/modules/compute/virtual-machine/README.md +++ b/modules/compute/virtual-machine/README.md @@ -1146,6 +1146,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1163,6 +1164,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1176,6 +1178,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1186,6 +1189,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1193,6 +1197,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: false tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1200,6 +1205,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1207,6 +1213,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1233,6 +1240,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -1395,6 +1403,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1414,6 +1423,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { }, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1429,6 +1439,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { ], "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1443,6 +1454,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1452,6 +1464,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": false, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1461,6 +1474,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1470,6 +1484,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1514,6 +1529,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -1556,6 +1572,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { publicIpNameSuffix: '-pip-01' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1565,6 +1582,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { nicSuffix: '-nic-01' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1591,6 +1609,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1631,6 +1650,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "publicIpNameSuffix": "-pip-01", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -1640,6 +1660,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "nicSuffix": "-nic-01", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1686,6 +1707,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1943,6 +1965,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1965,6 +1988,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1980,6 +2004,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { ResizeOSDisk: 'false' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } VolumeType: 'All' @@ -1995,6 +2020,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -2005,6 +2031,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -2012,6 +2039,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -2019,6 +2047,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -2026,6 +2055,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { enabled: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -2047,6 +2077,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -2209,6 +2240,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -2233,6 +2265,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { }, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -2250,6 +2283,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "ResizeOSDisk": "false", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" }, "VolumeType": "All" @@ -2267,6 +2301,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { ], "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -2281,6 +2316,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -2290,6 +2326,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -2299,6 +2336,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -2308,6 +2346,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "enabled": true, "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -2347,6 +2386,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -2407,6 +2447,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { name: 'cvmwinatmg' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -2483,6 +2524,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -2668,6 +2710,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { name: 'cvmwincmk' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -2757,6 +2800,7 @@ module virtualMachine './compute/virtual-machine/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/container-instance/container-group/.test/private/dependencies.bicep b/modules/container-instance/container-group/.test/private/dependencies.bicep index ed78f60367..4b89b7a4bd 100644 --- a/modules/container-instance/container-group/.test/private/dependencies.bicep +++ b/modules/container-instance/container-group/.test/private/dependencies.bicep @@ -7,6 +7,8 @@ param virtualNetworkName string @description('Optional. The location to deploy resources to.') param location string = resourceGroup().location +var addressPrefix = '10.0.0.0/16' + resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2018-11-30' = { name: managedIdentityName location: location @@ -18,14 +20,14 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { properties: { addressSpace: { addressPrefixes: [ - '10.0.0.0/24' + addressPrefix ] } subnets: [ { name: 'defaultSubnet' properties: { - addressPrefix: '10.0.0.0/24' + addressPrefix: cidrSubnet(addressPrefix, 16, 0) delegations: [ { name: 'Microsoft.ContainerInstance.containerGroups' diff --git a/modules/container-instance/container-group/README.md b/modules/container-instance/container-group/README.md index 109433ddb9..3e31dd66c8 100644 --- a/modules/container-instance/container-group/README.md +++ b/modules/container-instance/container-group/README.md @@ -375,6 +375,7 @@ module containerGroup './container-instance/container-group/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -473,6 +474,7 @@ module containerGroup './container-instance/container-group/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -565,6 +567,7 @@ module containerGroup './container-instance/container-group/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -672,6 +675,7 @@ module containerGroup './container-instance/container-group/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -874,6 +878,7 @@ module containerGroup './container-instance/container-group/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -994,6 +999,7 @@ module containerGroup './container-instance/container-group/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/container-registry/registry/.test/common/dependencies.bicep b/modules/container-registry/registry/.test/common/dependencies.bicep index a758909a14..6d8100ce40 100644 --- a/modules/container-registry/registry/.test/common/dependencies.bicep +++ b/modules/container-registry/registry/.test/common/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/container-registry/registry/.test/encr/dependencies.bicep b/modules/container-registry/registry/.test/encr/dependencies.bicep index 9922e752af..97c8d6f8ee 100644 --- a/modules/container-registry/registry/.test/encr/dependencies.bicep +++ b/modules/container-registry/registry/.test/encr/dependencies.bicep @@ -25,7 +25,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/container-registry/registry/.test/pe/dependencies.bicep b/modules/container-registry/registry/.test/pe/dependencies.bicep index 6d9f2aa57a..16d9ca53c0 100644 --- a/modules/container-registry/registry/.test/pe/dependencies.bicep +++ b/modules/container-registry/registry/.test/pe/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/container-registry/registry/README.md b/modules/container-registry/registry/README.md index 563a2e27b0..f019699bf5 100644 --- a/modules/container-registry/registry/README.md +++ b/modules/container-registry/registry/README.md @@ -414,6 +414,7 @@ module registry './container-registry/registry/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -439,6 +440,7 @@ module registry './container-registry/registry/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } trustPolicyStatus: 'enabled' @@ -522,6 +524,7 @@ module registry './container-registry/registry/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -561,6 +564,7 @@ module registry './container-registry/registry/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -608,6 +612,7 @@ module registry './container-registry/registry/main.bicep' = { publicNetworkAccess: 'Disabled' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -655,6 +660,7 @@ module registry './container-registry/registry/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -741,12 +747,14 @@ module registry './container-registry/registry/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -788,6 +796,7 @@ module registry './container-registry/registry/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -796,6 +805,7 @@ module registry './container-registry/registry/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/container-service/managed-cluster/.test/azure/dependencies.bicep b/modules/container-service/managed-cluster/.test/azure/dependencies.bicep index 8afe485d28..e49b42ea78 100644 --- a/modules/container-service/managed-cluster/.test/azure/dependencies.bicep +++ b/modules/container-service/managed-cluster/.test/azure/dependencies.bicep @@ -19,35 +19,23 @@ param proximityPlacementGroupName string @description('Required. The name of the DNS Zone to create.') param dnsZoneName string +var addressPrefix = '10.0.0.0/16' + resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: virtualNetworkName location: location properties: { addressSpace: { addressPrefixes: [ - '10.1.0.0/22' + addressPrefix ] } - subnets: [ - { - name: 'systemSubnet' - properties: { - addressPrefix: '10.1.0.0/24' - } - } - { - name: 'userSubnet1' + subnets: map(range(0, 3), i => { + name: 'subnet-${i}' properties: { - addressPrefix: '10.1.1.0/24' + addressPrefix: cidrSubnet(addressPrefix, 24, i) } - } - { - name: 'userSubnet2' - properties: { - addressPrefix: '10.1.2.0/24' - } - } - ] + }) } } diff --git a/modules/container-service/managed-cluster/.test/priv/dependencies.bicep b/modules/container-service/managed-cluster/.test/priv/dependencies.bicep index 6e584a61cf..566fd659b0 100644 --- a/modules/container-service/managed-cluster/.test/priv/dependencies.bicep +++ b/modules/container-service/managed-cluster/.test/priv/dependencies.bicep @@ -35,7 +35,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/container-service/managed-cluster/README.md b/modules/container-service/managed-cluster/README.md index 88b9e2c128..d4f3ff6a9f 100644 --- a/modules/container-service/managed-cluster/README.md +++ b/modules/container-service/managed-cluster/README.md @@ -549,6 +549,7 @@ module managedCluster './container-service/managed-cluster/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -752,6 +753,7 @@ module managedCluster './container-service/managed-cluster/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -862,6 +864,7 @@ module managedCluster './container-service/managed-cluster/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -994,6 +997,7 @@ module managedCluster './container-service/managed-cluster/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -1174,6 +1178,7 @@ module managedCluster './container-service/managed-cluster/main.bicep' = { privateDNSZone: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -1312,6 +1317,7 @@ module managedCluster './container-service/managed-cluster/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/data-factory/factory/.test/common/dependencies.bicep b/modules/data-factory/factory/.test/common/dependencies.bicep index e83e155ace..d4aec0ffe2 100644 --- a/modules/data-factory/factory/.test/common/dependencies.bicep +++ b/modules/data-factory/factory/.test/common/dependencies.bicep @@ -28,7 +28,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/data-factory/factory/README.md b/modules/data-factory/factory/README.md index fedd12666c..e6f1df293c 100644 --- a/modules/data-factory/factory/README.md +++ b/modules/data-factory/factory/README.md @@ -451,6 +451,7 @@ module factory './data-factory/factory/main.bicep' = { subnetResourceId: '' tags: { application: 'CARML' + 'hidden-title': 'This is visible in the resource name' } } ] @@ -466,6 +467,7 @@ module factory './data-factory/factory/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -574,7 +576,8 @@ module factory './data-factory/factory/main.bicep' = { "service": "dataFactory", "subnetResourceId": "", "tags": { - "application": "CARML" + "application": "CARML", + "hidden-title": "This is visible in the resource name" } } ] @@ -596,6 +599,7 @@ module factory './data-factory/factory/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/data-protection/backup-vault/README.md b/modules/data-protection/backup-vault/README.md index 1dd564e8e0..05ed300435 100644 --- a/modules/data-protection/backup-vault/README.md +++ b/modules/data-protection/backup-vault/README.md @@ -434,6 +434,7 @@ module backupVault './data-protection/backup-vault/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -547,6 +548,7 @@ module backupVault './data-protection/backup-vault/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/databricks/workspace/README.md b/modules/databricks/workspace/README.md index bb9d78a717..51574a9991 100644 --- a/modules/databricks/workspace/README.md +++ b/modules/databricks/workspace/README.md @@ -262,6 +262,7 @@ module workspace './databricks/workspace/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -317,6 +318,7 @@ module workspace './databricks/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/db-for-my-sql/flexible-server/.test/private/dependencies.bicep b/modules/db-for-my-sql/flexible-server/.test/private/dependencies.bicep index 28572498b4..bb2fca45b2 100644 --- a/modules/db-for-my-sql/flexible-server/.test/private/dependencies.bicep +++ b/modules/db-for-my-sql/flexible-server/.test/private/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) delegations: [ { name: 'Microsoft.DBforMySQL.flexibleServers' diff --git a/modules/db-for-my-sql/flexible-server/README.md b/modules/db-for-my-sql/flexible-server/README.md index f75e0ea4e7..c2280aefc0 100644 --- a/modules/db-for-my-sql/flexible-server/README.md +++ b/modules/db-for-my-sql/flexible-server/README.md @@ -344,6 +344,7 @@ module flexibleServer './db-for-my-sql/flexible-server/main.bicep' = { storageIOPS: 400 storageSizeGB: 64 tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'MySQL Flexible Server' serverName: 'dfmsfspvt001' } @@ -448,6 +449,7 @@ module flexibleServer './db-for-my-sql/flexible-server/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "resourceType": "MySQL Flexible Server", "serverName": "dfmsfspvt001" } @@ -539,6 +541,7 @@ module flexibleServer './db-for-my-sql/flexible-server/main.bicep' = { storageIOPS: 400 storageSizeGB: 32 tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'MySQL Flexible Server' serverName: 'dfmsfsp001' } @@ -687,6 +690,7 @@ module flexibleServer './db-for-my-sql/flexible-server/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "resourceType": "MySQL Flexible Server", "serverName": "dfmsfsp001" } diff --git a/modules/db-for-postgre-sql/flexible-server/.test/private/dependencies.bicep b/modules/db-for-postgre-sql/flexible-server/.test/private/dependencies.bicep index 8e1cbe19fd..1ea4046132 100644 --- a/modules/db-for-postgre-sql/flexible-server/.test/private/dependencies.bicep +++ b/modules/db-for-postgre-sql/flexible-server/.test/private/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) delegations: [ { name: 'Microsoft.DBforPostgreSQL.flexibleServers' diff --git a/modules/db-for-postgre-sql/flexible-server/README.md b/modules/db-for-postgre-sql/flexible-server/README.md index 75d89467cf..404f60141f 100644 --- a/modules/db-for-postgre-sql/flexible-server/README.md +++ b/modules/db-for-postgre-sql/flexible-server/README.md @@ -483,6 +483,7 @@ module flexibleServer './db-for-postgre-sql/flexible-server/main.bicep' = { privateDnsZoneArmResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -571,6 +572,7 @@ module flexibleServer './db-for-postgre-sql/flexible-server/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -648,6 +650,7 @@ module flexibleServer './db-for-postgre-sql/flexible-server/main.bicep' = { storageSizeGB: 1024 tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -772,6 +775,7 @@ module flexibleServer './db-for-postgre-sql/flexible-server/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/desktop-virtualization/application-group/README.md b/modules/desktop-virtualization/application-group/README.md index 0ea6d2af56..3ad409cb29 100644 --- a/modules/desktop-virtualization/application-group/README.md +++ b/modules/desktop-virtualization/application-group/README.md @@ -223,6 +223,7 @@ module applicationGroup './desktop-virtualization/application-group/main.bicep' ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -313,6 +314,7 @@ module applicationGroup './desktop-virtualization/application-group/main.bicep' "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/desktop-virtualization/host-pool/README.md b/modules/desktop-virtualization/host-pool/README.md index d12faf2c33..95799c2de3 100644 --- a/modules/desktop-virtualization/host-pool/README.md +++ b/modules/desktop-virtualization/host-pool/README.md @@ -331,6 +331,7 @@ module hostPool './desktop-virtualization/host-pool/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } type: 'Pooled' @@ -442,6 +443,7 @@ module hostPool './desktop-virtualization/host-pool/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/desktop-virtualization/scaling-plan/README.md b/modules/desktop-virtualization/scaling-plan/README.md index b964c6f5bb..93eb2d7557 100644 --- a/modules/desktop-virtualization/scaling-plan/README.md +++ b/modules/desktop-virtualization/scaling-plan/README.md @@ -301,6 +301,7 @@ module scalingPlan './desktop-virtualization/scaling-plan/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -362,6 +363,7 @@ module scalingPlan './desktop-virtualization/scaling-plan/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/desktop-virtualization/workspace/README.md b/modules/desktop-virtualization/workspace/README.md index dc530682df..7bdbd363f3 100644 --- a/modules/desktop-virtualization/workspace/README.md +++ b/modules/desktop-virtualization/workspace/README.md @@ -203,6 +203,7 @@ module workspace './desktop-virtualization/workspace/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -272,6 +273,7 @@ module workspace './desktop-virtualization/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/dev-test-lab/lab/.test/common/dependencies.bicep b/modules/dev-test-lab/lab/.test/common/dependencies.bicep index 929699f11a..260c8dfd63 100644 --- a/modules/dev-test-lab/lab/.test/common/dependencies.bicep +++ b/modules/dev-test-lab/lab/.test/common/dependencies.bicep @@ -102,7 +102,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/dev-test-lab/lab/README.md b/modules/dev-test-lab/lab/README.md index 6cc88abf36..b7a1b79f6a 100644 --- a/modules/dev-test-lab/lab/README.md +++ b/modules/dev-test-lab/lab/README.md @@ -417,6 +417,7 @@ module lab './dev-test-lab/lab/main.bicep' = { markdown: 'DevTest Lab support text.
New line. It also supports Markdown' } tags: { + 'hidden-title': 'This is visible in the resource name' labName: 'dtllcom001' resourceType: 'DevTest Lab' } @@ -702,6 +703,7 @@ module lab './dev-test-lab/lab/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "labName": "dtllcom001", "resourceType": "DevTest Lab" } diff --git a/modules/digital-twins/digital-twins-instance/.test/common/dependencies.bicep b/modules/digital-twins/digital-twins-instance/.test/common/dependencies.bicep index 1e614d60b6..997053fec3 100644 --- a/modules/digital-twins/digital-twins-instance/.test/common/dependencies.bicep +++ b/modules/digital-twins/digital-twins-instance/.test/common/dependencies.bicep @@ -34,7 +34,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) serviceEndpoints: [ { service: 'Microsoft.KeyVault' diff --git a/modules/digital-twins/digital-twins-instance/README.md b/modules/digital-twins/digital-twins-instance/README.md index 43768dff83..4be6c79af6 100644 --- a/modules/digital-twins/digital-twins-instance/README.md +++ b/modules/digital-twins/digital-twins-instance/README.md @@ -499,6 +499,7 @@ module digitalTwinsInstance './digital-twins/digital-twins-instance/main.bicep' } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -592,6 +593,7 @@ module digitalTwinsInstance './digital-twins/digital-twins-instance/main.bicep' "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/document-db/database-account/.test/sqldb/dependencies.bicep b/modules/document-db/database-account/.test/sqldb/dependencies.bicep index 50a1ace621..ccc7a3b9ea 100644 --- a/modules/document-db/database-account/.test/sqldb/dependencies.bicep +++ b/modules/document-db/database-account/.test/sqldb/dependencies.bicep @@ -27,7 +27,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/document-db/database-account/README.md b/modules/document-db/database-account/README.md index 72f4640a8a..ee03714f9c 100644 --- a/modules/document-db/database-account/README.md +++ b/modules/document-db/database-account/README.md @@ -745,6 +745,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -872,6 +873,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1109,6 +1111,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1367,6 +1370,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1419,6 +1423,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1488,6 +1493,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1540,6 +1546,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1631,6 +1638,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -1701,6 +1709,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1798,6 +1807,7 @@ module databaseAccount './document-db/database-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/event-grid/domain/.test/common/dependencies.bicep b/modules/event-grid/domain/.test/common/dependencies.bicep index 9ae6106fca..e405ad0faf 100644 --- a/modules/event-grid/domain/.test/common/dependencies.bicep +++ b/modules/event-grid/domain/.test/common/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/event-grid/domain/.test/pe/dependencies.bicep b/modules/event-grid/domain/.test/pe/dependencies.bicep index b4da965a54..c01750c32d 100644 --- a/modules/event-grid/domain/.test/pe/dependencies.bicep +++ b/modules/event-grid/domain/.test/pe/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/event-grid/domain/README.md b/modules/event-grid/domain/README.md index 97d325a857..6c0b803a00 100644 --- a/modules/event-grid/domain/README.md +++ b/modules/event-grid/domain/README.md @@ -314,6 +314,7 @@ module domain './event-grid/domain/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -329,6 +330,7 @@ module domain './event-grid/domain/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } topics: [ @@ -393,6 +395,7 @@ module domain './event-grid/domain/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -412,6 +415,7 @@ module domain './event-grid/domain/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -497,12 +501,14 @@ module domain './event-grid/domain/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -541,6 +547,7 @@ module domain './event-grid/domain/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -549,6 +556,7 @@ module domain './event-grid/domain/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/event-grid/system-topic/README.md b/modules/event-grid/system-topic/README.md index a2e2b0e2e0..a6aa00839d 100644 --- a/modules/event-grid/system-topic/README.md +++ b/modules/event-grid/system-topic/README.md @@ -334,6 +334,7 @@ module systemTopic './event-grid/system-topic/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -421,6 +422,7 @@ module systemTopic './event-grid/system-topic/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/event-grid/topic/.test/common/dependencies.bicep b/modules/event-grid/topic/.test/common/dependencies.bicep index 6f09643d9e..01b7967db1 100644 --- a/modules/event-grid/topic/.test/common/dependencies.bicep +++ b/modules/event-grid/topic/.test/common/dependencies.bicep @@ -28,7 +28,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/event-grid/topic/.test/pe/dependencies.bicep b/modules/event-grid/topic/.test/pe/dependencies.bicep index 3b3a2bc528..cab98b4015 100644 --- a/modules/event-grid/topic/.test/pe/dependencies.bicep +++ b/modules/event-grid/topic/.test/pe/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/event-grid/topic/README.md b/modules/event-grid/topic/README.md index f6adfeea5f..4710dcd36a 100644 --- a/modules/event-grid/topic/README.md +++ b/modules/event-grid/topic/README.md @@ -409,6 +409,7 @@ module topic './event-grid/topic/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -424,6 +425,7 @@ module topic './event-grid/topic/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -511,6 +513,7 @@ module topic './event-grid/topic/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -530,6 +533,7 @@ module topic './event-grid/topic/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -610,12 +614,14 @@ module topic './event-grid/topic/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -654,6 +660,7 @@ module topic './event-grid/topic/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -662,6 +669,7 @@ module topic './event-grid/topic/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/event-hub/namespace/.test/common/dependencies.bicep b/modules/event-hub/namespace/.test/common/dependencies.bicep index c7365e40bf..6bc7e40df9 100644 --- a/modules/event-hub/namespace/.test/common/dependencies.bicep +++ b/modules/event-hub/namespace/.test/common/dependencies.bicep @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) serviceEndpoints: [ { service: 'Microsoft.EventHub' diff --git a/modules/event-hub/namespace/.test/encr/dependencies.bicep b/modules/event-hub/namespace/.test/encr/dependencies.bicep index 2c83533cb5..0221930b48 100644 --- a/modules/event-hub/namespace/.test/encr/dependencies.bicep +++ b/modules/event-hub/namespace/.test/encr/dependencies.bicep @@ -30,7 +30,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/event-hub/namespace/.test/pe/dependencies.bicep b/modules/event-hub/namespace/.test/pe/dependencies.bicep index fad0edce0d..a1124e6d21 100644 --- a/modules/event-hub/namespace/.test/pe/dependencies.bicep +++ b/modules/event-hub/namespace/.test/pe/dependencies.bicep @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) serviceEndpoints: [ { service: 'Microsoft.EventHub' diff --git a/modules/event-hub/namespace/README.md b/modules/event-hub/namespace/README.md index 7e094550a1..5f014b5f27 100644 --- a/modules/event-hub/namespace/README.md +++ b/modules/event-hub/namespace/README.md @@ -463,6 +463,7 @@ module namespace './event-hub/namespace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -479,6 +480,7 @@ module namespace './event-hub/namespace/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -641,6 +643,7 @@ module namespace './event-hub/namespace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -663,6 +666,7 @@ module namespace './event-hub/namespace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -701,6 +705,7 @@ module namespace './event-hub/namespace/main.bicep' = { systemAssignedIdentity: false tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -754,6 +759,7 @@ module namespace './event-hub/namespace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -839,12 +845,14 @@ module namespace './event-hub/namespace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -883,6 +891,7 @@ module namespace './event-hub/namespace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -891,6 +900,7 @@ module namespace './event-hub/namespace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/health-bot/health-bot/README.md b/modules/health-bot/health-bot/README.md index 35104e82ee..1964a2bea7 100644 --- a/modules/health-bot/health-bot/README.md +++ b/modules/health-bot/health-bot/README.md @@ -219,6 +219,7 @@ module healthBot './health-bot/health-bot/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -268,6 +269,7 @@ module healthBot './health-bot/health-bot/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/healthcare-apis/workspace/README.md b/modules/healthcare-apis/workspace/README.md index cd1fffafdc..813aeb0fe2 100644 --- a/modules/healthcare-apis/workspace/README.md +++ b/modules/healthcare-apis/workspace/README.md @@ -502,6 +502,7 @@ module workspace './healthcare-apis/workspace/main.bicep' = { publicNetworkAccess: 'Enabled' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -614,6 +615,7 @@ module workspace './healthcare-apis/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/insights/action-group/README.md b/modules/insights/action-group/README.md index e1c208b52f..a7a22264ec 100644 --- a/modules/insights/action-group/README.md +++ b/modules/insights/action-group/README.md @@ -288,6 +288,7 @@ module actionGroup './insights/action-group/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -353,6 +354,7 @@ module actionGroup './insights/action-group/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/insights/activity-log-alert/README.md b/modules/insights/activity-log-alert/README.md index c3a757a032..46d8a409c5 100644 --- a/modules/insights/activity-log-alert/README.md +++ b/modules/insights/activity-log-alert/README.md @@ -453,6 +453,7 @@ module activityLogAlert './insights/activity-log-alert/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -521,6 +522,7 @@ module activityLogAlert './insights/activity-log-alert/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/insights/component/README.md b/modules/insights/component/README.md index 48eb8b99af..77b596d5a9 100644 --- a/modules/insights/component/README.md +++ b/modules/insights/component/README.md @@ -202,6 +202,7 @@ module component './insights/component/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -257,6 +258,7 @@ module component './insights/component/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/insights/data-collection-endpoint/README.md b/modules/insights/data-collection-endpoint/README.md index f228a6266f..2ee2e7c77f 100644 --- a/modules/insights/data-collection-endpoint/README.md +++ b/modules/insights/data-collection-endpoint/README.md @@ -186,6 +186,7 @@ module dataCollectionEndpoint './insights/data-collection-endpoint/main.bicep' = } ] tags: { + 'hidden-title': 'This is visible in the resource name' kind: 'Windows' resourceType: 'Data Collection Rules' } @@ -235,6 +236,7 @@ module dataCollectionEndpoint './insights/data-collection-endpoint/main.bicep' = }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "kind": "Windows", "resourceType": "Data Collection Rules" } diff --git a/modules/insights/data-collection-rule/README.md b/modules/insights/data-collection-rule/README.md index 7e8778c23a..99d6c905b3 100644 --- a/modules/insights/data-collection-rule/README.md +++ b/modules/insights/data-collection-rule/README.md @@ -262,6 +262,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { } } tags: { + 'hidden-title': 'This is visible in the resource name' kind: 'Windows' resourceType: 'Data Collection Rules' } @@ -392,6 +393,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "kind": "Windows", "resourceType": "Data Collection Rules" } @@ -485,6 +487,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { } } tags: { + 'hidden-title': 'This is visible in the resource name' kind: 'Windows' resourceType: 'Data Collection Rules' } @@ -599,6 +602,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "kind": "Windows", "resourceType": "Data Collection Rules" } @@ -671,6 +675,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' kind: 'Windows' resourceType: 'Data Collection Rules' } @@ -762,6 +767,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "kind": "Windows", "resourceType": "Data Collection Rules" } @@ -947,6 +953,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' kind: 'Linux' resourceType: 'Data Collection Rules' } @@ -1149,6 +1156,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "kind": "Linux", "resourceType": "Data Collection Rules" } @@ -1419,6 +1427,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' kind: 'Windows' resourceType: 'Data Collection Rules' } @@ -1575,6 +1584,7 @@ module dataCollectionRule './insights/data-collection-rule/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "kind": "Windows", "resourceType": "Data Collection Rules" } diff --git a/modules/insights/metric-alert/README.md b/modules/insights/metric-alert/README.md index d97b8bb205..505b63e93f 100644 --- a/modules/insights/metric-alert/README.md +++ b/modules/insights/metric-alert/README.md @@ -428,6 +428,7 @@ module metricAlert './insights/metric-alert/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } targetResourceRegion: 'westeurope' @@ -492,6 +493,7 @@ module metricAlert './insights/metric-alert/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/insights/private-link-scope/.test/common/dependencies.bicep b/modules/insights/private-link-scope/.test/common/dependencies.bicep index a6a76f7615..c5ef6bef52 100644 --- a/modules/insights/private-link-scope/.test/common/dependencies.bicep +++ b/modules/insights/private-link-scope/.test/common/dependencies.bicep @@ -25,7 +25,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/insights/private-link-scope/README.md b/modules/insights/private-link-scope/README.md index fc7bce7a62..66beb33f99 100644 --- a/modules/insights/private-link-scope/README.md +++ b/modules/insights/private-link-scope/README.md @@ -291,6 +291,7 @@ module privateLinkScope './insights/private-link-scope/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -312,6 +313,7 @@ module privateLinkScope './insights/private-link-scope/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -350,6 +352,7 @@ module privateLinkScope './insights/private-link-scope/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -377,6 +380,7 @@ module privateLinkScope './insights/private-link-scope/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/insights/scheduled-query-rule/README.md b/modules/insights/scheduled-query-rule/README.md index aeabdb47ca..c0342e5576 100644 --- a/modules/insights/scheduled-query-rule/README.md +++ b/modules/insights/scheduled-query-rule/README.md @@ -229,6 +229,7 @@ module scheduledQueryRule './insights/scheduled-query-rule/main.bicep' = { suppressForMinutes: 'PT5M' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } windowSize: 'PT5M' @@ -319,6 +320,7 @@ module scheduledQueryRule './insights/scheduled-query-rule/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/insights/webtest/README.md b/modules/insights/webtest/README.md index 4be482bd57..ad8243714e 100644 --- a/modules/insights/webtest/README.md +++ b/modules/insights/webtest/README.md @@ -187,6 +187,7 @@ module webtest './insights/webtest/main.bicep' = { } tags: { 'hidden-link:${nestedDependencies.outputs.appInsightResourceId}': 'Resource' + 'hidden-title': 'This is visible in the resource name' } webTestName: 'wt$iwtcom001' // Non-required parameters @@ -226,7 +227,8 @@ module webtest './insights/webtest/main.bicep' = { }, "tags": { "value": { - "hidden-link:${nestedDependencies.outputs.appInsightResourceId}": "Resource" + "hidden-link:${nestedDependencies.outputs.appInsightResourceId}": "Resource", + "hidden-title": "This is visible in the resource name" } }, "webTestName": { @@ -274,6 +276,7 @@ module webtest './insights/webtest/main.bicep' = { } tags: { 'hidden-link:${nestedDependencies.outputs.appInsightResourceId}': 'Resource' + 'hidden-title': 'This is visible in the resource name' } webTestName: 'wt$iwtmin001' // Non-required parameters @@ -306,7 +309,8 @@ module webtest './insights/webtest/main.bicep' = { }, "tags": { "value": { - "hidden-link:${nestedDependencies.outputs.appInsightResourceId}": "Resource" + "hidden-link:${nestedDependencies.outputs.appInsightResourceId}": "Resource", + "hidden-title": "This is visible in the resource name" } }, "webTestName": { diff --git a/modules/key-vault/vault/README.md b/modules/key-vault/vault/README.md index d1bd7943f2..dd7ed9eca4 100644 --- a/modules/key-vault/vault/README.md +++ b/modules/key-vault/vault/README.md @@ -515,6 +515,7 @@ module vault './key-vault/vault/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -551,6 +552,7 @@ module vault './key-vault/vault/main.bicep' = { softDeleteRetentionInDays: 7 tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -697,6 +699,7 @@ module vault './key-vault/vault/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -741,6 +744,7 @@ module vault './key-vault/vault/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -826,12 +830,14 @@ module vault './key-vault/vault/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -873,6 +879,7 @@ module vault './key-vault/vault/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -881,6 +888,7 @@ module vault './key-vault/vault/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/logic/workflow/README.md b/modules/logic/workflow/README.md index 029e1d3ef8..8b84f01653 100644 --- a/modules/logic/workflow/README.md +++ b/modules/logic/workflow/README.md @@ -353,6 +353,7 @@ module workflow './logic/workflow/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -442,6 +443,7 @@ module workflow './logic/workflow/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/machine-learning-services/workspace/.test/common/dependencies.bicep b/modules/machine-learning-services/workspace/.test/common/dependencies.bicep index bfbf61767d..56707ccd4b 100644 --- a/modules/machine-learning-services/workspace/.test/common/dependencies.bicep +++ b/modules/machine-learning-services/workspace/.test/common/dependencies.bicep @@ -31,7 +31,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/machine-learning-services/workspace/.test/encr/dependencies.bicep b/modules/machine-learning-services/workspace/.test/encr/dependencies.bicep index f0bbffab09..9f5b20c185 100644 --- a/modules/machine-learning-services/workspace/.test/encr/dependencies.bicep +++ b/modules/machine-learning-services/workspace/.test/encr/dependencies.bicep @@ -33,7 +33,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/machine-learning-services/workspace/README.md b/modules/machine-learning-services/workspace/README.md index b25795e5be..97b9351d56 100644 --- a/modules/machine-learning-services/workspace/README.md +++ b/modules/machine-learning-services/workspace/README.md @@ -505,6 +505,7 @@ module workspace './machine-learning-services/workspace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -521,6 +522,7 @@ module workspace './machine-learning-services/workspace/main.bicep' = { systemAssignedIdentity: false tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -631,6 +633,7 @@ module workspace './machine-learning-services/workspace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -653,6 +656,7 @@ module workspace './machine-learning-services/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -701,6 +705,7 @@ module workspace './machine-learning-services/workspace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -708,6 +713,7 @@ module workspace './machine-learning-services/workspace/main.bicep' = { systemAssignedIdentity: false tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -773,6 +779,7 @@ module workspace './machine-learning-services/workspace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -784,6 +791,7 @@ module workspace './machine-learning-services/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/maintenance/maintenance-configuration/README.md b/modules/maintenance/maintenance-configuration/README.md index 91066c75d6..6f3d3e29ef 100644 --- a/modules/maintenance/maintenance-configuration/README.md +++ b/modules/maintenance/maintenance-configuration/README.md @@ -233,6 +233,7 @@ module maintenanceConfiguration './maintenance/maintenance-configuration/main.bi ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } visibility: 'Custom' @@ -292,6 +293,7 @@ module maintenanceConfiguration './maintenance/maintenance-configuration/main.bi "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/managed-identity/user-assigned-identity/README.md b/modules/managed-identity/user-assigned-identity/README.md index bbeaa81dcb..474c8be369 100644 --- a/modules/managed-identity/user-assigned-identity/README.md +++ b/modules/managed-identity/user-assigned-identity/README.md @@ -178,6 +178,7 @@ module userAssignedIdentity './managed-identity/user-assigned-identity/main.bice ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -219,6 +220,7 @@ module userAssignedIdentity './managed-identity/user-assigned-identity/main.bice "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/net-app/net-app-account/.test/nfs3/dependencies.bicep b/modules/net-app/net-app-account/.test/nfs3/dependencies.bicep index 105ee6f541..71e1d77e16 100644 --- a/modules/net-app/net-app-account/.test/nfs3/dependencies.bicep +++ b/modules/net-app/net-app-account/.test/nfs3/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) delegations: [ { name: 'netappDel' diff --git a/modules/net-app/net-app-account/.test/nfs41/dependencies.bicep b/modules/net-app/net-app-account/.test/nfs41/dependencies.bicep index 26b4c80d20..d0c6383547 100644 --- a/modules/net-app/net-app-account/.test/nfs41/dependencies.bicep +++ b/modules/net-app/net-app-account/.test/nfs41/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) delegations: [ { name: 'netappDel' diff --git a/modules/net-app/net-app-account/README.md b/modules/net-app/net-app-account/README.md index 28fb3f81fb..9afcdf63b6 100644 --- a/modules/net-app/net-app-account/README.md +++ b/modules/net-app/net-app-account/README.md @@ -341,6 +341,7 @@ module netAppAccount './net-app/net-app-account/main.bicep' = { Contact: 'test.user@testcompany.com' CostCenter: '7890' Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' PurchaseOrder: '1234' Role: 'DeploymentValidation' ServiceName: 'DeploymentValidation' @@ -458,6 +459,7 @@ module netAppAccount './net-app/net-app-account/main.bicep' = { "Contact": "test.user@testcompany.com", "CostCenter": "7890", "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "PurchaseOrder": "1234", "Role": "DeploymentValidation", "ServiceName": "DeploymentValidation" @@ -575,6 +577,7 @@ module netAppAccount './net-app/net-app-account/main.bicep' = { Contact: 'test.user@testcompany.com' CostCenter: '7890' Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' PurchaseOrder: '1234' Role: 'DeploymentValidation' ServiceName: 'DeploymentValidation' @@ -702,6 +705,7 @@ module netAppAccount './net-app/net-app-account/main.bicep' = { "Contact": "test.user@testcompany.com", "CostCenter": "7890", "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "PurchaseOrder": "1234", "Role": "DeploymentValidation", "ServiceName": "DeploymentValidation" diff --git a/modules/network/application-gateway-web-application-firewall-policy/README.md b/modules/network/application-gateway-web-application-firewall-policy/README.md index 55f4aef906..c2888af3b8 100644 --- a/modules/network/application-gateway-web-application-firewall-policy/README.md +++ b/modules/network/application-gateway-web-application-firewall-policy/README.md @@ -132,6 +132,7 @@ module applicationGatewayWebApplicationFirewallPolicy './network/application-gat } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -184,6 +185,7 @@ module applicationGatewayWebApplicationFirewallPolicy './network/application-gat "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/application-gateway/.test/common/dependencies.bicep b/modules/network/application-gateway/.test/common/dependencies.bicep index b0475399b4..d3584f9d3f 100644 --- a/modules/network/application-gateway/.test/common/dependencies.bicep +++ b/modules/network/application-gateway/.test/common/dependencies.bicep @@ -31,7 +31,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/application-gateway/README.md b/modules/network/application-gateway/README.md index 1030c5792e..64c4152cd0 100644 --- a/modules/network/application-gateway/README.md +++ b/modules/network/application-gateway/README.md @@ -589,6 +589,7 @@ module applicationGateway './network/application-gateway/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -1023,6 +1024,7 @@ module applicationGateway './network/application-gateway/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/application-security-group/README.md b/modules/network/application-security-group/README.md index b9e9571422..5bbabf47d1 100644 --- a/modules/network/application-security-group/README.md +++ b/modules/network/application-security-group/README.md @@ -183,6 +183,7 @@ module applicationSecurityGroup './network/application-security-group/main.bicep ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -226,6 +227,7 @@ module applicationSecurityGroup './network/application-security-group/main.bicep "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/azure-firewall/.test/addpip/dependencies.bicep b/modules/network/azure-firewall/.test/addpip/dependencies.bicep index 4992dd4893..cf2cb1747a 100644 --- a/modules/network/azure-firewall/.test/addpip/dependencies.bicep +++ b/modules/network/azure-firewall/.test/addpip/dependencies.bicep @@ -11,8 +11,6 @@ param publicIPName string param managedIdentityName string var addressPrefix = '10.0.0.0/16' -var addressPrefixDefaultSubnet = '10.0.0.0/20' -var addressPrefixManagementSubnet = '10.0.16.0/20' resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: virtualNetworkName @@ -27,13 +25,13 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'AzureFirewallSubnet' properties: { - addressPrefix: addressPrefixDefaultSubnet + addressPrefix: cidrSubnet(addressPrefix, 20, 0) } } { name: 'AzureFirewallManagementSubnet' properties: { - addressPrefix: addressPrefixManagementSubnet + addressPrefix: cidrSubnet(addressPrefix, 20, 1) } } ] diff --git a/modules/network/azure-firewall/.test/common/dependencies.bicep b/modules/network/azure-firewall/.test/common/dependencies.bicep index c40eb887b4..de9bfec4ea 100644 --- a/modules/network/azure-firewall/.test/common/dependencies.bicep +++ b/modules/network/azure-firewall/.test/common/dependencies.bicep @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'AzureFirewallSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/azure-firewall/.test/custompip/dependencies.bicep b/modules/network/azure-firewall/.test/custompip/dependencies.bicep index 231d6590bb..5d14b0b91c 100644 --- a/modules/network/azure-firewall/.test/custompip/dependencies.bicep +++ b/modules/network/azure-firewall/.test/custompip/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'AzureFirewallSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/azure-firewall/.test/min/dependencies.bicep b/modules/network/azure-firewall/.test/min/dependencies.bicep index 7e9226ea5d..4d1cd2e6aa 100644 --- a/modules/network/azure-firewall/.test/min/dependencies.bicep +++ b/modules/network/azure-firewall/.test/min/dependencies.bicep @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'AzureFirewallSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/azure-firewall/README.md b/modules/network/azure-firewall/README.md index f5cca12eaf..76a8aec9bb 100644 --- a/modules/network/azure-firewall/README.md +++ b/modules/network/azure-firewall/README.md @@ -357,6 +357,7 @@ module azureFirewall './network/azure-firewall/main.bicep' = { } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } vNetId: '' @@ -412,6 +413,7 @@ module azureFirewall './network/azure-firewall/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -537,6 +539,7 @@ module azureFirewall './network/azure-firewall/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } vNetId: '' @@ -686,6 +689,7 @@ module azureFirewall './network/azure-firewall/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -746,6 +750,7 @@ module azureFirewall './network/azure-firewall/main.bicep' = { } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } vNetId: '' @@ -802,6 +807,7 @@ module azureFirewall './network/azure-firewall/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -837,6 +843,7 @@ module azureFirewall './network/azure-firewall/main.bicep' = { } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } virtualHubId: '' @@ -877,6 +884,7 @@ module azureFirewall './network/azure-firewall/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/bastion-host/.test/common/dependencies.bicep b/modules/network/bastion-host/.test/common/dependencies.bicep index e0e57e9cde..c25af5e3e7 100644 --- a/modules/network/bastion-host/.test/common/dependencies.bicep +++ b/modules/network/bastion-host/.test/common/dependencies.bicep @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'AzureBastionSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/bastion-host/.test/custompip/dependencies.bicep b/modules/network/bastion-host/.test/custompip/dependencies.bicep index c3818c972a..efadbb5134 100644 --- a/modules/network/bastion-host/.test/custompip/dependencies.bicep +++ b/modules/network/bastion-host/.test/custompip/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'AzureBastionSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/bastion-host/.test/min/dependencies.bicep b/modules/network/bastion-host/.test/min/dependencies.bicep index 7bac5f6ba2..40255471c0 100644 --- a/modules/network/bastion-host/.test/min/dependencies.bicep +++ b/modules/network/bastion-host/.test/min/dependencies.bicep @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'AzureBastionSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/bastion-host/README.md b/modules/network/bastion-host/README.md index bdc13666af..cc6dba8d46 100644 --- a/modules/network/bastion-host/README.md +++ b/modules/network/bastion-host/README.md @@ -340,6 +340,7 @@ module bastionHost './network/bastion-host/main.bicep' = { skuName: 'Standard' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -419,6 +420,7 @@ module bastionHost './network/bastion-host/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -470,6 +472,7 @@ module bastionHost './network/bastion-host/main.bicep' = { } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -528,6 +531,7 @@ module bastionHost './network/bastion-host/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/connection/README.md b/modules/network/connection/README.md index f580c1c56c..efd17bed60 100644 --- a/modules/network/connection/README.md +++ b/modules/network/connection/README.md @@ -345,6 +345,7 @@ module connection './network/connection/main.bicep' = { lock: 'CanNotDelete' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } virtualNetworkGateway2: { @@ -392,6 +393,7 @@ module connection './network/connection/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/ddos-protection-plan/README.md b/modules/network/ddos-protection-plan/README.md index 61f85a11ce..1a88aaec59 100644 --- a/modules/network/ddos-protection-plan/README.md +++ b/modules/network/ddos-protection-plan/README.md @@ -183,6 +183,7 @@ module ddosProtectionPlan './network/ddos-protection-plan/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -226,6 +227,7 @@ module ddosProtectionPlan './network/ddos-protection-plan/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/dns-forwarding-ruleset/.test/common/dependencies.bicep b/modules/network/dns-forwarding-ruleset/.test/common/dependencies.bicep index 59defd424f..d1fb3445ee 100644 --- a/modules/network/dns-forwarding-ruleset/.test/common/dependencies.bicep +++ b/modules/network/dns-forwarding-ruleset/.test/common/dependencies.bicep @@ -11,8 +11,6 @@ param location string = resourceGroup().location param managedIdentityName string var addressPrefix = '10.0.0.0/16' -var pdnsinSnetAddressPrefix = '10.0.100.0/25' -var pdnsoutSnetAddressPrefix = '10.0.100.128/25' resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: virtualNetworkName @@ -23,11 +21,10 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { addressPrefix ] } - subnets: [ - { - name: 'pdnsin' + subnets: map(range(0, 2), i => { + name: 'subnet-${i}' properties: { - addressPrefix: pdnsinSnetAddressPrefix + addressPrefix: cidrSubnet(addressPrefix, 25, i) delegations: [ { name: 'dnsdel' @@ -37,22 +34,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { } ] } - } - { - name: 'pdnsout' - properties: { - addressPrefix: pdnsoutSnetAddressPrefix - delegations: [ - { - name: 'dnsdel' - properties: { - serviceName: 'Microsoft.Network/dnsResolvers' - } - } - ] - } - } - ] + }) } } diff --git a/modules/network/dns-forwarding-ruleset/.test/min/dependencies.bicep b/modules/network/dns-forwarding-ruleset/.test/min/dependencies.bicep index 46306c367c..41fbb37c7e 100644 --- a/modules/network/dns-forwarding-ruleset/.test/min/dependencies.bicep +++ b/modules/network/dns-forwarding-ruleset/.test/min/dependencies.bicep @@ -7,34 +7,21 @@ param dnsResolverName string @description('Optional. The location to deploy resources to.') param location string = resourceGroup().location +var addressPrefix = '10.0.0.0/16' + resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: virtualNetworkName location: location properties: { addressSpace: { addressPrefixes: [ - '10.10.100.0/24' + addressPrefix ] } - subnets: [ - { - name: 'pdnsin' - properties: { - addressPrefix: '10.10.100.0/25' - delegations: [ - { - name: 'dnsdel' - properties: { - serviceName: 'Microsoft.Network/dnsResolvers' - } - } - ] - } - } - { - name: 'pdnsout' + subnets: map(range(0, 2), i => { + name: 'subnet-${i}' properties: { - addressPrefix: '10.10.100.128/25' + addressPrefix: cidrSubnet(addressPrefix, 25, i) delegations: [ { name: 'dnsdel' @@ -44,8 +31,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { } ] } - } - ] + }) } } @@ -56,7 +42,6 @@ resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = { virtualNetwork: { id: virtualNetwork.id } - } } diff --git a/modules/network/dns-forwarding-ruleset/README.md b/modules/network/dns-forwarding-ruleset/README.md index 7693b11e53..6d72792bbe 100644 --- a/modules/network/dns-forwarding-ruleset/README.md +++ b/modules/network/dns-forwarding-ruleset/README.md @@ -204,6 +204,7 @@ module dnsForwardingRuleset './network/dns-forwarding-ruleset/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } vNetLinks: [ @@ -270,6 +271,7 @@ module dnsForwardingRuleset './network/dns-forwarding-ruleset/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/dns-resolver/.test/common/dependencies.bicep b/modules/network/dns-resolver/.test/common/dependencies.bicep index 55f6162462..7a174f0fc2 100644 --- a/modules/network/dns-resolver/.test/common/dependencies.bicep +++ b/modules/network/dns-resolver/.test/common/dependencies.bicep @@ -4,34 +4,21 @@ param virtualNetworkName string @description('Optional. The location to deploy resources to.') param location string = resourceGroup().location +var addressPrefix = '10.0.0.0/16' + resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: virtualNetworkName location: location properties: { addressSpace: { addressPrefixes: [ - '10.10.100.0/24' + addressPrefix ] } - subnets: [ - { - name: 'pdnsin' - properties: { - addressPrefix: '10.10.100.0/25' - delegations: [ - { - name: 'dnsdel' - properties: { - serviceName: 'Microsoft.Network/dnsResolvers' - } - } - ] - } - } - { - name: 'pdnsout' + subnets: map(range(0, 2), i => { + name: 'subnet-${i}' properties: { - addressPrefix: '10.10.100.128/25' + addressPrefix: cidrSubnet(addressPrefix, 25, i) delegations: [ { name: 'dnsdel' @@ -41,8 +28,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { } ] } - } - ] + }) } } diff --git a/modules/network/dns-resolver/README.md b/modules/network/dns-resolver/README.md index da3bdaf6a1..183db3d0ee 100644 --- a/modules/network/dns-resolver/README.md +++ b/modules/network/dns-resolver/README.md @@ -273,6 +273,7 @@ module dnsResolver './network/dns-resolver/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -321,6 +322,7 @@ module dnsResolver './network/dns-resolver/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/dns-zone/README.md b/modules/network/dns-zone/README.md index 05e4e095cb..c8ce60021e 100644 --- a/modules/network/dns-zone/README.md +++ b/modules/network/dns-zone/README.md @@ -344,6 +344,7 @@ module dnsZone './network/dns-zone/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } txt: [ @@ -564,6 +565,7 @@ module dnsZone './network/dns-zone/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/express-route-circuit/README.md b/modules/network/express-route-circuit/README.md index a37c149790..cdf0893e28 100644 --- a/modules/network/express-route-circuit/README.md +++ b/modules/network/express-route-circuit/README.md @@ -218,6 +218,7 @@ module expressRouteCircuit './network/express-route-circuit/main.bicep' = { skuTier: 'Standard' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -291,6 +292,7 @@ module expressRouteCircuit './network/express-route-circuit/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/express-route-gateway/README.md b/modules/network/express-route-gateway/README.md index b548883a79..f1dcb31a8d 100644 --- a/modules/network/express-route-gateway/README.md +++ b/modules/network/express-route-gateway/README.md @@ -210,6 +210,7 @@ module expressRouteGateway './network/express-route-gateway/main.bicep' = { enableDefaultTelemetry: '' tags: { hello: 'world' + 'hidden-title': 'This is visible in the resource name' } } } @@ -246,7 +247,8 @@ module expressRouteGateway './network/express-route-gateway/main.bicep' = { }, "tags": { "value": { - "hello": "world" + "hello": "world", + "hidden-title": "This is visible in the resource name" } } } diff --git a/modules/network/firewall-policy/README.md b/modules/network/firewall-policy/README.md index 0147564584..21269645d2 100644 --- a/modules/network/firewall-policy/README.md +++ b/modules/network/firewall-policy/README.md @@ -205,6 +205,7 @@ module firewallPolicy './network/firewall-policy/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -280,6 +281,7 @@ module firewallPolicy './network/firewall-policy/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/front-door-web-application-firewall-policy/README.md b/modules/network/front-door-web-application-firewall-policy/README.md index 60803d7885..2b7e1b8d81 100644 --- a/modules/network/front-door-web-application-firewall-policy/README.md +++ b/modules/network/front-door-web-application-firewall-policy/README.md @@ -250,6 +250,7 @@ module frontDoorWebApplicationFirewallPolicy './network/front-door-web-applicati sku: 'Premium_AzureFrontDoor' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -364,6 +365,7 @@ module frontDoorWebApplicationFirewallPolicy './network/front-door-web-applicati "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/front-door/README.md b/modules/network/front-door/README.md index 7708e8c589..90dfa5731d 100644 --- a/modules/network/front-door/README.md +++ b/modules/network/front-door/README.md @@ -287,6 +287,7 @@ module frontDoor './network/front-door/main.bicep' = { sendRecvTimeoutSeconds: 10 tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -433,6 +434,7 @@ module frontDoor './network/front-door/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/ip-group/README.md b/modules/network/ip-group/README.md index fcd18f33c1..74704e8132 100644 --- a/modules/network/ip-group/README.md +++ b/modules/network/ip-group/README.md @@ -188,6 +188,7 @@ module ipGroup './network/ip-group/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -237,6 +238,7 @@ module ipGroup './network/ip-group/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/load-balancer/.test/internal/dependencies.bicep b/modules/network/load-balancer/.test/internal/dependencies.bicep index 6e3ab14105..152b6bd1bb 100644 --- a/modules/network/load-balancer/.test/internal/dependencies.bicep +++ b/modules/network/load-balancer/.test/internal/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/load-balancer/README.md b/modules/network/load-balancer/README.md index 08ec47fbae..0f720fc744 100644 --- a/modules/network/load-balancer/README.md +++ b/modules/network/load-balancer/README.md @@ -580,6 +580,7 @@ module loadBalancer './network/load-balancer/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -727,6 +728,7 @@ module loadBalancer './network/load-balancer/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -821,6 +823,7 @@ module loadBalancer './network/load-balancer/main.bicep' = { skuName: 'Standard' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -940,6 +943,7 @@ module loadBalancer './network/load-balancer/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/local-network-gateway/README.md b/modules/network/local-network-gateway/README.md index 6c4412d68e..0b3677e963 100644 --- a/modules/network/local-network-gateway/README.md +++ b/modules/network/local-network-gateway/README.md @@ -195,6 +195,7 @@ module localNetworkGateway './network/local-network-gateway/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -252,6 +253,7 @@ module localNetworkGateway './network/local-network-gateway/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/nat-gateway/README.md b/modules/network/nat-gateway/README.md index 5f45329dc9..79c5d19990 100644 --- a/modules/network/nat-gateway/README.md +++ b/modules/network/nat-gateway/README.md @@ -209,6 +209,7 @@ module natGateway './network/nat-gateway/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -267,6 +268,7 @@ module natGateway './network/nat-gateway/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/network-interface/.test/common/dependencies.bicep b/modules/network/network-interface/.test/common/dependencies.bicep index 9cd1f6840e..5d0b188039 100644 --- a/modules/network/network-interface/.test/common/dependencies.bicep +++ b/modules/network/network-interface/.test/common/dependencies.bicep @@ -28,7 +28,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/network-interface/.test/min/dependencies.bicep b/modules/network/network-interface/.test/min/dependencies.bicep index b81c96bf15..01c58b3ca3 100644 --- a/modules/network/network-interface/.test/min/dependencies.bicep +++ b/modules/network/network-interface/.test/min/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/network-interface/README.md b/modules/network/network-interface/README.md index 3ad755e48e..24748b8d68 100644 --- a/modules/network/network-interface/README.md +++ b/modules/network/network-interface/README.md @@ -247,6 +247,7 @@ module networkInterface './network/network-interface/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -328,6 +329,7 @@ module networkInterface './network/network-interface/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/network-manager/README.md b/modules/network/network-manager/README.md index f55f05c7d9..ff90c8fbf9 100644 --- a/modules/network/network-manager/README.md +++ b/modules/network/network-manager/README.md @@ -744,6 +744,7 @@ module networkManager './network/network-manager/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -975,6 +976,7 @@ module networkManager './network/network-manager/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/network-security-group/README.md b/modules/network/network-security-group/README.md index 7e79e84023..ef735d9bf3 100644 --- a/modules/network/network-security-group/README.md +++ b/modules/network/network-security-group/README.md @@ -261,6 +261,7 @@ module networkSecurityGroup './network/network-security-group/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -382,6 +383,7 @@ module networkSecurityGroup './network/network-security-group/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/network-watcher/.test/common/dependencies.bicep b/modules/network/network-watcher/.test/common/dependencies.bicep index ad8b34b848..367c938fb9 100644 --- a/modules/network/network-watcher/.test/common/dependencies.bicep +++ b/modules/network/network-watcher/.test/common/dependencies.bicep @@ -35,7 +35,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/network-watcher/README.md b/modules/network/network-watcher/README.md index a0c345ab40..f6f07d744e 100644 --- a/modules/network/network-watcher/README.md +++ b/modules/network/network-watcher/README.md @@ -249,6 +249,7 @@ module networkWatcher './network/network-watcher/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -363,6 +364,7 @@ module networkWatcher './network/network-watcher/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/private-dns-zone/.test/common/dependencies.bicep b/modules/network/private-dns-zone/.test/common/dependencies.bicep index 6a414d2247..d21b9dbc0e 100644 --- a/modules/network/private-dns-zone/.test/common/dependencies.bicep +++ b/modules/network/private-dns-zone/.test/common/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/private-dns-zone/README.md b/modules/network/private-dns-zone/README.md index 4dc4d17fae..c3c0c2f400 100644 --- a/modules/network/private-dns-zone/README.md +++ b/modules/network/private-dns-zone/README.md @@ -338,6 +338,7 @@ module privateDnsZone './network/private-dns-zone/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } txt: [ @@ -560,6 +561,7 @@ module privateDnsZone './network/private-dns-zone/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/private-endpoint/.test/common/dependencies.bicep b/modules/network/private-endpoint/.test/common/dependencies.bicep index 2ce877b015..31ea185eec 100644 --- a/modules/network/private-endpoint/.test/common/dependencies.bicep +++ b/modules/network/private-endpoint/.test/common/dependencies.bicep @@ -28,7 +28,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/private-endpoint/.test/min/dependencies.bicep b/modules/network/private-endpoint/.test/min/dependencies.bicep index 536bf16704..60844ee2a8 100644 --- a/modules/network/private-endpoint/.test/min/dependencies.bicep +++ b/modules/network/private-endpoint/.test/min/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/private-endpoint/README.md b/modules/network/private-endpoint/README.md index 1480d9ba84..585231b095 100644 --- a/modules/network/private-endpoint/README.md +++ b/modules/network/private-endpoint/README.md @@ -342,6 +342,7 @@ module privateEndpoint './network/private-endpoint/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -425,6 +426,7 @@ module privateEndpoint './network/private-endpoint/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/private-link-service/.test/common/dependencies.bicep b/modules/network/private-link-service/.test/common/dependencies.bicep index 1b1935e899..1031dd4830 100644 --- a/modules/network/private-link-service/.test/common/dependencies.bicep +++ b/modules/network/private-link-service/.test/common/dependencies.bicep @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) privateLinkServiceNetworkPolicies: 'Disabled' } } diff --git a/modules/network/private-link-service/.test/min/dependencies.bicep b/modules/network/private-link-service/.test/min/dependencies.bicep index 56367307a9..cecd1df763 100644 --- a/modules/network/private-link-service/.test/min/dependencies.bicep +++ b/modules/network/private-link-service/.test/min/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) privateLinkServiceNetworkPolicies: 'Disabled' } } diff --git a/modules/network/private-link-service/README.md b/modules/network/private-link-service/README.md index e61e7b4ec3..9709de3864 100644 --- a/modules/network/private-link-service/README.md +++ b/modules/network/private-link-service/README.md @@ -485,6 +485,7 @@ module privateLinkService './network/private-link-service/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } visibility: { @@ -569,6 +570,7 @@ module privateLinkService './network/private-link-service/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/public-ip-address/README.md b/modules/network/public-ip-address/README.md index abd33c1bba..b3227462af 100644 --- a/modules/network/public-ip-address/README.md +++ b/modules/network/public-ip-address/README.md @@ -208,6 +208,7 @@ module publicIpAddress './network/public-ip-address/main.bicep' = { skuName: 'Standard' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } zones: [ @@ -274,6 +275,7 @@ module publicIpAddress './network/public-ip-address/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/public-ip-prefix/README.md b/modules/network/public-ip-prefix/README.md index 931296e9d4..df1d3f6b4d 100644 --- a/modules/network/public-ip-prefix/README.md +++ b/modules/network/public-ip-prefix/README.md @@ -186,6 +186,7 @@ module publicIpPrefix './network/public-ip-prefix/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -232,6 +233,7 @@ module publicIpPrefix './network/public-ip-prefix/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/route-table/README.md b/modules/network/route-table/README.md index dd28168401..0d634f3add 100644 --- a/modules/network/route-table/README.md +++ b/modules/network/route-table/README.md @@ -284,6 +284,7 @@ module routeTable './network/route-table/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -339,6 +340,7 @@ module routeTable './network/route-table/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/service-endpoint-policy/README.md b/modules/network/service-endpoint-policy/README.md index d70eea19a0..4f4efd992a 100644 --- a/modules/network/service-endpoint-policy/README.md +++ b/modules/network/service-endpoint-policy/README.md @@ -199,6 +199,7 @@ module serviceEndpointPolicy './network/service-endpoint-policy/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -257,6 +258,7 @@ module serviceEndpointPolicy './network/service-endpoint-policy/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/trafficmanagerprofile/README.md b/modules/network/trafficmanagerprofile/README.md index 5726c8c35f..3511923eee 100644 --- a/modules/network/trafficmanagerprofile/README.md +++ b/modules/network/trafficmanagerprofile/README.md @@ -292,6 +292,7 @@ module trafficmanagerprofile './network/trafficmanagerprofile/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -350,6 +351,7 @@ module trafficmanagerprofile './network/trafficmanagerprofile/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/virtual-hub/.test/common/dependencies.bicep b/modules/network/virtual-hub/.test/common/dependencies.bicep index e8d9b0d404..9c4af5313d 100644 --- a/modules/network/virtual-hub/.test/common/dependencies.bicep +++ b/modules/network/virtual-hub/.test/common/dependencies.bicep @@ -28,7 +28,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/virtual-hub/README.md b/modules/network/virtual-hub/README.md index 274ce7240b..8de50dc12d 100644 --- a/modules/network/virtual-hub/README.md +++ b/modules/network/virtual-hub/README.md @@ -160,6 +160,7 @@ module virtualHub './network/virtual-hub/main.bicep' = { lock: 'CanNotDelete' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -228,6 +229,7 @@ module virtualHub './network/virtual-hub/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/virtual-network-gateway/.test/aadvpn/dependencies.bicep b/modules/network/virtual-network-gateway/.test/aadvpn/dependencies.bicep index 514b611718..9fcc9d5821 100644 --- a/modules/network/virtual-network-gateway/.test/aadvpn/dependencies.bicep +++ b/modules/network/virtual-network-gateway/.test/aadvpn/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'GatewaySubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/virtual-network-gateway/.test/expressRoute/dependencies.bicep b/modules/network/virtual-network-gateway/.test/expressRoute/dependencies.bicep index 514b611718..9fcc9d5821 100644 --- a/modules/network/virtual-network-gateway/.test/expressRoute/dependencies.bicep +++ b/modules/network/virtual-network-gateway/.test/expressRoute/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'GatewaySubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/virtual-network-gateway/.test/vpn/dependencies.bicep b/modules/network/virtual-network-gateway/.test/vpn/dependencies.bicep index f3028cc281..ab4fdf887a 100644 --- a/modules/network/virtual-network-gateway/.test/vpn/dependencies.bicep +++ b/modules/network/virtual-network-gateway/.test/vpn/dependencies.bicep @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'GatewaySubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/virtual-network-gateway/README.md b/modules/network/virtual-network-gateway/README.md index 1aebcbb3a5..49961d2a3f 100644 --- a/modules/network/virtual-network-gateway/README.md +++ b/modules/network/virtual-network-gateway/README.md @@ -306,6 +306,7 @@ module virtualNetworkGateway './network/virtual-network-gateway/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } vpnClientAadConfiguration: { @@ -395,6 +396,7 @@ module virtualNetworkGateway './network/virtual-network-gateway/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -458,6 +460,7 @@ module virtualNetworkGateway './network/virtual-network-gateway/main.bicep' = { Contact: 'test.user@testcompany.com' CostCenter: '' Environment: 'Validation' + 'hidden-title': 'This is visible in the resource name' PurchaseOrder: '' Role: 'DeploymentValidation' ServiceName: 'DeploymentValidation' @@ -530,6 +533,7 @@ module virtualNetworkGateway './network/virtual-network-gateway/main.bicep' = { "Contact": "test.user@testcompany.com", "CostCenter": "", "Environment": "Validation", + "hidden-title": "This is visible in the resource name", "PurchaseOrder": "", "Role": "DeploymentValidation", "ServiceName": "DeploymentValidation" @@ -620,6 +624,7 @@ module virtualNetworkGateway './network/virtual-network-gateway/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } vpnGatewayGeneration: 'Generation2' @@ -749,6 +754,7 @@ module virtualNetworkGateway './network/virtual-network-gateway/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/virtual-network/.test/vnetPeering/dependencies.bicep b/modules/network/virtual-network/.test/vnetPeering/dependencies.bicep index 6cba4515d9..a5459a6513 100644 --- a/modules/network/virtual-network/.test/vnetPeering/dependencies.bicep +++ b/modules/network/virtual-network/.test/vnetPeering/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/network/virtual-network/README.md b/modules/network/virtual-network/README.md index 4e7cc4be91..a27134f52d 100644 --- a/modules/network/virtual-network/README.md +++ b/modules/network/virtual-network/README.md @@ -448,6 +448,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -566,6 +567,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -667,6 +669,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -724,6 +727,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/network/virtual-wan/README.md b/modules/network/virtual-wan/README.md index fb9f0f54a9..053e5982aa 100644 --- a/modules/network/virtual-wan/README.md +++ b/modules/network/virtual-wan/README.md @@ -190,6 +190,7 @@ module virtualWan './network/virtual-wan/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } type: 'Basic' @@ -243,6 +244,7 @@ module virtualWan './network/virtual-wan/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/vpn-gateway/README.md b/modules/network/vpn-gateway/README.md index faa6358fac..283bbfe3cd 100644 --- a/modules/network/vpn-gateway/README.md +++ b/modules/network/vpn-gateway/README.md @@ -221,6 +221,7 @@ module vpnGateway './network/vpn-gateway/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } vpnConnections: [ @@ -295,6 +296,7 @@ module vpnGateway './network/vpn-gateway/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/network/vpn-site/README.md b/modules/network/vpn-site/README.md index 7ee7fcbca5..36cd83eb33 100644 --- a/modules/network/vpn-site/README.md +++ b/modules/network/vpn-site/README.md @@ -371,6 +371,7 @@ module vpnSite './network/vpn-site/main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' tagA: 'valueA' tagB: 'valueB' } @@ -461,6 +462,7 @@ module vpnSite './network/vpn-site/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "tagA": "valueA", "tagB": "valueB" } diff --git a/modules/operational-insights/workspace/README.md b/modules/operational-insights/workspace/README.md index 3c9127b79a..6cd0579758 100644 --- a/modules/operational-insights/workspace/README.md +++ b/modules/operational-insights/workspace/README.md @@ -734,6 +734,7 @@ module workspace './operational-insights/workspace/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -1013,6 +1014,7 @@ module workspace './operational-insights/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -1193,6 +1195,7 @@ module workspace './operational-insights/workspace/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } useResourcePermissions: true @@ -1401,6 +1404,7 @@ module workspace './operational-insights/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/power-bi-dedicated/capacity/README.md b/modules/power-bi-dedicated/capacity/README.md index 6545afbebe..5c6d290f44 100644 --- a/modules/power-bi-dedicated/capacity/README.md +++ b/modules/power-bi-dedicated/capacity/README.md @@ -192,6 +192,7 @@ module capacity './power-bi-dedicated/capacity/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -243,6 +244,7 @@ module capacity './power-bi-dedicated/capacity/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/purview/account/.test/common/dependencies.bicep b/modules/purview/account/.test/common/dependencies.bicep index 669c8c9d7f..1edeb81930 100644 --- a/modules/purview/account/.test/common/dependencies.bicep +++ b/modules/purview/account/.test/common/dependencies.bicep @@ -12,8 +12,8 @@ var addressPrefix = '10.0.0.0/16' var privateDNSZoneNames = [ 'privatelink.purview.azure.com' 'privatelink.purviewstudio.azure.com' - 'privatelink.blob.core.windows.net' - 'privatelink.queue.core.windows.net' + 'privatelink.blob.${environment().suffixes.storage}' + 'privatelink.queue.${environment().suffixes.storage}' 'privatelink.servicebus.windows.net' ] @@ -30,7 +30,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: '10.0.0.0/24' + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/purview/account/README.md b/modules/purview/account/README.md index e1dc61fcc7..ebd680590e 100644 --- a/modules/purview/account/README.md +++ b/modules/purview/account/README.md @@ -241,6 +241,7 @@ module account './purview/account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -267,6 +268,7 @@ module account './purview/account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -285,6 +287,7 @@ module account './purview/account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -310,6 +313,7 @@ module account './purview/account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -325,12 +329,14 @@ module account './purview/account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -369,6 +375,7 @@ module account './purview/account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -411,6 +418,7 @@ module account './purview/account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -437,6 +445,7 @@ module account './purview/account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -468,6 +477,7 @@ module account './purview/account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -485,6 +495,7 @@ module account './purview/account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -493,6 +504,7 @@ module account './purview/account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/recovery-services/vault/.test/common/dependencies.bicep b/modules/recovery-services/vault/.test/common/dependencies.bicep index 4651dd3d2c..f41ad1c757 100644 --- a/modules/recovery-services/vault/.test/common/dependencies.bicep +++ b/modules/recovery-services/vault/.test/common/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/recovery-services/vault/README.md b/modules/recovery-services/vault/README.md index 8bb79128ee..3bf4b14d20 100644 --- a/modules/recovery-services/vault/README.md +++ b/modules/recovery-services/vault/README.md @@ -1212,6 +1212,7 @@ module vault './recovery-services/vault/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1239,6 +1240,7 @@ module vault './recovery-services/vault/main.bicep' = { } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1546,6 +1548,7 @@ module vault './recovery-services/vault/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1581,6 +1584,7 @@ module vault './recovery-services/vault/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1662,6 +1666,7 @@ module vault './recovery-services/vault/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1750,6 +1755,7 @@ module vault './recovery-services/vault/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/relay/namespace/.test/common/dependencies.bicep b/modules/relay/namespace/.test/common/dependencies.bicep index 7b0b0e73c1..4184407ad5 100644 --- a/modules/relay/namespace/.test/common/dependencies.bicep +++ b/modules/relay/namespace/.test/common/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/relay/namespace/.test/pe/dependencies.bicep b/modules/relay/namespace/.test/pe/dependencies.bicep index e78fb9a0d8..42efe1b861 100644 --- a/modules/relay/namespace/.test/pe/dependencies.bicep +++ b/modules/relay/namespace/.test/pe/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/relay/namespace/README.md b/modules/relay/namespace/README.md index b2718c4bcc..9c8752244e 100644 --- a/modules/relay/namespace/README.md +++ b/modules/relay/namespace/README.md @@ -367,6 +367,7 @@ module namespace './relay/namespace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -383,6 +384,7 @@ module namespace './relay/namespace/main.bicep' = { skuName: 'Standard' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } wcfRelays: [ @@ -511,6 +513,7 @@ module namespace './relay/namespace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -533,6 +536,7 @@ module namespace './relay/namespace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -630,6 +634,7 @@ module namespace './relay/namespace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -637,6 +642,7 @@ module namespace './relay/namespace/main.bicep' = { skuName: 'Standard' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -675,6 +681,7 @@ module namespace './relay/namespace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -686,6 +693,7 @@ module namespace './relay/namespace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/resource-graph/query/README.md b/modules/resource-graph/query/README.md index 653be07f19..28de6f414e 100644 --- a/modules/resource-graph/query/README.md +++ b/modules/resource-graph/query/README.md @@ -187,6 +187,7 @@ module query './resource-graph/query/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -236,6 +237,7 @@ module query './resource-graph/query/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/resources/deployment-script/README.md b/modules/resources/deployment-script/README.md index b5c81dcbeb..2e02259112 100644 --- a/modules/resources/deployment-script/README.md +++ b/modules/resources/deployment-script/README.md @@ -191,6 +191,7 @@ module deploymentScript './resources/deployment-script/main.bicep' = { storageAccountResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } timeout: 'PT30M' @@ -259,6 +260,7 @@ module deploymentScript './resources/deployment-script/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -301,6 +303,7 @@ module deploymentScript './resources/deployment-script/main.bicep' = { storageAccountResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } timeout: 'PT30M' @@ -358,6 +361,7 @@ module deploymentScript './resources/deployment-script/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/resources/resource-group/README.md b/modules/resources/resource-group/README.md index b1150f03af..66370e303a 100644 --- a/modules/resources/resource-group/README.md +++ b/modules/resources/resource-group/README.md @@ -192,6 +192,7 @@ module resourceGroup './resources/resource-group/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -235,6 +236,7 @@ module resourceGroup './resources/resource-group/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/resources/tags/README.md b/modules/resources/tags/README.md index 00068cc38e..36ae3d1b23 100644 --- a/modules/resources/tags/README.md +++ b/modules/resources/tags/README.md @@ -141,6 +141,7 @@ module tags './resources/tags/main.bicep' = { onlyUpdate: false resourceGroupName: '' tags: { + 'hidden-title': 'This is visible in the resource name' Test: 'Yes' TestToo: 'No' } @@ -171,6 +172,7 @@ module tags './resources/tags/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "Test": "Yes", "TestToo": "No" } @@ -195,6 +197,7 @@ module tags './resources/tags/main.bicep' = { enableDefaultTelemetry: '' onlyUpdate: true tags: { + 'hidden-title': 'This is visible in the resource name' Test: 'Yes' TestToo: 'No' } @@ -222,6 +225,7 @@ module tags './resources/tags/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "Test": "Yes", "TestToo": "No" } diff --git a/modules/service-bus/namespace/.test/common/dependencies.bicep b/modules/service-bus/namespace/.test/common/dependencies.bicep index d657d2a1f0..7b849759d1 100644 --- a/modules/service-bus/namespace/.test/common/dependencies.bicep +++ b/modules/service-bus/namespace/.test/common/dependencies.bicep @@ -22,7 +22,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/service-bus/namespace/.test/encr/dependencies.bicep b/modules/service-bus/namespace/.test/encr/dependencies.bicep index 0c085b0637..4d8c303fcf 100644 --- a/modules/service-bus/namespace/.test/encr/dependencies.bicep +++ b/modules/service-bus/namespace/.test/encr/dependencies.bicep @@ -30,7 +30,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/service-bus/namespace/.test/pe/dependencies.bicep b/modules/service-bus/namespace/.test/pe/dependencies.bicep index e78fb9a0d8..42efe1b861 100644 --- a/modules/service-bus/namespace/.test/pe/dependencies.bicep +++ b/modules/service-bus/namespace/.test/pe/dependencies.bicep @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/service-bus/namespace/README.md b/modules/service-bus/namespace/README.md index dbecee6455..4781e805c0 100644 --- a/modules/service-bus/namespace/README.md +++ b/modules/service-bus/namespace/README.md @@ -437,6 +437,7 @@ module namespace './service-bus/namespace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -485,6 +486,7 @@ module namespace './service-bus/namespace/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } topics: [ @@ -613,6 +615,7 @@ module namespace './service-bus/namespace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -671,6 +674,7 @@ module namespace './service-bus/namespace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -786,6 +790,7 @@ module namespace './service-bus/namespace/main.bicep' = { systemAssignedIdentity: false tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -885,6 +890,7 @@ module namespace './service-bus/namespace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -970,6 +976,7 @@ module namespace './service-bus/namespace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -977,6 +984,7 @@ module namespace './service-bus/namespace/main.bicep' = { skuName: 'Premium' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1015,6 +1023,7 @@ module namespace './service-bus/namespace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1026,6 +1035,7 @@ module namespace './service-bus/namespace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/service-fabric/cluster/README.md b/modules/service-fabric/cluster/README.md index 91960ead85..8c91416501 100644 --- a/modules/service-fabric/cluster/README.md +++ b/modules/service-fabric/cluster/README.md @@ -279,6 +279,7 @@ module cluster './service-fabric/cluster/main.bicep' = { enableDefaultTelemetry: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -339,6 +340,7 @@ module cluster './service-fabric/cluster/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -505,6 +507,7 @@ module cluster './service-fabric/cluster/main.bicep' = { ] tags: { clusterName: 'sfccom001' + 'hidden-title': 'This is visible in the resource name' resourceType: 'Service Fabric' } upgradeDescription: { @@ -723,6 +726,7 @@ module cluster './service-fabric/cluster/main.bicep' = { "tags": { "value": { "clusterName": "sfccom001", + "hidden-title": "This is visible in the resource name", "resourceType": "Service Fabric" } }, diff --git a/modules/signal-r-service/signal-r/.test/common/dependencies.bicep b/modules/signal-r-service/signal-r/.test/common/dependencies.bicep index 5cf708bce8..bb13e27479 100644 --- a/modules/signal-r-service/signal-r/.test/common/dependencies.bicep +++ b/modules/signal-r-service/signal-r/.test/common/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) privateEndpointNetworkPolicies: 'Disabled' privateLinkServiceNetworkPolicies: 'Enabled' } diff --git a/modules/signal-r-service/signal-r/README.md b/modules/signal-r-service/signal-r/README.md index 785260b5d4..d34bbb4be5 100644 --- a/modules/signal-r-service/signal-r/README.md +++ b/modules/signal-r-service/signal-r/README.md @@ -329,6 +329,7 @@ module signalR './signal-r-service/signal-r/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -347,6 +348,7 @@ module signalR './signal-r-service/signal-r/main.bicep' = { sku: 'Standard_S1' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -428,6 +430,7 @@ module signalR './signal-r-service/signal-r/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -454,6 +457,7 @@ module signalR './signal-r-service/signal-r/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/signal-r-service/web-pub-sub/.test/common/dependencies.bicep b/modules/signal-r-service/web-pub-sub/.test/common/dependencies.bicep index d40d2ad8a9..9ce0af1118 100644 --- a/modules/signal-r-service/web-pub-sub/.test/common/dependencies.bicep +++ b/modules/signal-r-service/web-pub-sub/.test/common/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) privateEndpointNetworkPolicies: 'Disabled' privateLinkServiceNetworkPolicies: 'Enabled' } diff --git a/modules/signal-r-service/web-pub-sub/.test/pe/dependencies.bicep b/modules/signal-r-service/web-pub-sub/.test/pe/dependencies.bicep index 55a65a2d13..4570a6d4b1 100644 --- a/modules/signal-r-service/web-pub-sub/.test/pe/dependencies.bicep +++ b/modules/signal-r-service/web-pub-sub/.test/pe/dependencies.bicep @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) privateEndpointNetworkPolicies: 'Disabled' privateLinkServiceNetworkPolicies: 'Enabled' } diff --git a/modules/signal-r-service/web-pub-sub/README.md b/modules/signal-r-service/web-pub-sub/README.md index 6c51fca0fa..e0cc720580 100644 --- a/modules/signal-r-service/web-pub-sub/README.md +++ b/modules/signal-r-service/web-pub-sub/README.md @@ -434,6 +434,7 @@ module webPubSub './signal-r-service/web-pub-sub/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -453,6 +454,7 @@ module webPubSub './signal-r-service/web-pub-sub/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -531,6 +533,7 @@ module webPubSub './signal-r-service/web-pub-sub/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -560,6 +563,7 @@ module webPubSub './signal-r-service/web-pub-sub/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -640,6 +644,7 @@ module webPubSub './signal-r-service/web-pub-sub/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -647,6 +652,7 @@ module webPubSub './signal-r-service/web-pub-sub/main.bicep' = { sku: 'Standard_S1' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -685,6 +691,7 @@ module webPubSub './signal-r-service/web-pub-sub/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -696,6 +703,7 @@ module webPubSub './signal-r-service/web-pub-sub/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/sql/managed-instance/.test/common/dependencies.bicep b/modules/sql/managed-instance/.test/common/dependencies.bicep index 57548e9739..c4e9dfd575 100644 --- a/modules/sql/managed-instance/.test/common/dependencies.bicep +++ b/modules/sql/managed-instance/.test/common/dependencies.bicep @@ -269,7 +269,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'ManagedInstance' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) routeTable: { id: routeTable.id } diff --git a/modules/sql/managed-instance/.test/min/dependencies.bicep b/modules/sql/managed-instance/.test/min/dependencies.bicep index 654889b0e9..b1f97e3ddf 100644 --- a/modules/sql/managed-instance/.test/min/dependencies.bicep +++ b/modules/sql/managed-instance/.test/min/dependencies.bicep @@ -263,7 +263,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'ManagedInstance' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) routeTable: { id: routeTable.id } diff --git a/modules/sql/managed-instance/README.md b/modules/sql/managed-instance/README.md index 3404c33082..a0b62dd2ee 100644 --- a/modules/sql/managed-instance/README.md +++ b/modules/sql/managed-instance/README.md @@ -370,6 +370,7 @@ module managedInstance './sql/managed-instance/main.bicep' = { storageAccountResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -523,6 +524,7 @@ module managedInstance './sql/managed-instance/main.bicep' = { "storageAccountResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/sql/server/.test/common/dependencies.bicep b/modules/sql/server/.test/common/dependencies.bicep index 1b43ec16f9..161cf4486f 100644 --- a/modules/sql/server/.test/common/dependencies.bicep +++ b/modules/sql/server/.test/common/dependencies.bicep @@ -10,6 +10,8 @@ param location string = resourceGroup().location @description('Required. The name of the Key Vault to create.') param keyVaultName string +var addressPrefix = '10.0.0.0/16' + resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2018-11-30' = { name: managedIdentityName location: location @@ -21,25 +23,15 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { properties: { addressSpace: { addressPrefixes: [ - '10.0.0.0/16' + addressPrefix ] } - subnets: [ - { - name: 'sxx-subnet-pe-01' + subnets: map(range(0, 2), i => { + name: 'subnet-${i}' properties: { - - addressPrefix: '10.0.0.0/24' + addressPrefix: cidrSubnet(addressPrefix, 24, i) } - } - { - name: 'sxx-subnet-se-01' - properties: { - - addressPrefix: '10.0.1.0/24' - } - } - ] + }) } } diff --git a/modules/sql/server/.test/pe/dependencies.bicep b/modules/sql/server/.test/pe/dependencies.bicep index a4de98fde3..f9a6790672 100644 --- a/modules/sql/server/.test/pe/dependencies.bicep +++ b/modules/sql/server/.test/pe/dependencies.bicep @@ -20,7 +20,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/sql/server/README.md b/modules/sql/server/README.md index c9ab033556..067199f099 100644 --- a/modules/sql/server/README.md +++ b/modules/sql/server/README.md @@ -509,6 +509,7 @@ module server './sql/server/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -533,6 +534,7 @@ module server './sql/server/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -661,6 +663,7 @@ module server './sql/server/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -695,6 +698,7 @@ module server './sql/server/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -758,12 +762,14 @@ module server './sql/server/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -808,6 +814,7 @@ module server './sql/server/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -816,6 +823,7 @@ module server './sql/server/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -854,6 +862,7 @@ module server './sql/server/main.bicep' = { enableDefaultTelemetry: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -901,6 +910,7 @@ module server './sql/server/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/storage/storage-account/.test/common/dependencies.bicep b/modules/storage/storage-account/.test/common/dependencies.bicep index 01486110b4..b7cff8b3d2 100644 --- a/modules/storage/storage-account/.test/common/dependencies.bicep +++ b/modules/storage/storage-account/.test/common/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) serviceEndpoints: [ { service: 'Microsoft.Storage' diff --git a/modules/storage/storage-account/.test/encr/dependencies.bicep b/modules/storage/storage-account/.test/encr/dependencies.bicep index 55eb94649e..f01760e1ff 100644 --- a/modules/storage/storage-account/.test/encr/dependencies.bicep +++ b/modules/storage/storage-account/.test/encr/dependencies.bicep @@ -51,7 +51,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) serviceEndpoints: [ { service: 'Microsoft.Storage' diff --git a/modules/storage/storage-account/README.md b/modules/storage/storage-account/README.md index 0ba330d1bd..a32a026482 100644 --- a/modules/storage/storage-account/README.md +++ b/modules/storage/storage-account/README.md @@ -585,6 +585,7 @@ module storageAccount './storage/storage-account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -642,6 +643,7 @@ module storageAccount './storage/storage-account/main.bicep' = { } tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -855,6 +857,7 @@ module storageAccount './storage/storage-account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -928,6 +931,7 @@ module storageAccount './storage/storage-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -993,6 +997,7 @@ module storageAccount './storage/storage-account/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1002,6 +1007,7 @@ module storageAccount './storage/storage-account/main.bicep' = { systemAssignedIdentity: false tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -1078,6 +1084,7 @@ module storageAccount './storage/storage-account/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1095,6 +1102,7 @@ module storageAccount './storage/storage-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -1202,6 +1210,7 @@ module storageAccount './storage/storage-account/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -1285,6 +1294,7 @@ module storageAccount './storage/storage-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, @@ -1318,6 +1328,7 @@ module storageAccount './storage/storage-account/main.bicep' = { kind: 'Storage' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1353,6 +1364,7 @@ module storageAccount './storage/storage-account/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/synapse/private-link-hub/.test/common/dependencies.bicep b/modules/synapse/private-link-hub/.test/common/dependencies.bicep index 2c91060579..8321451459 100644 --- a/modules/synapse/private-link-hub/.test/common/dependencies.bicep +++ b/modules/synapse/private-link-hub/.test/common/dependencies.bicep @@ -31,7 +31,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) networkSecurityGroup: { id: networkSecurityGroup.id } diff --git a/modules/synapse/private-link-hub/README.md b/modules/synapse/private-link-hub/README.md index a625cc96ae..0edae4ac65 100644 --- a/modules/synapse/private-link-hub/README.md +++ b/modules/synapse/private-link-hub/README.md @@ -290,6 +290,7 @@ module privateLinkHub './synapse/private-link-hub/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -311,6 +312,7 @@ module privateLinkHub './synapse/private-link-hub/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -352,6 +354,7 @@ module privateLinkHub './synapse/private-link-hub/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -377,6 +380,7 @@ module privateLinkHub './synapse/private-link-hub/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/synapse/workspace/.test/common/dependencies.bicep b/modules/synapse/workspace/.test/common/dependencies.bicep index 821b4f8eb0..485df3baeb 100644 --- a/modules/synapse/workspace/.test/common/dependencies.bicep +++ b/modules/synapse/workspace/.test/common/dependencies.bicep @@ -30,7 +30,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/synapse/workspace/README.md b/modules/synapse/workspace/README.md index 85195eaa20..391fcd8e22 100644 --- a/modules/synapse/workspace/README.md +++ b/modules/synapse/workspace/README.md @@ -387,6 +387,7 @@ module workspace './synapse/workspace/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -485,6 +486,7 @@ module workspace './synapse/workspace/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -612,6 +614,7 @@ module workspace './synapse/workspace/main.bicep' = { encryption: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -662,6 +665,7 @@ module workspace './synapse/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -696,6 +700,7 @@ module workspace './synapse/workspace/main.bicep' = { preventDataExfiltration: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -745,6 +750,7 @@ module workspace './synapse/workspace/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/virtual-machine-images/image-template/.test/common/dependencies.bicep b/modules/virtual-machine-images/image-template/.test/common/dependencies.bicep index a4bd9d76a3..2789683a99 100644 --- a/modules/virtual-machine-images/image-template/.test/common/dependencies.bicep +++ b/modules/virtual-machine-images/image-template/.test/common/dependencies.bicep @@ -75,7 +75,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) privateLinkServiceNetworkPolicies: 'Disabled' } } diff --git a/modules/virtual-machine-images/image-template/README.md b/modules/virtual-machine-images/image-template/README.md index 1fec02183a..03c7dc9eb8 100644 --- a/modules/virtual-machine-images/image-template/README.md +++ b/modules/virtual-machine-images/image-template/README.md @@ -393,6 +393,7 @@ module imageTemplate './virtual-machine-images/image-template/main.bicep' = { subnetId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } unManagedImageName: 'umi-vmiitcom-001' @@ -486,6 +487,7 @@ module imageTemplate './virtual-machine-images/image-template/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } }, diff --git a/modules/web/connection/README.md b/modules/web/connection/README.md index c98e28f322..15c8ff3c0b 100644 --- a/modules/web/connection/README.md +++ b/modules/web/connection/README.md @@ -194,6 +194,7 @@ module connection './web/connection/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -245,6 +246,7 @@ module connection './web/connection/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/web/hosting-environment/.test/asev2/dependencies.bicep b/modules/web/hosting-environment/.test/asev2/dependencies.bicep index c514fe19a2..d549b5f9f8 100644 --- a/modules/web/hosting-environment/.test/asev2/dependencies.bicep +++ b/modules/web/hosting-environment/.test/asev2/dependencies.bicep @@ -47,7 +47,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) networkSecurityGroup: { id: networkSecurityGroup.id } diff --git a/modules/web/hosting-environment/.test/asev3/dependencies.bicep b/modules/web/hosting-environment/.test/asev3/dependencies.bicep index 8e5e6f7c5d..457eb4b012 100644 --- a/modules/web/hosting-environment/.test/asev3/dependencies.bicep +++ b/modules/web/hosting-environment/.test/asev3/dependencies.bicep @@ -53,7 +53,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) networkSecurityGroup: { id: networkSecurityGroup.id } diff --git a/modules/web/hosting-environment/README.md b/modules/web/hosting-environment/README.md index c602501fb8..54a3e74821 100644 --- a/modules/web/hosting-environment/README.md +++ b/modules/web/hosting-environment/README.md @@ -300,6 +300,7 @@ module hostingEnvironment './web/hosting-environment/main.bicep' = { ] systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' hostingEnvironmentName: 'whasev2001' resourceType: 'App Service Environment' } @@ -384,6 +385,7 @@ module hostingEnvironment './web/hosting-environment/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "hostingEnvironmentName": "whasev2001", "resourceType": "App Service Environment" } @@ -446,6 +448,7 @@ module hostingEnvironment './web/hosting-environment/main.bicep' = { ] systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' hostingEnvironmentName: 'whasev3001' resourceType: 'App Service Environment' } @@ -546,6 +549,7 @@ module hostingEnvironment './web/hosting-environment/main.bicep' = { }, "tags": { "value": { + "hidden-title": "This is visible in the resource name", "hostingEnvironmentName": "whasev3001", "resourceType": "App Service Environment" } diff --git a/modules/web/serverfarm/README.md b/modules/web/serverfarm/README.md index a96a2a13e7..21bd28da66 100644 --- a/modules/web/serverfarm/README.md +++ b/modules/web/serverfarm/README.md @@ -247,6 +247,7 @@ module serverfarm './web/serverfarm/main.bicep' = { ] tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -311,6 +312,7 @@ module serverfarm './web/serverfarm/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/web/site/.test/functionAppCommon/dependencies.bicep b/modules/web/site/.test/functionAppCommon/dependencies.bicep index 8aad6585b5..b1c34aa351 100644 --- a/modules/web/site/.test/functionAppCommon/dependencies.bicep +++ b/modules/web/site/.test/functionAppCommon/dependencies.bicep @@ -37,7 +37,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/web/site/.test/webAppCommon/dependencies.bicep b/modules/web/site/.test/webAppCommon/dependencies.bicep index 66c92ec819..59012ee9c1 100644 --- a/modules/web/site/.test/webAppCommon/dependencies.bicep +++ b/modules/web/site/.test/webAppCommon/dependencies.bicep @@ -31,7 +31,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/web/site/README.md b/modules/web/site/README.md index 15b9c76197..cb41c0274e 100644 --- a/modules/web/site/README.md +++ b/modules/web/site/README.md @@ -556,6 +556,7 @@ module site './web/site/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -722,6 +723,7 @@ module site './web/site/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -872,6 +874,7 @@ module site './web/site/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -918,6 +921,7 @@ module site './web/site/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -1024,6 +1028,7 @@ module site './web/site/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -1076,6 +1081,7 @@ module site './web/site/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } diff --git a/modules/web/static-site/.test/common/dependencies.bicep b/modules/web/static-site/.test/common/dependencies.bicep index 8a181924d6..5eee204143 100644 --- a/modules/web/static-site/.test/common/dependencies.bicep +++ b/modules/web/static-site/.test/common/dependencies.bicep @@ -28,7 +28,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) + serviceEndpoints: [ + { + service: 'Microsoft.KeyVault' + } + ] } } ] diff --git a/modules/web/static-site/README.md b/modules/web/static-site/README.md index ed1b374c88..b58b5ceebf 100644 --- a/modules/web/static-site/README.md +++ b/modules/web/static-site/README.md @@ -390,6 +390,7 @@ module staticSite './web/static-site/main.bicep' = { subnetResourceId: '' tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } } @@ -408,6 +409,7 @@ module staticSite './web/static-site/main.bicep' = { systemAssignedIdentity: true tags: { Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' Role: 'DeploymentValidation' } userAssignedIdentities: { @@ -475,6 +477,7 @@ module staticSite './web/static-site/main.bicep' = { "subnetResourceId": "", "tags": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } } @@ -503,6 +506,7 @@ module staticSite './web/static-site/main.bicep' = { "tags": { "value": { "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", "Role": "DeploymentValidation" } },