diff --git a/modules/aad/domain-service/.test/common/dependencies.bicep b/modules/aad/domain-service/.test/common/dependencies.bicep index 0790bd447a..8a704f3be0 100644 --- a/modules/aad/domain-service/.test/common/dependencies.bicep +++ b/modules/aad/domain-service/.test/common/dependencies.bicep @@ -30,7 +30,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/aad/domain-service/.test/common/main.test.bicep b/modules/aad/domain-service/.test/common/main.test.bicep index 39ebef747d..45310e5723 100644 --- a/modules/aad/domain-service/.test/common/main.test.bicep +++ b/modules/aad/domain-service/.test/common/main.test.bicep @@ -90,6 +90,7 @@ module testDeployment '../../main.bicep' = { ] sku: 'Standard' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/analysis-services/server/.test/common/main.test.bicep index ad76d1af43..0dcc74191b 100644 --- a/modules/analysis-services/server/.test/common/main.test.bicep +++ b/modules/analysis-services/server/.test/common/main.test.bicep @@ -79,6 +79,7 @@ module testDeployment '../../main.bicep' = { diagnosticEventHubAuthorizationRuleId: diagnosticDependencies.outputs.eventHubAuthorizationRuleId diagnosticEventHubName: diagnosticDependencies.outputs.eventHubNamespaceEventHubName tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/api-management/service/.test/common/main.test.bicep index 99eccc1045..7431d43d99 100644 --- a/modules/api-management/service/.test/common/main.test.bicep +++ b/modules/api-management/service/.test/common/main.test.bicep @@ -86,6 +86,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/api-management/service/.test/max/main.test.bicep b/modules/api-management/service/.test/max/main.test.bicep index daf0f7f8ad..d9dde652c7 100644 --- a/modules/api-management/service/.test/max/main.test.bicep +++ b/modules/api-management/service/.test/max/main.test.bicep @@ -195,6 +195,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/common/main.test.bicep b/modules/app-configuration/configuration-store/.test/common/main.test.bicep index 46047d29bc..f7bf489277 100644 --- a/modules/app-configuration/configuration-store/.test/common/main.test.bicep +++ b/modules/app-configuration/configuration-store/.test/common/main.test.bicep @@ -99,6 +99,7 @@ module testDeployment '../../main.bicep' = { softDeleteRetentionInDays: 1 systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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..ab851cae4a 100644 --- a/modules/app-configuration/configuration-store/.test/pe/dependencies.bicep +++ b/modules/app-configuration/configuration-store/.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) } } ] diff --git a/modules/app-configuration/configuration-store/.test/pe/main.test.bicep b/modules/app-configuration/configuration-store/.test/pe/main.test.bicep index 6910da9679..09174e7625 100644 --- a/modules/app-configuration/configuration-store/.test/pe/main.test.bicep +++ b/modules/app-configuration/configuration-store/.test/pe/main.test.bicep @@ -62,6 +62,7 @@ module testDeployment '../../main.bicep' = { service: 'configurationStores' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -69,6 +70,7 @@ module testDeployment '../../main.bicep' = { ] softDeleteRetentionInDays: 1 tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/app/container-app/.test/common/main.test.bicep index e765fde47c..3f215031b9 100644 --- a/modules/app/container-app/.test/common/main.test.bicep +++ b/modules/app/container-app/.test/common/main.test.bicep @@ -51,6 +51,7 @@ module testDeployment '../../main.bicep' = { params: { name: '${namePrefix}${serviceShort}001' tags: { + 'hidden-title': 'This is visible in the resource name' Env: 'test' } enableDefaultTelemetry: enableDefaultTelemetry diff --git a/modules/app/container-app/.test/min/main.test.bicep b/modules/app/container-app/.test/min/main.test.bicep index e4c1bffc2c..66ba9c9e91 100644 --- a/modules/app/container-app/.test/min/main.test.bicep +++ b/modules/app/container-app/.test/min/main.test.bicep @@ -50,6 +50,7 @@ module testDeployment '../../main.bicep' = { params: { name: '${namePrefix}${serviceShort}001' tags: { + 'hidden-title': 'This is visible in the resource name' Env: 'test' } enableDefaultTelemetry: enableDefaultTelemetry 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/.test/common/main.test.bicep b/modules/app/managed-environment/.test/common/main.test.bicep index b6e556c4c8..076aa920a4 100644 --- a/modules/app/managed-environment/.test/common/main.test.bicep +++ b/modules/app/managed-environment/.test/common/main.test.bicep @@ -59,6 +59,7 @@ module testDeployment '../../main.bicep' = { infrastructureSubnetId: nestedDependencies.outputs.subnetResourceId lock: 'CanNotDelete' tags: { + 'hidden-title': 'This is visible in the resource name' Env: 'test' } } 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..3a979dc83b 100644 --- a/modules/automation/automation-account/.test/common/dependencies.bicep +++ b/modules/automation/automation-account/.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) } } ] diff --git a/modules/automation/automation-account/.test/common/main.test.bicep b/modules/automation/automation-account/.test/common/main.test.bicep index 461dfed416..2efb5d1f6e 100644 --- a/modules/automation/automation-account/.test/common/main.test.bicep +++ b/modules/automation/automation-account/.test/common/main.test.bicep @@ -102,6 +102,7 @@ module testDeployment '../../main.bicep' = { service: 'Webhook' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -115,6 +116,7 @@ module testDeployment '../../main.bicep' = { service: 'DSCAndHybridWorker' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -239,6 +241,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..462e8a5f27 100644 --- a/modules/batch/batch-account/.test/common/dependencies.bicep +++ b/modules/batch/batch-account/.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) } } ] diff --git a/modules/batch/batch-account/.test/common/main.test.bicep b/modules/batch/batch-account/.test/common/main.test.bicep index b2fa9e7a62..d90c14f14e 100644 --- a/modules/batch/batch-account/.test/common/main.test.bicep +++ b/modules/batch/batch-account/.test/common/main.test.bicep @@ -91,6 +91,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -100,6 +101,7 @@ module testDeployment '../../main.bicep' = { storageAuthenticationMode: 'BatchAccountManagedIdentity' systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/batch/batch-account/.test/encr/dependencies.bicep b/modules/batch/batch-account/.test/encr/dependencies.bicep index e6acb43c7c..9b4b4dd4cc 100644 --- a/modules/batch/batch-account/.test/encr/dependencies.bicep +++ b/modules/batch/batch-account/.test/encr/dependencies.bicep @@ -37,7 +37,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/batch/batch-account/.test/encr/main.test.bicep b/modules/batch/batch-account/.test/encr/main.test.bicep index df256bb81d..a19340f12a 100644 --- a/modules/batch/batch-account/.test/encr/main.test.bicep +++ b/modules/batch/batch-account/.test/encr/main.test.bicep @@ -70,6 +70,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -81,6 +82,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..6e785bcc07 100644 --- a/modules/cache/redis/.test/common/dependencies.bicep +++ b/modules/cache/redis/.test/common/dependencies.bicep @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/cache/redis/.test/common/main.test.bicep b/modules/cache/redis/.test/common/main.test.bicep index bc976f33b7..27cba7a79e 100644 --- a/modules/cache/redis/.test/common/main.test.bicep +++ b/modules/cache/redis/.test/common/main.test.bicep @@ -84,6 +84,7 @@ module testDeployment '../../main.bicep' = { service: 'redisCache' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -95,6 +96,7 @@ module testDeployment '../../main.bicep' = { skuName: 'Premium' systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Redis Cache' } } 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/common/main.test.bicep b/modules/cognitive-services/account/.test/common/main.test.bicep index 7a61062ca0..0802ae9df8 100644 --- a/modules/cognitive-services/account/.test/common/main.test.bicep +++ b/modules/cognitive-services/account/.test/common/main.test.bicep @@ -109,12 +109,14 @@ module testDeployment '../../main.bicep' = { service: 'account' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/cognitive-services/account/.test/encr/dependencies.bicep b/modules/cognitive-services/account/.test/encr/dependencies.bicep index a37c49daaa..e4c35b5db4 100644 --- a/modules/cognitive-services/account/.test/encr/dependencies.bicep +++ b/modules/cognitive-services/account/.test/encr/dependencies.bicep @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/cognitive-services/account/.test/speech/dependencies.bicep b/modules/cognitive-services/account/.test/speech/dependencies.bicep index 6c44dce491..542150de5c 100644 --- a/modules/cognitive-services/account/.test/speech/dependencies.bicep +++ b/modules/cognitive-services/account/.test/speech/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/cognitive-services/account/.test/speech/main.test.bicep b/modules/cognitive-services/account/.test/speech/main.test.bicep index d6edafa98f..3333126f73 100644 --- a/modules/cognitive-services/account/.test/speech/main.test.bicep +++ b/modules/cognitive-services/account/.test/speech/main.test.bicep @@ -61,6 +61,7 @@ module testDeployment '../../main.bicep' = { service: 'account' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -72,6 +73,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/compute/availability-set/.test/common/main.test.bicep index 208018bbec..6bece2dc2d 100644 --- a/modules/compute/availability-set/.test/common/main.test.bicep +++ b/modules/compute/availability-set/.test/common/main.test.bicep @@ -62,6 +62,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/accessPolicies/main.test.bicep b/modules/compute/disk-encryption-set/.test/accessPolicies/main.test.bicep index 011b4a18d9..caf5d3fd14 100644 --- a/modules/compute/disk-encryption-set/.test/accessPolicies/main.test.bicep +++ b/modules/compute/disk-encryption-set/.test/accessPolicies/main.test.bicep @@ -70,6 +70,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/compute/disk-encryption-set/.test/common/main.test.bicep b/modules/compute/disk-encryption-set/.test/common/main.test.bicep index 5562bda076..5b54d45427 100644 --- a/modules/compute/disk-encryption-set/.test/common/main.test.bicep +++ b/modules/compute/disk-encryption-set/.test/common/main.test.bicep @@ -71,6 +71,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/compute/disk/.test/common/main.test.bicep index 6674dd3ab2..7b06f5ded0 100644 --- a/modules/compute/disk/.test/common/main.test.bicep +++ b/modules/compute/disk/.test/common/main.test.bicep @@ -66,6 +66,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/compute/disk/.test/image/main.test.bicep b/modules/compute/disk/.test/image/main.test.bicep index c9ae1d1ebf..3c57deae15 100644 --- a/modules/compute/disk/.test/image/main.test.bicep +++ b/modules/compute/disk/.test/image/main.test.bicep @@ -61,6 +61,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/compute/disk/.test/import/main.test.bicep b/modules/compute/disk/.test/import/main.test.bicep index 78cb8480d7..2d16393ece 100644 --- a/modules/compute/disk/.test/import/main.test.bicep +++ b/modules/compute/disk/.test/import/main.test.bicep @@ -66,6 +66,7 @@ module testDeployment '../../main.bicep' = { sourceUri: nestedDependencies.outputs.vhdUri storageAccountId: nestedDependencies.outputs.storageAccountResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/compute/gallery/.test/common/main.test.bicep index 44e059b9fb..7d1d8b24e4 100644 --- a/modules/compute/gallery/.test/common/main.test.bicep +++ b/modules/compute/gallery/.test/common/main.test.bicep @@ -187,6 +187,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/compute/image/.test/common/main.test.bicep index 19c342a992..05f4ac649e 100644 --- a/modules/compute/image/.test/common/main.test.bicep +++ b/modules/compute/image/.test/common/main.test.bicep @@ -77,6 +77,7 @@ module testDeployment '../../main.bicep' = { osState: 'Generalized' diskSizeGB: 128 tags: { + 'hidden-title': 'This is visible in the resource name' tagA: 'You\'re it' tagB: 'Player' } 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/.test/common/main.test.bicep b/modules/compute/proximity-placement-group/.test/common/main.test.bicep index 3eaf10fa60..04e74c7088 100644 --- a/modules/compute/proximity-placement-group/.test/common/main.test.bicep +++ b/modules/compute/proximity-placement-group/.test/common/main.test.bicep @@ -64,6 +64,7 @@ module testDeployment '../../main.bicep' = { ] type: 'Standard' tags: { + 'hidden-title': 'This is visible in the resource name' TagA: 'Would you kindly...' TagB: 'Tags for sale' } 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..16cf8889d8 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,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] 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..a328f1decc 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,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/compute/virtual-machine-scale-set/.test/linux.ssecmk/main.test.bicep b/modules/compute/virtual-machine-scale-set/.test/linux.ssecmk/main.test.bicep index 619436b5ec..ecd4107f17 100644 --- a/modules/compute/virtual-machine-scale-set/.test/linux.ssecmk/main.test.bicep +++ b/modules/compute/virtual-machine-scale-set/.test/linux.ssecmk/main.test.bicep @@ -114,6 +114,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..037c0420ca 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,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/compute/virtual-machine-scale-set/.test/linux/main.test.bicep b/modules/compute/virtual-machine-scale-set/.test/linux/main.test.bicep index 08c5931815..66500b75f0 100644 --- a/modules/compute/virtual-machine-scale-set/.test/linux/main.test.bicep +++ b/modules/compute/virtual-machine-scale-set/.test/linux/main.test.bicep @@ -187,6 +187,7 @@ module testDeployment '../../main.bicep' = { vmNamePrefix: 'vmsslinvm' vmPriority: 'Regular' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..1166415e54 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,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] 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..756b22af61 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,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/compute/virtual-machine-scale-set/.test/windows/main.test.bicep b/modules/compute/virtual-machine-scale-set/.test/windows/main.test.bicep index c6694102a5..f9735b759b 100644 --- a/modules/compute/virtual-machine-scale-set/.test/windows/main.test.bicep +++ b/modules/compute/virtual-machine-scale-set/.test/windows/main.test.bicep @@ -183,6 +183,7 @@ module testDeployment '../../main.bicep' = { vmNamePrefix: 'vmsswinvm' vmPriority: 'Regular' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..567643dfac 100644 --- a/modules/compute/virtual-machine/.test/linux.atmg/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/linux.atmg/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/compute/virtual-machine/.test/linux.atmg/main.test.bicep b/modules/compute/virtual-machine/.test/linux.atmg/main.test.bicep index 6761d469ce..a6b7cf6ddf 100644 --- a/modules/compute/virtual-machine/.test/linux.atmg/main.test.bicep +++ b/modules/compute/virtual-machine/.test/linux.atmg/main.test.bicep @@ -74,6 +74,7 @@ module testDeployment '../../main.bicep' = { pipConfiguration: { publicIpNameSuffix: '-pip-01' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -83,6 +84,7 @@ module testDeployment '../../main.bicep' = { ] nicSuffix: '-nic-01' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -105,6 +107,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/compute/virtual-machine/.test/linux.min/dependencies.bicep b/modules/compute/virtual-machine/.test/linux.min/dependencies.bicep index c2785277dd..7bf89c0cdc 100644 --- a/modules/compute/virtual-machine/.test/linux.min/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/linux.min/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/compute/virtual-machine/.test/linux/dependencies.bicep b/modules/compute/virtual-machine/.test/linux/dependencies.bicep index 7eada55540..b1e78465cf 100644 --- a/modules/compute/virtual-machine/.test/linux/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/linux/dependencies.bicep @@ -47,7 +47,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/compute/virtual-machine/.test/linux/main.test.bicep b/modules/compute/virtual-machine/.test/linux/main.test.bicep index f85bc4d585..97752862a4 100644 --- a/modules/compute/virtual-machine/.test/linux/main.test.bicep +++ b/modules/compute/virtual-machine/.test/linux/main.test.bicep @@ -177,6 +177,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -187,6 +188,7 @@ module testDeployment '../../main.bicep' = { extensionDependencyAgentConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -204,6 +206,7 @@ module testDeployment '../../main.bicep' = { VolumeType: 'All' } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -211,6 +214,7 @@ module testDeployment '../../main.bicep' = { extensionAadJoinConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -218,6 +222,7 @@ module testDeployment '../../main.bicep' = { extensionDSCConfig: { enabled: false tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -225,6 +230,7 @@ module testDeployment '../../main.bicep' = { extensionMonitoringAgentConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -232,6 +238,7 @@ module testDeployment '../../main.bicep' = { extensionNetworkWatcherAgentConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -258,6 +265,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/compute/virtual-machine/.test/windows.atmg/dependencies.bicep b/modules/compute/virtual-machine/.test/windows.atmg/dependencies.bicep index fb8e43c609..a546ea7dba 100644 --- a/modules/compute/virtual-machine/.test/windows.atmg/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/windows.atmg/dependencies.bicep @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/compute/virtual-machine/.test/windows.atmg/main.test.bicep b/modules/compute/virtual-machine/.test/windows.atmg/main.test.bicep index 9b15bf694e..52c5e35db0 100644 --- a/modules/compute/virtual-machine/.test/windows.atmg/main.test.bicep +++ b/modules/compute/virtual-machine/.test/windows.atmg/main.test.bicep @@ -84,6 +84,7 @@ module testDeployment '../../main.bicep' = { adminPassword: password configurationProfile: '/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/compute/virtual-machine/.test/windows.min/dependencies.bicep b/modules/compute/virtual-machine/.test/windows.min/dependencies.bicep index 683dc9d4f4..68972ec7ec 100644 --- a/modules/compute/virtual-machine/.test/windows.min/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/windows.min/dependencies.bicep @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/compute/virtual-machine/.test/windows.ssecmk/dependencies.bicep b/modules/compute/virtual-machine/.test/windows.ssecmk/dependencies.bicep index 05648243b5..e5cb91cea0 100644 --- a/modules/compute/virtual-machine/.test/windows.ssecmk/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/windows.ssecmk/dependencies.bicep @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/compute/virtual-machine/.test/windows.ssecmk/main.test.bicep b/modules/compute/virtual-machine/.test/windows.ssecmk/main.test.bicep index 5c64811f41..b829bbcf1c 100644 --- a/modules/compute/virtual-machine/.test/windows.ssecmk/main.test.bicep +++ b/modules/compute/virtual-machine/.test/windows.ssecmk/main.test.bicep @@ -102,6 +102,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/compute/virtual-machine/.test/windows/dependencies.bicep b/modules/compute/virtual-machine/.test/windows/dependencies.bicep index 7c37c57013..22df299a8e 100644 --- a/modules/compute/virtual-machine/.test/windows/dependencies.bicep +++ b/modules/compute/virtual-machine/.test/windows/dependencies.bicep @@ -44,7 +44,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/compute/virtual-machine/.test/windows/main.test.bicep b/modules/compute/virtual-machine/.test/windows/main.test.bicep index 9e059f65ab..e6aaa54559 100644 --- a/modules/compute/virtual-machine/.test/windows/main.test.bicep +++ b/modules/compute/virtual-machine/.test/windows/main.test.bicep @@ -189,6 +189,7 @@ module testDeployment '../../main.bicep' = { } } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -202,6 +203,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -212,6 +214,7 @@ module testDeployment '../../main.bicep' = { extensionDependencyAgentConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -228,6 +231,7 @@ module testDeployment '../../main.bicep' = { ResizeOSDisk: 'false' VolumeType: 'All' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -236,6 +240,7 @@ module testDeployment '../../main.bicep' = { extensionAadJoinConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -243,6 +248,7 @@ module testDeployment '../../main.bicep' = { extensionDSCConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -250,6 +256,7 @@ module testDeployment '../../main.bicep' = { extensionMonitoringAgentConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -257,6 +264,7 @@ module testDeployment '../../main.bicep' = { extensionNetworkWatcherAgentConfig: { enabled: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -278,6 +286,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/container-instance/container-group/.test/common/main.test.bicep index ce3e5dd96c..d514033d8f 100644 --- a/modules/container-instance/container-group/.test/common/main.test.bicep +++ b/modules/container-instance/container-group/.test/common/main.test.bicep @@ -111,6 +111,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/container-instance/container-group/.test/encr/main.test.bicep b/modules/container-instance/container-group/.test/encr/main.test.bicep index 81d75baf10..402d20eda2 100644 --- a/modules/container-instance/container-group/.test/encr/main.test.bicep +++ b/modules/container-instance/container-group/.test/encr/main.test.bicep @@ -119,6 +119,7 @@ module testDeployment '../../main.bicep' = { cMKKeyVaultResourceId: nestedDependencies.outputs.keyVaultResourceId cMKUserAssignedIdentityResourceId: nestedDependencies.outputs.managedIdentityResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/private/main.test.bicep b/modules/container-instance/container-group/.test/private/main.test.bicep index d65b6ebc57..316a0431d6 100644 --- a/modules/container-instance/container-group/.test/private/main.test.bicep +++ b/modules/container-instance/container-group/.test/private/main.test.bicep @@ -130,6 +130,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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 78ef9b8b85..acb54c6443 100644 --- a/modules/container-registry/registry/.test/common/dependencies.bicep +++ b/modules/container-registry/registry/.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) } } ] diff --git a/modules/container-registry/registry/.test/common/main.test.bicep b/modules/container-registry/registry/.test/common/main.test.bicep index b67626bb89..069001fa0d 100644 --- a/modules/container-registry/registry/.test/common/main.test.bicep +++ b/modules/container-registry/registry/.test/common/main.test.bicep @@ -88,6 +88,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -127,6 +128,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/container-registry/registry/.test/encr/dependencies.bicep b/modules/container-registry/registry/.test/encr/dependencies.bicep index 9922e752af..2a44c0d13c 100644 --- a/modules/container-registry/registry/.test/encr/dependencies.bicep +++ b/modules/container-registry/registry/.test/encr/dependencies.bicep @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/container-registry/registry/.test/encr/main.test.bicep b/modules/container-registry/registry/.test/encr/main.test.bicep index fb05095c55..f6b8fd3f61 100644 --- a/modules/container-registry/registry/.test/encr/main.test.bicep +++ b/modules/container-registry/registry/.test/encr/main.test.bicep @@ -64,6 +64,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/container-registry/registry/.test/pe/dependencies.bicep b/modules/container-registry/registry/.test/pe/dependencies.bicep index 6d9f2aa57a..0422180c41 100644 --- a/modules/container-registry/registry/.test/pe/dependencies.bicep +++ b/modules/container-registry/registry/.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) } } ] diff --git a/modules/container-registry/registry/.test/pe/main.test.bicep b/modules/container-registry/registry/.test/pe/main.test.bicep index 807aceedf4..bcb6fbfa3d 100644 --- a/modules/container-registry/registry/.test/pe/main.test.bicep +++ b/modules/container-registry/registry/.test/pe/main.test.bicep @@ -60,12 +60,14 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/container-registry/registry/README.md b/modules/container-registry/registry/README.md index e45c28f271..abb1d9111b 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..bab7aff98e 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.1.0.0/22' + 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/azure/main.test.bicep b/modules/container-service/managed-cluster/.test/azure/main.test.bicep index ae463a55e5..0448c3ef45 100644 --- a/modules/container-service/managed-cluster/.test/azure/main.test.bicep +++ b/modules/container-service/managed-cluster/.test/azure/main.test.bicep @@ -165,6 +165,7 @@ module testDeployment '../../main.bicep' = { ] systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/container-service/managed-cluster/.test/kubenet/main.test.bicep b/modules/container-service/managed-cluster/.test/kubenet/main.test.bicep index 5faf01208e..e60e7d0b4b 100644 --- a/modules/container-service/managed-cluster/.test/kubenet/main.test.bicep +++ b/modules/container-service/managed-cluster/.test/kubenet/main.test.bicep @@ -152,6 +152,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/container-service/managed-cluster/.test/priv/dependencies.bicep b/modules/container-service/managed-cluster/.test/priv/dependencies.bicep index 6e584a61cf..b74bb113ac 100644 --- a/modules/container-service/managed-cluster/.test/priv/dependencies.bicep +++ b/modules/container-service/managed-cluster/.test/priv/dependencies.bicep @@ -35,7 +35,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/container-service/managed-cluster/.test/priv/main.test.bicep b/modules/container-service/managed-cluster/.test/priv/main.test.bicep index c5ace56db5..9df38ededb 100644 --- a/modules/container-service/managed-cluster/.test/priv/main.test.bicep +++ b/modules/container-service/managed-cluster/.test/priv/main.test.bicep @@ -151,6 +151,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..5c91900d1a 100644 --- a/modules/data-factory/factory/.test/common/dependencies.bicep +++ b/modules/data-factory/factory/.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/data-factory/factory/.test/common/main.test.bicep b/modules/data-factory/factory/.test/common/main.test.bicep index 522aa02ad1..31c1fa8500 100644 --- a/modules/data-factory/factory/.test/common/main.test.bicep +++ b/modules/data-factory/factory/.test/common/main.test.bicep @@ -119,6 +119,7 @@ module testDeployment '../../main.bicep' = { service: 'dataFactory' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' application: 'CARML' } } @@ -137,6 +138,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/data-protection/backup-vault/.test/common/main.test.bicep index edab141c37..218affe3d4 100644 --- a/modules/data-protection/backup-vault/.test/common/main.test.bicep +++ b/modules/data-protection/backup-vault/.test/common/main.test.bicep @@ -124,6 +124,7 @@ module testDeployment '../../main.bicep' = { ] lock: 'CanNotDelete' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/databricks/workspace/.test/common/main.test.bicep index ff502e457c..176ffdea91 100644 --- a/modules/databricks/workspace/.test/common/main.test.bicep +++ b/modules/databricks/workspace/.test/common/main.test.bicep @@ -78,6 +78,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/private/main.test.bicep b/modules/db-for-my-sql/flexible-server/.test/private/main.test.bicep index b231316e74..1ff3205069 100644 --- a/modules/db-for-my-sql/flexible-server/.test/private/main.test.bicep +++ b/modules/db-for-my-sql/flexible-server/.test/private/main.test.bicep @@ -80,6 +80,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'MySQL Flexible Server' serverName: '${namePrefix}${serviceShort}001' } diff --git a/modules/db-for-my-sql/flexible-server/.test/public/main.test.bicep b/modules/db-for-my-sql/flexible-server/.test/public/main.test.bicep index 8c2c60ec0d..18f1ae8515 100644 --- a/modules/db-for-my-sql/flexible-server/.test/public/main.test.bicep +++ b/modules/db-for-my-sql/flexible-server/.test/public/main.test.bicep @@ -98,6 +98,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'MySQL Flexible Server' serverName: '${namePrefix}${serviceShort}001' } 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/.test/private/main.test.bicep b/modules/db-for-postgre-sql/flexible-server/.test/private/main.test.bicep index 1cf97fb1dd..1852c4dffe 100644 --- a/modules/db-for-postgre-sql/flexible-server/.test/private/main.test.bicep +++ b/modules/db-for-postgre-sql/flexible-server/.test/private/main.test.bicep @@ -102,6 +102,7 @@ module testDeployment '../../main.bicep' = { geoRedundantBackup: 'Enabled' privateDnsZoneArmResourceId: nestedDependencies.outputs.privateDNSResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/db-for-postgre-sql/flexible-server/.test/public/main.test.bicep b/modules/db-for-postgre-sql/flexible-server/.test/public/main.test.bicep index 6738b412df..82930ee0b2 100644 --- a/modules/db-for-postgre-sql/flexible-server/.test/public/main.test.bicep +++ b/modules/db-for-postgre-sql/flexible-server/.test/public/main.test.bicep @@ -128,6 +128,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/desktop-virtualization/application-group/.test/common/main.test.bicep index d49d0c91f9..959990ac7c 100644 --- a/modules/desktop-virtualization/application-group/.test/common/main.test.bicep +++ b/modules/desktop-virtualization/application-group/.test/common/main.test.bicep @@ -102,6 +102,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/desktop-virtualization/host-pool/.test/common/main.test.bicep index 6fb06b4407..6f581c0315 100644 --- a/modules/desktop-virtualization/host-pool/.test/common/main.test.bicep +++ b/modules/desktop-virtualization/host-pool/.test/common/main.test.bicep @@ -103,6 +103,7 @@ module testDeployment '../../main.bicep' = { } } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/desktop-virtualization/scaling-plan/.test/common/main.test.bicep index e2704b6908..0a6f49d2c5 100644 --- a/modules/desktop-virtualization/scaling-plan/.test/common/main.test.bicep +++ b/modules/desktop-virtualization/scaling-plan/.test/common/main.test.bicep @@ -77,6 +77,7 @@ module testDeployment '../../main.bicep' = { diagnosticEventHubAuthorizationRuleId: diagnosticDependencies.outputs.eventHubAuthorizationRuleId diagnosticEventHubName: diagnosticDependencies.outputs.eventHubNamespaceEventHubName tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/desktop-virtualization/workspace/.test/common/main.test.bicep index 47db31d8fa..6a603dc442 100644 --- a/modules/desktop-virtualization/workspace/.test/common/main.test.bicep +++ b/modules/desktop-virtualization/workspace/.test/common/main.test.bicep @@ -84,6 +84,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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..10d28c8ae6 100644 --- a/modules/dev-test-lab/lab/.test/common/dependencies.bicep +++ b/modules/dev-test-lab/lab/.test/common/dependencies.bicep @@ -102,7 +102,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/dev-test-lab/lab/.test/common/main.test.bicep b/modules/dev-test-lab/lab/.test/common/main.test.bicep index 7dc04f3d53..2f0565eb03 100644 --- a/modules/dev-test-lab/lab/.test/common/main.test.bicep +++ b/modules/dev-test-lab/lab/.test/common/main.test.bicep @@ -69,6 +69,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'DevTest Lab' labName: '${namePrefix}${serviceShort}001' } 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/.test/common/main.test.bicep b/modules/digital-twins/digital-twins-instance/.test/common/main.test.bicep index e40037c573..73b4bd8fae 100644 --- a/modules/digital-twins/digital-twins-instance/.test/common/main.test.bicep +++ b/modules/digital-twins/digital-twins-instance/.test/common/main.test.bicep @@ -113,6 +113,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/gremlindb/main.test.bicep b/modules/document-db/database-account/.test/gremlindb/main.test.bicep index 98abd55438..d1fde322f7 100644 --- a/modules/document-db/database-account/.test/gremlindb/main.test.bicep +++ b/modules/document-db/database-account/.test/gremlindb/main.test.bicep @@ -142,6 +142,7 @@ module testDeployment '../../main.bicep' = { ] systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/document-db/database-account/.test/mongodb/main.test.bicep b/modules/document-db/database-account/.test/mongodb/main.test.bicep index bd0e8f4fa8..22b1b39987 100644 --- a/modules/document-db/database-account/.test/mongodb/main.test.bicep +++ b/modules/document-db/database-account/.test/mongodb/main.test.bicep @@ -275,6 +275,7 @@ module testDeployment '../../main.bicep' = { ] systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/document-db/database-account/.test/plain/main.test.bicep b/modules/document-db/database-account/.test/plain/main.test.bicep index 23071b8799..9e8d54ab53 100644 --- a/modules/document-db/database-account/.test/plain/main.test.bicep +++ b/modules/document-db/database-account/.test/plain/main.test.bicep @@ -90,6 +90,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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..5024abd2ff 100644 --- a/modules/document-db/database-account/.test/sqldb/dependencies.bicep +++ b/modules/document-db/database-account/.test/sqldb/dependencies.bicep @@ -27,7 +27,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/document-db/database-account/.test/sqldb/main.test.bicep b/modules/document-db/database-account/.test/sqldb/main.test.bicep index ba9288205b..038faeaf9c 100644 --- a/modules/document-db/database-account/.test/sqldb/main.test.bicep +++ b/modules/document-db/database-account/.test/sqldb/main.test.bicep @@ -91,6 +91,7 @@ module testDeployment '../../main.bicep' = { service: 'Sql' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -185,6 +186,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/document-db/database-account/README.md b/modules/document-db/database-account/README.md index dd76ceb9a7..72342963b4 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..8ba0c35f61 100644 --- a/modules/event-grid/domain/.test/common/dependencies.bicep +++ b/modules/event-grid/domain/.test/common/dependencies.bicep @@ -7,7 +7,7 @@ param virtualNetworkName string @description('Required. The name of the Managed Identity to create.') param managedIdentityName string -var addressPrefix = '10.0.0.0/24' +var addressPrefix = '10.0.0.0/16' resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: virtualNetworkName @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/event-grid/domain/.test/common/main.test.bicep b/modules/event-grid/domain/.test/common/main.test.bicep index 2bbe444ed6..9a38dc3ee4 100644 --- a/modules/event-grid/domain/.test/common/main.test.bicep +++ b/modules/event-grid/domain/.test/common/main.test.bicep @@ -85,6 +85,7 @@ module testDeployment '../../main.bicep' = { service: 'domain' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -100,6 +101,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/event-grid/domain/.test/pe/dependencies.bicep b/modules/event-grid/domain/.test/pe/dependencies.bicep index b4da965a54..4d31fc9282 100644 --- a/modules/event-grid/domain/.test/pe/dependencies.bicep +++ b/modules/event-grid/domain/.test/pe/dependencies.bicep @@ -4,7 +4,7 @@ param location string = resourceGroup().location @description('Required. The name of the Virtual Network to create.') param virtualNetworkName string -var addressPrefix = '10.0.0.0/24' +var addressPrefix = '10.0.0.0/16' resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { name: virtualNetworkName @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/event-grid/domain/.test/pe/main.test.bicep b/modules/event-grid/domain/.test/pe/main.test.bicep index 437451c88d..ff90a984c0 100644 --- a/modules/event-grid/domain/.test/pe/main.test.bicep +++ b/modules/event-grid/domain/.test/pe/main.test.bicep @@ -59,12 +59,14 @@ module testDeployment '../../main.bicep' = { service: 'domain' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/event-grid/system-topic/.test/common/main.test.bicep index 3499151049..d5cd6b5f79 100644 --- a/modules/event-grid/system-topic/.test/common/main.test.bicep +++ b/modules/event-grid/system-topic/.test/common/main.test.bicep @@ -104,6 +104,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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..448380e27d 100644 --- a/modules/event-grid/topic/.test/common/dependencies.bicep +++ b/modules/event-grid/topic/.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/event-grid/topic/.test/common/main.test.bicep b/modules/event-grid/topic/.test/common/main.test.bicep index 0b2f474962..c55aa3de33 100644 --- a/modules/event-grid/topic/.test/common/main.test.bicep +++ b/modules/event-grid/topic/.test/common/main.test.bicep @@ -109,6 +109,7 @@ module testDeployment '../../main.bicep' = { service: 'topic' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -124,6 +125,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/event-grid/topic/.test/pe/dependencies.bicep b/modules/event-grid/topic/.test/pe/dependencies.bicep index 3b3a2bc528..4d31fc9282 100644 --- a/modules/event-grid/topic/.test/pe/dependencies.bicep +++ b/modules/event-grid/topic/.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) } } ] diff --git a/modules/event-grid/topic/.test/pe/main.test.bicep b/modules/event-grid/topic/.test/pe/main.test.bicep index d760244d8b..096f27cbcb 100644 --- a/modules/event-grid/topic/.test/pe/main.test.bicep +++ b/modules/event-grid/topic/.test/pe/main.test.bicep @@ -59,12 +59,14 @@ module testDeployment '../../main.bicep' = { service: 'topic' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/event-hub/namespace/.test/common/main.test.bicep index 14a778ca76..acaefc8e5c 100644 --- a/modules/event-hub/namespace/.test/common/main.test.bicep +++ b/modules/event-hub/namespace/.test/common/main.test.bicep @@ -175,6 +175,7 @@ module testDeployment '../../main.bicep' = { service: 'namespace' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -194,6 +195,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/event-hub/namespace/.test/encr/dependencies.bicep b/modules/event-hub/namespace/.test/encr/dependencies.bicep index 2c83533cb5..dab158fd15 100644 --- a/modules/event-hub/namespace/.test/encr/dependencies.bicep +++ b/modules/event-hub/namespace/.test/encr/dependencies.bicep @@ -30,7 +30,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/event-hub/namespace/.test/encr/main.test.bicep b/modules/event-hub/namespace/.test/encr/main.test.bicep index a139b14281..1a5985d41c 100644 --- a/modules/event-hub/namespace/.test/encr/main.test.bicep +++ b/modules/event-hub/namespace/.test/encr/main.test.bicep @@ -57,6 +57,7 @@ module testDeployment '../../main.bicep' = { name: '${namePrefix}${serviceShort}001' publicNetworkAccess: 'SecuredByPerimeter' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/pe/main.test.bicep b/modules/event-hub/namespace/.test/pe/main.test.bicep index dcbadfa7e7..35f8a4c0e5 100644 --- a/modules/event-hub/namespace/.test/pe/main.test.bicep +++ b/modules/event-hub/namespace/.test/pe/main.test.bicep @@ -59,12 +59,14 @@ module testDeployment '../../main.bicep' = { service: 'namespace' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/health-bot/health-bot/.test/common/main.test.bicep index f109b51117..7ec0798687 100644 --- a/modules/health-bot/health-bot/.test/common/main.test.bicep +++ b/modules/health-bot/health-bot/.test/common/main.test.bicep @@ -60,6 +60,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/healthcare-apis/workspace/.test/common/main.test.bicep index 97b443e50b..2baa190bdb 100644 --- a/modules/healthcare-apis/workspace/.test/common/main.test.bicep +++ b/modules/healthcare-apis/workspace/.test/common/main.test.bicep @@ -127,6 +127,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/insights/action-group/.test/common/main.test.bicep index 968710a324..e9130942bf 100644 --- a/modules/insights/action-group/.test/common/main.test.bicep +++ b/modules/insights/action-group/.test/common/main.test.bicep @@ -78,6 +78,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/insights/activity-log-alert/.test/common/main.test.bicep index 5ee20175d6..f61430c448 100644 --- a/modules/insights/activity-log-alert/.test/common/main.test.bicep +++ b/modules/insights/activity-log-alert/.test/common/main.test.bicep @@ -83,6 +83,7 @@ module testDeployment '../../main.bicep' = { subscription().id ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/insights/component/.test/common/main.test.bicep index fcd24bdb75..bb1280676e 100644 --- a/modules/insights/component/.test/common/main.test.bicep +++ b/modules/insights/component/.test/common/main.test.bicep @@ -78,6 +78,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/insights/data-collection-endpoint/.test/common/main.test.bicep index 13187e1a33..2ce0a08132 100644 --- a/modules/insights/data-collection-endpoint/.test/common/main.test.bicep +++ b/modules/insights/data-collection-endpoint/.test/common/main.test.bicep @@ -62,6 +62,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Data Collection Rules' kind: 'Windows' } 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/.test/customadv/main.test.bicep b/modules/insights/data-collection-rule/.test/customadv/main.test.bicep index 860aec98d4..1cf0e970d1 100644 --- a/modules/insights/data-collection-rule/.test/customadv/main.test.bicep +++ b/modules/insights/data-collection-rule/.test/customadv/main.test.bicep @@ -135,6 +135,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Data Collection Rules' kind: 'Windows' } diff --git a/modules/insights/data-collection-rule/.test/custombasic/main.test.bicep b/modules/insights/data-collection-rule/.test/custombasic/main.test.bicep index 9b6e77eaf9..6c63236ece 100644 --- a/modules/insights/data-collection-rule/.test/custombasic/main.test.bicep +++ b/modules/insights/data-collection-rule/.test/custombasic/main.test.bicep @@ -119,6 +119,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Data Collection Rules' kind: 'Windows' } diff --git a/modules/insights/data-collection-rule/.test/customiis/main.test.bicep b/modules/insights/data-collection-rule/.test/customiis/main.test.bicep index 9e29dc6d1d..241333333f 100644 --- a/modules/insights/data-collection-rule/.test/customiis/main.test.bicep +++ b/modules/insights/data-collection-rule/.test/customiis/main.test.bicep @@ -98,6 +98,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Data Collection Rules' kind: 'Windows' } diff --git a/modules/insights/data-collection-rule/.test/linux/main.test.bicep b/modules/insights/data-collection-rule/.test/linux/main.test.bicep index 7b04def4cf..81a4953413 100644 --- a/modules/insights/data-collection-rule/.test/linux/main.test.bicep +++ b/modules/insights/data-collection-rule/.test/linux/main.test.bicep @@ -211,6 +211,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Data Collection Rules' kind: 'Linux' } diff --git a/modules/insights/data-collection-rule/.test/windows/main.test.bicep b/modules/insights/data-collection-rule/.test/windows/main.test.bicep index 9e5d2188d4..77ac653b2f 100644 --- a/modules/insights/data-collection-rule/.test/windows/main.test.bicep +++ b/modules/insights/data-collection-rule/.test/windows/main.test.bicep @@ -165,6 +165,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Data Collection Rules' kind: 'Windows' } 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/.test/common/main.test.bicep b/modules/insights/metric-alert/.test/common/main.test.bicep index e0934fa528..148d924d70 100644 --- a/modules/insights/metric-alert/.test/common/main.test.bicep +++ b/modules/insights/metric-alert/.test/common/main.test.bicep @@ -78,6 +78,7 @@ module testDeployment '../../main.bicep' = { targetResourceType: 'microsoft.compute/virtualmachines' windowSize: 'PT15M' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..c0529b4ac9 100644 --- a/modules/insights/private-link-scope/.test/common/dependencies.bicep +++ b/modules/insights/private-link-scope/.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) } } ] diff --git a/modules/insights/private-link-scope/.test/common/main.test.bicep b/modules/insights/private-link-scope/.test/common/main.test.bicep index 20551d5c69..ee6b934b40 100644 --- a/modules/insights/private-link-scope/.test/common/main.test.bicep +++ b/modules/insights/private-link-scope/.test/common/main.test.bicep @@ -67,6 +67,7 @@ module testDeployment '../../main.bicep' = { service: 'azuremonitor' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -82,6 +83,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/insights/scheduled-query-rule/.test/common/main.test.bicep index 6ea5c22198..a8b98171e6 100644 --- a/modules/insights/scheduled-query-rule/.test/common/main.test.bicep +++ b/modules/insights/scheduled-query-rule/.test/common/main.test.bicep @@ -96,6 +96,7 @@ module testDeployment '../../main.bicep' = { suppressForMinutes: 'PT5M' windowSize: 'PT5M' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/insights/webtest/.test/common/main.test.bicep index e51b4da0f0..9e5d9bf6ce 100644 --- a/modules/insights/webtest/.test/common/main.test.bicep +++ b/modules/insights/webtest/.test/common/main.test.bicep @@ -51,6 +51,7 @@ module testDeployment '../../main.bicep' = { params: { name: '${namePrefix}${serviceShort}001' tags: { + 'hidden-title': 'This is visible in the resource name' 'hidden-link:${nestedDependencies.outputs.appInsightResourceId}': 'Resource' } enableDefaultTelemetry: enableDefaultTelemetry diff --git a/modules/insights/webtest/.test/min/main.test.bicep b/modules/insights/webtest/.test/min/main.test.bicep index e1d12fb923..c309005ca8 100644 --- a/modules/insights/webtest/.test/min/main.test.bicep +++ b/modules/insights/webtest/.test/min/main.test.bicep @@ -51,6 +51,7 @@ module testDeployment '../../main.bicep' = { params: { name: '${namePrefix}${serviceShort}001' tags: { + 'hidden-title': 'This is visible in the resource name' 'hidden-link:${nestedDependencies.outputs.appInsightResourceId}': 'Resource' } enableDefaultTelemetry: enableDefaultTelemetry 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/.test/common/dependencies.bicep b/modules/key-vault/vault/.test/common/dependencies.bicep index 73944d7f06..f433490224 100644 --- a/modules/key-vault/vault/.test/common/dependencies.bicep +++ b/modules/key-vault/vault/.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.KeyVault' diff --git a/modules/key-vault/vault/.test/common/main.test.bicep b/modules/key-vault/vault/.test/common/main.test.bicep index 0d82e9293e..780dfdd843 100644 --- a/modules/key-vault/vault/.test/common/main.test.bicep +++ b/modules/key-vault/vault/.test/common/main.test.bicep @@ -165,6 +165,7 @@ module testDeployment '../../main.bicep' = { service: 'vault' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -201,6 +202,7 @@ module testDeployment '../../main.bicep' = { } softDeleteRetentionInDays: 7 tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/key-vault/vault/.test/pe/dependencies.bicep b/modules/key-vault/vault/.test/pe/dependencies.bicep index a52dc4dc09..4e44ac0dc4 100644 --- a/modules/key-vault/vault/.test/pe/dependencies.bicep +++ b/modules/key-vault/vault/.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) } } ] diff --git a/modules/key-vault/vault/.test/pe/main.test.bicep b/modules/key-vault/vault/.test/pe/main.test.bicep index c3671f0aa0..2583895c37 100644 --- a/modules/key-vault/vault/.test/pe/main.test.bicep +++ b/modules/key-vault/vault/.test/pe/main.test.bicep @@ -61,12 +61,14 @@ module testDeployment '../../main.bicep' = { service: 'vault' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/logic/workflow/.test/common/main.test.bicep index d5d815a1ba..743b19f8a1 100644 --- a/modules/logic/workflow/.test/common/main.test.bicep +++ b/modules/logic/workflow/.test/common/main.test.bicep @@ -81,6 +81,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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..4f7b46494d 100644 --- a/modules/machine-learning-services/workspace/.test/common/dependencies.bicep +++ b/modules/machine-learning-services/workspace/.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) } } ] diff --git a/modules/machine-learning-services/workspace/.test/common/main.test.bicep b/modules/machine-learning-services/workspace/.test/common/main.test.bicep index 8ef9866ca3..a50621023c 100644 --- a/modules/machine-learning-services/workspace/.test/common/main.test.bicep +++ b/modules/machine-learning-services/workspace/.test/common/main.test.bicep @@ -119,6 +119,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -138,6 +139,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/machine-learning-services/workspace/.test/encr/dependencies.bicep b/modules/machine-learning-services/workspace/.test/encr/dependencies.bicep index f0bbffab09..b4446ffb5c 100644 --- a/modules/machine-learning-services/workspace/.test/encr/dependencies.bicep +++ b/modules/machine-learning-services/workspace/.test/encr/dependencies.bicep @@ -33,7 +33,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/machine-learning-services/workspace/.test/encr/main.test.bicep b/modules/machine-learning-services/workspace/.test/encr/main.test.bicep index 9bdaa24743..258e4cb2ec 100644 --- a/modules/machine-learning-services/workspace/.test/encr/main.test.bicep +++ b/modules/machine-learning-services/workspace/.test/encr/main.test.bicep @@ -75,6 +75,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -86,6 +87,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/maintenance/maintenance-configuration/.test/common/main.test.bicep index 0033cd7874..28cb45ab39 100644 --- a/modules/maintenance/maintenance-configuration/.test/common/main.test.bicep +++ b/modules/maintenance/maintenance-configuration/.test/common/main.test.bicep @@ -52,6 +52,7 @@ module testDeployment '../../main.bicep' = { extensionProperties: {} lock: 'CanNotDelete' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/managed-identity/user-assigned-identity/.test/common/main.test.bicep index 0add0f4fdd..ba1255c658 100644 --- a/modules/managed-identity/user-assigned-identity/.test/common/main.test.bicep +++ b/modules/managed-identity/user-assigned-identity/.test/common/main.test.bicep @@ -60,6 +60,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/nfs3/main.test.bicep b/modules/net-app/net-app-account/.test/nfs3/main.test.bicep index b2ddf7fe4d..962e223224 100644 --- a/modules/net-app/net-app-account/.test/nfs3/main.test.bicep +++ b/modules/net-app/net-app-account/.test/nfs3/main.test.bicep @@ -129,6 +129,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Contact: 'test.user@testcompany.com' CostCenter: '7890' Environment: 'Non-Prod' 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/.test/nfs41/main.test.bicep b/modules/net-app/net-app-account/.test/nfs41/main.test.bicep index 2ef7beb8c2..f87ae67141 100644 --- a/modules/net-app/net-app-account/.test/nfs41/main.test.bicep +++ b/modules/net-app/net-app-account/.test/nfs41/main.test.bicep @@ -138,6 +138,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Contact: 'test.user@testcompany.com' CostCenter: '7890' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/application-gateway-web-application-firewall-policy/.test/common/main.test.bicep index 50ccd17ae1..f9b166f85c 100644 --- a/modules/network/application-gateway-web-application-firewall-policy/.test/common/main.test.bicep +++ b/modules/network/application-gateway-web-application-firewall-policy/.test/common/main.test.bicep @@ -61,6 +61,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: '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..33fee444d5 100644 --- a/modules/network/application-gateway/.test/common/dependencies.bicep +++ b/modules/network/application-gateway/.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) } } ] diff --git a/modules/network/application-gateway/.test/common/main.test.bicep b/modules/network/application-gateway/.test/common/main.test.bicep index c104f55dd6..f6ad1eef4e 100644 --- a/modules/network/application-gateway/.test/common/main.test.bicep +++ b/modules/network/application-gateway/.test/common/main.test.bicep @@ -437,6 +437,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/network/application-security-group/.test/common/main.test.bicep index fd3c6e3724..8f996a1349 100644 --- a/modules/network/application-security-group/.test/common/main.test.bicep +++ b/modules/network/application-security-group/.test/common/main.test.bicep @@ -60,6 +60,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/addpip/main.test.bicep b/modules/network/azure-firewall/.test/addpip/main.test.bicep index 8948642fa1..b1117edf58 100644 --- a/modules/network/azure-firewall/.test/addpip/main.test.bicep +++ b/modules/network/azure-firewall/.test/addpip/main.test.bicep @@ -72,6 +72,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/network/azure-firewall/.test/common/main.test.bicep index 3e0a1db6cc..0bac54906a 100644 --- a/modules/network/azure-firewall/.test/common/main.test.bicep +++ b/modules/network/azure-firewall/.test/common/main.test.bicep @@ -168,6 +168,7 @@ module testDeployment '../../main.bicep' = { '3' ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/custompip/main.test.bicep b/modules/network/azure-firewall/.test/custompip/main.test.bicep index 3a01eeb091..a1f03ffaa9 100644 --- a/modules/network/azure-firewall/.test/custompip/main.test.bicep +++ b/modules/network/azure-firewall/.test/custompip/main.test.bicep @@ -76,6 +76,7 @@ module testDeployment '../../main.bicep' = { skuTier: 'Regional' } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/network/azure-firewall/.test/hubcommon/main.test.bicep b/modules/network/azure-firewall/.test/hubcommon/main.test.bicep index a41835076c..eff51c688e 100644 --- a/modules/network/azure-firewall/.test/hubcommon/main.test.bicep +++ b/modules/network/azure-firewall/.test/hubcommon/main.test.bicep @@ -59,6 +59,7 @@ module testDeployment '../../main.bicep' = { } } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/network/bastion-host/.test/common/main.test.bicep index 5086feb3dd..35ab2e3670 100644 --- a/modules/network/bastion-host/.test/common/main.test.bicep +++ b/modules/network/bastion-host/.test/common/main.test.bicep @@ -88,6 +88,7 @@ module testDeployment '../../main.bicep' = { scaleUnits: 4 skuName: 'Standard' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/custompip/main.test.bicep b/modules/network/bastion-host/.test/custompip/main.test.bicep index 6657e745ac..dd4c5311cb 100644 --- a/modules/network/bastion-host/.test/custompip/main.test.bicep +++ b/modules/network/bastion-host/.test/custompip/main.test.bicep @@ -76,6 +76,7 @@ module testDeployment '../../main.bicep' = { skuTier: 'Regional' } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/vnet2vnet/main.test.bicep b/modules/network/connection/.test/vnet2vnet/main.test.bicep index 4352476ec7..5d1cbca2c3 100644 --- a/modules/network/connection/.test/vnet2vnet/main.test.bicep +++ b/modules/network/connection/.test/vnet2vnet/main.test.bicep @@ -69,6 +69,7 @@ module testDeployment '../../main.bicep' = { connectionType: 'Vnet2Vnet' vpnSharedKey: password tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/ddos-protection-plan/.test/common/main.test.bicep index 7993ab2396..fa1ddafb22 100644 --- a/modules/network/ddos-protection-plan/.test/common/main.test.bicep +++ b/modules/network/ddos-protection-plan/.test/common/main.test.bicep @@ -60,6 +60,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/common/main.test.bicep b/modules/network/dns-forwarding-ruleset/.test/common/main.test.bicep index 9c4793baaa..fb7c7a3a91 100644 --- a/modules/network/dns-forwarding-ruleset/.test/common/main.test.bicep +++ b/modules/network/dns-forwarding-ruleset/.test/common/main.test.bicep @@ -82,6 +82,7 @@ module testDeployment '../../main.bicep' = { ] lock: 'CanNotDelete' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/network/dns-resolver/.test/common/main.test.bicep index d1abd5d6a1..87c839c618 100644 --- a/modules/network/dns-resolver/.test/common/main.test.bicep +++ b/modules/network/dns-resolver/.test/common/main.test.bicep @@ -64,6 +64,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/network/dns-zone/.test/common/main.test.bicep index ae1112af4f..7fec103202 100644 --- a/modules/network/dns-zone/.test/common/main.test.bicep +++ b/modules/network/dns-zone/.test/common/main.test.bicep @@ -224,6 +224,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/express-route-circuit/.test/common/main.test.bicep index a9770a8c30..054fed2490 100644 --- a/modules/network/express-route-circuit/.test/common/main.test.bicep +++ b/modules/network/express-route-circuit/.test/common/main.test.bicep @@ -84,6 +84,7 @@ module testDeployment '../../main.bicep' = { skuTier: 'Standard' allowClassicOperations: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/express-route-gateway/.test/common/main.test.bicep index 899678bc3a..084804abeb 100644 --- a/modules/network/express-route-gateway/.test/common/main.test.bicep +++ b/modules/network/express-route-gateway/.test/common/main.test.bicep @@ -50,6 +50,7 @@ module testDeployment '../../main.bicep' = { enableDefaultTelemetry: enableDefaultTelemetry name: '${namePrefix}${serviceShort}001' tags: { + 'hidden-title': 'This is visible in the resource name' hello: 'world' } autoScaleConfigurationBoundsMin: 2 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/.test/common/main.test.bicep b/modules/network/firewall-policy/.test/common/main.test.bicep index fa82de5abc..bf8c202a14 100644 --- a/modules/network/firewall-policy/.test/common/main.test.bicep +++ b/modules/network/firewall-policy/.test/common/main.test.bicep @@ -80,6 +80,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/network/front-door-web-application-firewall-policy/.test/common/main.test.bicep index c5b116d736..838318de95 100644 --- a/modules/network/front-door-web-application-firewall-policy/.test/common/main.test.bicep +++ b/modules/network/front-door-web-application-firewall-policy/.test/common/main.test.bicep @@ -114,6 +114,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/front-door/.test/common/main.test.bicep index 085d2e8d20..c8ce73be84 100644 --- a/modules/network/front-door/.test/common/main.test.bicep +++ b/modules/network/front-door/.test/common/main.test.bicep @@ -149,6 +149,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/ip-group/.test/common/main.test.bicep index 9a31f23f82..3dad1a2400 100644 --- a/modules/network/ip-group/.test/common/main.test.bicep +++ b/modules/network/ip-group/.test/common/main.test.bicep @@ -64,6 +64,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/common/main.test.bicep b/modules/network/load-balancer/.test/common/main.test.bicep index 0ad2ff1ec7..79ce0f2cbd 100644 --- a/modules/network/load-balancer/.test/common/main.test.bicep +++ b/modules/network/load-balancer/.test/common/main.test.bicep @@ -159,6 +159,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/network/load-balancer/.test/internal/dependencies.bicep b/modules/network/load-balancer/.test/internal/dependencies.bicep index 6e3ab14105..e5b8f3fe0a 100644 --- a/modules/network/load-balancer/.test/internal/dependencies.bicep +++ b/modules/network/load-balancer/.test/internal/dependencies.bicep @@ -22,7 +22,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/load-balancer/.test/internal/main.test.bicep b/modules/network/load-balancer/.test/internal/main.test.bicep index b7f877c493..0e828f0415 100644 --- a/modules/network/load-balancer/.test/internal/main.test.bicep +++ b/modules/network/load-balancer/.test/internal/main.test.bicep @@ -133,6 +133,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/network/local-network-gateway/.test/common/main.test.bicep index 22bfea510d..eb7d4a2d7a 100644 --- a/modules/network/local-network-gateway/.test/common/main.test.bicep +++ b/modules/network/local-network-gateway/.test/common/main.test.bicep @@ -66,6 +66,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/nat-gateway/.test/common/main.test.bicep index 733add4379..8bb8083fdd 100644 --- a/modules/network/nat-gateway/.test/common/main.test.bicep +++ b/modules/network/nat-gateway/.test/common/main.test.bicep @@ -79,6 +79,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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..b3a10d32f6 100644 --- a/modules/network/network-interface/.test/common/dependencies.bicep +++ b/modules/network/network-interface/.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/network-interface/.test/common/main.test.bicep b/modules/network/network-interface/.test/common/main.test.bicep index ba8beced0c..50737c3734 100644 --- a/modules/network/network-interface/.test/common/main.test.bicep +++ b/modules/network/network-interface/.test/common/main.test.bicep @@ -105,6 +105,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/network/network-interface/.test/min/dependencies.bicep b/modules/network/network-interface/.test/min/dependencies.bicep index b81c96bf15..4a0984bd09 100644 --- a/modules/network/network-interface/.test/min/dependencies.bicep +++ b/modules/network/network-interface/.test/min/dependencies.bicep @@ -19,7 +19,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] 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/.test/common/main.test.bicep b/modules/network/network-manager/.test/common/main.test.bicep index fa452d335a..1ebb51582a 100644 --- a/modules/network/network-manager/.test/common/main.test.bicep +++ b/modules/network/network-manager/.test/common/main.test.bicep @@ -243,6 +243,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/network-security-group/.test/common/main.test.bicep index fabfb5ecf0..e527049267 100644 --- a/modules/network/network-security-group/.test/common/main.test.bicep +++ b/modules/network/network-security-group/.test/common/main.test.bicep @@ -143,6 +143,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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..c20f841f30 100644 --- a/modules/network/network-watcher/.test/common/dependencies.bicep +++ b/modules/network/network-watcher/.test/common/dependencies.bicep @@ -35,7 +35,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/network/network-watcher/.test/common/main.test.bicep b/modules/network/network-watcher/.test/common/main.test.bicep index 12c7d3deaa..64e2265f18 100644 --- a/modules/network/network-watcher/.test/common/main.test.bicep +++ b/modules/network/network-watcher/.test/common/main.test.bicep @@ -149,6 +149,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..f4ff1fbf54 100644 --- a/modules/network/private-dns-zone/.test/common/dependencies.bicep +++ b/modules/network/private-dns-zone/.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) } } ] diff --git a/modules/network/private-dns-zone/.test/common/main.test.bicep b/modules/network/private-dns-zone/.test/common/main.test.bicep index e807dc38ec..175acecf7f 100644 --- a/modules/network/private-dns-zone/.test/common/main.test.bicep +++ b/modules/network/private-dns-zone/.test/common/main.test.bicep @@ -226,6 +226,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..a4bc9dabca 100644 --- a/modules/network/private-endpoint/.test/common/dependencies.bicep +++ b/modules/network/private-endpoint/.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/private-endpoint/.test/common/main.test.bicep b/modules/network/private-endpoint/.test/common/main.test.bicep index f9bbeac8c2..548ffb6f74 100644 --- a/modules/network/private-endpoint/.test/common/main.test.bicep +++ b/modules/network/private-endpoint/.test/common/main.test.bicep @@ -89,6 +89,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/network/private-endpoint/.test/min/dependencies.bicep b/modules/network/private-endpoint/.test/min/dependencies.bicep index 536bf16704..a2a1d93da2 100644 --- a/modules/network/private-endpoint/.test/min/dependencies.bicep +++ b/modules/network/private-endpoint/.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) } } ] 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/common/main.test.bicep b/modules/network/private-link-service/.test/common/main.test.bicep index ebd9f85903..76599c870e 100644 --- a/modules/network/private-link-service/.test/common/main.test.bicep +++ b/modules/network/private-link-service/.test/common/main.test.bicep @@ -93,6 +93,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/network/public-ip-address/.test/common/main.test.bicep index b5fa77c643..abe179fbf3 100644 --- a/modules/network/public-ip-address/.test/common/main.test.bicep +++ b/modules/network/public-ip-address/.test/common/main.test.bicep @@ -85,6 +85,7 @@ module testDeployment '../../main.bicep' = { '3' ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/public-ip-prefix/.test/common/main.test.bicep index 384c539b36..edaa6063a0 100644 --- a/modules/network/public-ip-prefix/.test/common/main.test.bicep +++ b/modules/network/public-ip-prefix/.test/common/main.test.bicep @@ -61,6 +61,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/route-table/.test/common/main.test.bicep index c9550c92b8..4fafb95fe9 100644 --- a/modules/network/route-table/.test/common/main.test.bicep +++ b/modules/network/route-table/.test/common/main.test.bicep @@ -70,6 +70,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/service-endpoint-policy/.test/common/main.test.bicep index ed3313243e..a558092313 100644 --- a/modules/network/service-endpoint-policy/.test/common/main.test.bicep +++ b/modules/network/service-endpoint-policy/.test/common/main.test.bicep @@ -60,6 +60,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/trafficmanagerprofile/.test/common/main.test.bicep index 38180305f9..7111fdb6dd 100644 --- a/modules/network/trafficmanagerprofile/.test/common/main.test.bicep +++ b/modules/network/trafficmanagerprofile/.test/common/main.test.bicep @@ -79,6 +79,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/virtual-hub/.test/common/main.test.bicep index a12d123e18..b4901c097a 100644 --- a/modules/network/virtual-hub/.test/common/main.test.bicep +++ b/modules/network/virtual-hub/.test/common/main.test.bicep @@ -80,6 +80,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/aadvpn/main.test.bicep b/modules/network/virtual-network-gateway/.test/aadvpn/main.test.bicep index 27d46474cd..5bf21e6ea3 100644 --- a/modules/network/virtual-network-gateway/.test/aadvpn/main.test.bicep +++ b/modules/network/virtual-network-gateway/.test/aadvpn/main.test.bicep @@ -102,6 +102,7 @@ module testDeployment '../../main.bicep' = { } vpnType: 'RouteBased' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/expressRoute/main.test.bicep b/modules/network/virtual-network-gateway/.test/expressRoute/main.test.bicep index 9f100cf2ac..39bc9fdce8 100644 --- a/modules/network/virtual-network-gateway/.test/expressRoute/main.test.bicep +++ b/modules/network/virtual-network-gateway/.test/expressRoute/main.test.bicep @@ -84,6 +84,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Contact: 'test.user@testcompany.com' CostCenter: '' Environment: 'Validation' 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/.test/vpn/main.test.bicep b/modules/network/virtual-network-gateway/.test/vpn/main.test.bicep index fdc18c8d60..675a234c1e 100644 --- a/modules/network/virtual-network-gateway/.test/vpn/main.test.bicep +++ b/modules/network/virtual-network-gateway/.test/vpn/main.test.bicep @@ -91,6 +91,7 @@ module testDeployment '../../main.bicep' = { ] vpnType: 'RouteBased' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/network/virtual-network/.test/common/main.test.bicep index 33c4c94f4a..c0552ce142 100644 --- a/modules/network/virtual-network/.test/common/main.test.bicep +++ b/modules/network/virtual-network/.test/common/main.test.bicep @@ -59,6 +59,7 @@ module diagnosticDependencies '../../../../.shared/.templates/diagnostic.depende // Test Execution // // ============== // +var addressPrefix = '10.0.0.0/16' module testDeployment '../../main.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' @@ -66,7 +67,7 @@ module testDeployment '../../main.bicep' = { enableDefaultTelemetry: enableDefaultTelemetry name: '${namePrefix}${serviceShort}001' addressPrefixes: [ - '10.0.0.0/16' + addressPrefix ] diagnosticStorageAccountId: diagnosticDependencies.outputs.storageAccountResourceId diagnosticWorkspaceId: diagnosticDependencies.outputs.logAnalyticsWorkspaceResourceId @@ -89,11 +90,11 @@ module testDeployment '../../main.bicep' = { flowTimeoutInMinutes: 20 subnets: [ { - addressPrefix: '10.0.255.0/24' + addressPrefix: cidrSubnet(addressPrefix, 24, 0) name: 'GatewaySubnet' } { - addressPrefix: '10.0.0.0/24' + addressPrefix: cidrSubnet(addressPrefix, 24, 1) name: '${namePrefix}-az-subnet-x-001' networkSecurityGroupId: nestedDependencies.outputs.networkSecurityGroupResourceId roleAssignments: [ @@ -116,7 +117,7 @@ module testDeployment '../../main.bicep' = { ] } { - addressPrefix: '10.0.3.0/24' + addressPrefix: cidrSubnet(addressPrefix, 24, 2) delegations: [ { name: 'netappDel' @@ -128,13 +129,14 @@ module testDeployment '../../main.bicep' = { name: '${namePrefix}-az-subnet-x-002' } { - addressPrefix: '10.0.6.0/24' + addressPrefix: cidrSubnet(addressPrefix, 24, 3) name: '${namePrefix}-az-subnet-x-003' privateEndpointNetworkPolicies: 'Disabled' privateLinkServiceNetworkPolicies: 'Enabled' } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/network/virtual-network/.test/vnetPeering/dependencies.bicep b/modules/network/virtual-network/.test/vnetPeering/dependencies.bicep index 6cba4515d9..b600e9ea7e 100644 --- a/modules/network/virtual-network/.test/vnetPeering/dependencies.bicep +++ b/modules/network/virtual-network/.test/vnetPeering/dependencies.bicep @@ -19,7 +19,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-network/.test/vnetPeering/main.test.bicep b/modules/network/virtual-network/.test/vnetPeering/main.test.bicep index f24b8866e3..f1c57ad4c6 100644 --- a/modules/network/virtual-network/.test/vnetPeering/main.test.bicep +++ b/modules/network/virtual-network/.test/vnetPeering/main.test.bicep @@ -72,6 +72,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/network/virtual-network/README.md b/modules/network/virtual-network/README.md index 9ff575ba97..2664550387 100644 --- a/modules/network/virtual-network/README.md +++ b/modules/network/virtual-network/README.md @@ -375,7 +375,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { params: { // Required parameters addressPrefixes: [ - '10.0.0.0/16' + '' ] name: 'nvncom001' // Non-required parameters @@ -401,11 +401,11 @@ module virtualNetwork './network/virtual-network/main.bicep' = { ] subnets: [ { - addressPrefix: '10.0.255.0/24' + addressPrefix: '' name: 'GatewaySubnet' } { - addressPrefix: '10.0.0.0/24' + addressPrefix: '' name: 'az-subnet-x-001' networkSecurityGroupId: '' roleAssignments: [ @@ -428,7 +428,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { ] } { - addressPrefix: '10.0.3.0/24' + addressPrefix: '' delegations: [ { name: 'netappDel' @@ -440,7 +440,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { name: 'az-subnet-x-002' } { - addressPrefix: '10.0.6.0/24' + addressPrefix: '' name: 'az-subnet-x-003' privateEndpointNetworkPolicies: 'Disabled' privateLinkServiceNetworkPolicies: 'Enabled' @@ -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' } } @@ -469,7 +470,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { // Required parameters "addressPrefixes": { "value": [ - "10.0.0.0/16" + "" ] }, "name": { @@ -517,11 +518,11 @@ module virtualNetwork './network/virtual-network/main.bicep' = { "subnets": { "value": [ { - "addressPrefix": "10.0.255.0/24", + "addressPrefix": "", "name": "GatewaySubnet" }, { - "addressPrefix": "10.0.0.0/24", + "addressPrefix": "", "name": "az-subnet-x-001", "networkSecurityGroupId": "", "roleAssignments": [ @@ -544,7 +545,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { ] }, { - "addressPrefix": "10.0.3.0/24", + "addressPrefix": "", "delegations": [ { "name": "netappDel", @@ -556,7 +557,7 @@ module virtualNetwork './network/virtual-network/main.bicep' = { "name": "az-subnet-x-002" }, { - "addressPrefix": "10.0.6.0/24", + "addressPrefix": "", "name": "az-subnet-x-003", "privateEndpointNetworkPolicies": "Disabled", "privateLinkServiceNetworkPolicies": "Enabled" @@ -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/.test/common/main.test.bicep b/modules/network/virtual-wan/.test/common/main.test.bicep index 06e0f13a15..5b281b7b92 100644 --- a/modules/network/virtual-wan/.test/common/main.test.bicep +++ b/modules/network/virtual-wan/.test/common/main.test.bicep @@ -64,6 +64,7 @@ module testDeployment '../../main.bicep' = { ] type: 'Basic' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/vpn-gateway/.test/common/main.test.bicep index c2ddfebd0c..757556890f 100644 --- a/modules/network/vpn-gateway/.test/common/main.test.bicep +++ b/modules/network/vpn-gateway/.test/common/main.test.bicep @@ -88,6 +88,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/network/vpn-site/.test/common/main.test.bicep index 14717127ed..e1b0470cd9 100644 --- a/modules/network/vpn-site/.test/common/main.test.bicep +++ b/modules/network/vpn-site/.test/common/main.test.bicep @@ -53,6 +53,7 @@ module testDeployment '../../main.bicep' = { virtualWanId: nestedDependencies.outputs.virtualWWANResourceId lock: 'CanNotDelete' tags: { + 'hidden-title': 'This is visible in the resource name' tagA: 'valueA' tagB: 'valueB' } 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/.test/adv/main.test.bicep b/modules/operational-insights/workspace/.test/adv/main.test.bicep index cd02694a03..f449c7cc6d 100644 --- a/modules/operational-insights/workspace/.test/adv/main.test.bicep +++ b/modules/operational-insights/workspace/.test/adv/main.test.bicep @@ -286,6 +286,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/operational-insights/workspace/.test/common/main.test.bicep b/modules/operational-insights/workspace/.test/common/main.test.bicep index 080238e35c..3831bb5238 100644 --- a/modules/operational-insights/workspace/.test/common/main.test.bicep +++ b/modules/operational-insights/workspace/.test/common/main.test.bicep @@ -203,6 +203,7 @@ module testDeployment '../../main.bicep' = { ] useResourcePermissions: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/operational-insights/workspace/README.md b/modules/operational-insights/workspace/README.md index 4d677b8b5d..6c7f72648d 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/.test/common/main.test.bicep b/modules/power-bi-dedicated/capacity/.test/common/main.test.bicep index 60ab942243..8a9b62ee77 100644 --- a/modules/power-bi-dedicated/capacity/.test/common/main.test.bicep +++ b/modules/power-bi-dedicated/capacity/.test/common/main.test.bicep @@ -64,6 +64,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/purview/account/.test/common/main.test.bicep index 24f46c7d6e..56796e54f5 100644 --- a/modules/purview/account/.test/common/main.test.bicep +++ b/modules/purview/account/.test/common/main.test.bicep @@ -65,6 +65,7 @@ module testDeployment '../../main.bicep' = { name: '${namePrefix}${serviceShort}001' location: location tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -96,6 +97,7 @@ module testDeployment '../../main.bicep' = { service: 'account' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -111,6 +113,7 @@ module testDeployment '../../main.bicep' = { service: 'portal' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -126,6 +129,7 @@ module testDeployment '../../main.bicep' = { service: 'blob' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -141,6 +145,7 @@ module testDeployment '../../main.bicep' = { service: 'queue' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -156,6 +161,7 @@ module testDeployment '../../main.bicep' = { service: 'namespace' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..e18632bb52 100644 --- a/modules/recovery-services/vault/.test/common/dependencies.bicep +++ b/modules/recovery-services/vault/.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) } } ] diff --git a/modules/recovery-services/vault/.test/common/main.test.bicep b/modules/recovery-services/vault/.test/common/main.test.bicep index d2640a4acd..dc9857d7c9 100644 --- a/modules/recovery-services/vault/.test/common/main.test.bicep +++ b/modules/recovery-services/vault/.test/common/main.test.bicep @@ -324,6 +324,7 @@ module testDeployment '../../main.bicep' = { service: 'AzureSiteRecovery' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -352,6 +353,7 @@ module testDeployment '../../main.bicep' = { } } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/recovery-services/vault/.test/dr/main.test.bicep b/modules/recovery-services/vault/.test/dr/main.test.bicep index d2b08c82ee..4e4ad6096d 100644 --- a/modules/recovery-services/vault/.test/dr/main.test.bicep +++ b/modules/recovery-services/vault/.test/dr/main.test.bicep @@ -97,6 +97,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..cf1b2ab392 100644 --- a/modules/relay/namespace/.test/common/dependencies.bicep +++ b/modules/relay/namespace/.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) } } ] diff --git a/modules/relay/namespace/.test/common/main.test.bicep b/modules/relay/namespace/.test/common/main.test.bicep index 33dc81515e..3dd433d28f 100644 --- a/modules/relay/namespace/.test/common/main.test.bicep +++ b/modules/relay/namespace/.test/common/main.test.bicep @@ -67,6 +67,7 @@ module testDeployment '../../main.bicep' = { lock: 'CanNotDelete' skuName: 'Standard' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -162,6 +163,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/relay/namespace/.test/pe/dependencies.bicep b/modules/relay/namespace/.test/pe/dependencies.bicep index e78fb9a0d8..c63bafc918 100644 --- a/modules/relay/namespace/.test/pe/dependencies.bicep +++ b/modules/relay/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) } } ] diff --git a/modules/relay/namespace/.test/pe/main.test.bicep b/modules/relay/namespace/.test/pe/main.test.bicep index 2130153af8..a2d978e556 100644 --- a/modules/relay/namespace/.test/pe/main.test.bicep +++ b/modules/relay/namespace/.test/pe/main.test.bicep @@ -60,12 +60,14 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/resource-graph/query/.test/common/main.test.bicep index 951357a337..3c64dc9dba 100644 --- a/modules/resource-graph/query/.test/common/main.test.bicep +++ b/modules/resource-graph/query/.test/common/main.test.bicep @@ -60,6 +60,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/cli/main.test.bicep b/modules/resources/deployment-script/.test/cli/main.test.bicep index ffd9c25da3..fe7f95dc0d 100644 --- a/modules/resources/deployment-script/.test/cli/main.test.bicep +++ b/modules/resources/deployment-script/.test/cli/main.test.bicep @@ -62,6 +62,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/resources/deployment-script/.test/ps/main.test.bicep b/modules/resources/deployment-script/.test/ps/main.test.bicep index 70a6f5b44d..25dc575fc1 100644 --- a/modules/resources/deployment-script/.test/ps/main.test.bicep +++ b/modules/resources/deployment-script/.test/ps/main.test.bicep @@ -63,6 +63,7 @@ module testDeployment '../../main.bicep' = { '${nestedDependencies.outputs.managedIdentityResourceId}': {} } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/common/main.test.bicep b/modules/resources/resource-group/.test/common/main.test.bicep index 6fd9f9410c..7cbc7f6c16 100644 --- a/modules/resources/resource-group/.test/common/main.test.bicep +++ b/modules/resources/resource-group/.test/common/main.test.bicep @@ -59,6 +59,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/.test/rg/main.test.bicep b/modules/resources/tags/.test/rg/main.test.bicep index 7382ff8544..02280857f3 100644 --- a/modules/resources/tags/.test/rg/main.test.bicep +++ b/modules/resources/tags/.test/rg/main.test.bicep @@ -42,6 +42,7 @@ module testDeployment '../../main.bicep' = { onlyUpdate: false resourceGroupName: resourceGroup.name tags: { + 'hidden-title': 'This is visible in the resource name' Test: 'Yes' TestToo: 'No' } diff --git a/modules/resources/tags/.test/sub/main.test.bicep b/modules/resources/tags/.test/sub/main.test.bicep index 8ec9338b15..dbf1598ae3 100644 --- a/modules/resources/tags/.test/sub/main.test.bicep +++ b/modules/resources/tags/.test/sub/main.test.bicep @@ -22,6 +22,7 @@ module testDeployment '../../main.bicep' = { params: { onlyUpdate: true tags: { + 'hidden-title': 'This is visible in the resource name' Test: 'Yes' TestToo: 'No' } 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..07a2e7878c 100644 --- a/modules/service-bus/namespace/.test/common/dependencies.bicep +++ b/modules/service-bus/namespace/.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) } } ] diff --git a/modules/service-bus/namespace/.test/common/main.test.bicep b/modules/service-bus/namespace/.test/common/main.test.bicep index dae378b8ce..ff78623745 100644 --- a/modules/service-bus/namespace/.test/common/main.test.bicep +++ b/modules/service-bus/namespace/.test/common/main.test.bicep @@ -67,6 +67,7 @@ module testDeployment '../../main.bicep' = { lock: 'CanNotDelete' skuName: 'Premium' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -192,6 +193,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/service-bus/namespace/.test/encr/dependencies.bicep b/modules/service-bus/namespace/.test/encr/dependencies.bicep index 0c085b0637..91bcb7661d 100644 --- a/modules/service-bus/namespace/.test/encr/dependencies.bicep +++ b/modules/service-bus/namespace/.test/encr/dependencies.bicep @@ -30,7 +30,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/service-bus/namespace/.test/encr/main.test.bicep b/modules/service-bus/namespace/.test/encr/main.test.bicep index 280a4a5fa4..adede3e81f 100644 --- a/modules/service-bus/namespace/.test/encr/main.test.bicep +++ b/modules/service-bus/namespace/.test/encr/main.test.bicep @@ -110,6 +110,7 @@ module testDeployment '../../main.bicep' = { cMKKeyName: nestedDependencies.outputs.keyName cMKUserAssignedIdentityResourceId: nestedDependencies.outputs.managedIdentityResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/service-bus/namespace/.test/pe/dependencies.bicep b/modules/service-bus/namespace/.test/pe/dependencies.bicep index e78fb9a0d8..c63bafc918 100644 --- a/modules/service-bus/namespace/.test/pe/dependencies.bicep +++ b/modules/service-bus/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) } } ] diff --git a/modules/service-bus/namespace/.test/pe/main.test.bicep b/modules/service-bus/namespace/.test/pe/main.test.bicep index 8c8ba261ef..270922fec3 100644 --- a/modules/service-bus/namespace/.test/pe/main.test.bicep +++ b/modules/service-bus/namespace/.test/pe/main.test.bicep @@ -60,12 +60,14 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/cert/main.test.bicep b/modules/service-fabric/cluster/.test/cert/main.test.bicep index 3975d67140..92318e7b59 100644 --- a/modules/service-fabric/cluster/.test/cert/main.test.bicep +++ b/modules/service-fabric/cluster/.test/cert/main.test.bicep @@ -65,6 +65,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/service-fabric/cluster/.test/common/main.test.bicep b/modules/service-fabric/cluster/.test/common/main.test.bicep index 3bc2b68e3d..3d0d8599f6 100644 --- a/modules/service-fabric/cluster/.test/common/main.test.bicep +++ b/modules/service-fabric/cluster/.test/common/main.test.bicep @@ -52,6 +52,7 @@ module testDeployment '../../main.bicep' = { name: '${namePrefix}${serviceShort}001' lock: 'CanNotDelete' tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'Service Fabric' clusterName: '${namePrefix}${serviceShort}001' } 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/.test/common/main.test.bicep b/modules/signal-r-service/signal-r/.test/common/main.test.bicep index c63cd7b43a..45b2ef7a66 100644 --- a/modules/signal-r-service/signal-r/.test/common/main.test.bicep +++ b/modules/signal-r-service/signal-r/.test/common/main.test.bicep @@ -88,6 +88,7 @@ module testDeployment '../../main.bicep' = { service: 'signalr' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -106,6 +107,7 @@ module testDeployment '../../main.bicep' = { ] sku: 'Standard_S1' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/signal-r-service/web-pub-sub/.test/common/main.test.bicep index f13cfb72ff..1e4498f8da 100644 --- a/modules/signal-r-service/web-pub-sub/.test/common/main.test.bicep +++ b/modules/signal-r-service/web-pub-sub/.test/common/main.test.bicep @@ -86,6 +86,7 @@ module testDeployment '../../main.bicep' = { service: 'webpubsub' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -105,6 +106,7 @@ module testDeployment '../../main.bicep' = { sku: 'Standard_S1' systemAssignedIdentity: true tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/pe/main.test.bicep b/modules/signal-r-service/web-pub-sub/.test/pe/main.test.bicep index 401aed1d7f..c2aaac2b49 100644 --- a/modules/signal-r-service/web-pub-sub/.test/pe/main.test.bicep +++ b/modules/signal-r-service/web-pub-sub/.test/pe/main.test.bicep @@ -59,6 +59,7 @@ module testDeployment '../../main.bicep' = { service: 'webpubsub' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -66,6 +67,7 @@ module testDeployment '../../main.bicep' = { ] sku: 'Standard_S1' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/sql/managed-instance/.test/common/main.test.bicep index a57a422cc5..954bb2175c 100644 --- a/modules/sql/managed-instance/.test/common/main.test.bicep +++ b/modules/sql/managed-instance/.test/common/main.test.bicep @@ -146,6 +146,7 @@ module testDeployment '../../main.bicep' = { recurringScansIsEnabled: true storageAccountResourceId: diagnosticDependencies.outputs.storageAccountResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/sql/server/.test/common/main.test.bicep index 87707b719a..e9ccba36a6 100644 --- a/modules/sql/server/.test/common/main.test.bicep +++ b/modules/sql/server/.test/common/main.test.bicep @@ -165,6 +165,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -179,6 +180,7 @@ module testDeployment '../../main.bicep' = { ] restrictOutboundNetworkAccess: 'Disabled' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/pe/main.test.bicep b/modules/sql/server/.test/pe/main.test.bicep index 3edb0fde3a..4be390e0ab 100644 --- a/modules/sql/server/.test/pe/main.test.bicep +++ b/modules/sql/server/.test/pe/main.test.bicep @@ -66,12 +66,14 @@ module testDeployment '../../main.bicep' = { service: 'sqlServer' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/sql/server/.test/secondary/main.test.bicep b/modules/sql/server/.test/secondary/main.test.bicep index d3969b5bd8..6fef08a476 100644 --- a/modules/sql/server/.test/secondary/main.test.bicep +++ b/modules/sql/server/.test/secondary/main.test.bicep @@ -66,6 +66,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/common/main.test.bicep b/modules/storage/storage-account/.test/common/main.test.bicep index 7368878fdc..57323509f2 100644 --- a/modules/storage/storage-account/.test/common/main.test.bicep +++ b/modules/storage/storage-account/.test/common/main.test.bicep @@ -82,6 +82,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -276,6 +277,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/encr/main.test.bicep b/modules/storage/storage-account/.test/encr/main.test.bicep index 83d70d57b2..70659aa8f5 100644 --- a/modules/storage/storage-account/.test/encr/main.test.bicep +++ b/modules/storage/storage-account/.test/encr/main.test.bicep @@ -68,6 +68,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -102,6 +103,7 @@ module testDeployment '../../main.bicep' = { cMKKeyName: nestedDependencies.outputs.keyName cMKUserAssignedIdentityResourceId: nestedDependencies.outputs.managedIdentityResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/storage/storage-account/.test/nfs/main.test.bicep b/modules/storage/storage-account/.test/nfs/main.test.bicep index aea547019d..712fe58733 100644 --- a/modules/storage/storage-account/.test/nfs/main.test.bicep +++ b/modules/storage/storage-account/.test/nfs/main.test.bicep @@ -94,6 +94,7 @@ module testDeployment '../../main.bicep' = { diagnosticEventHubAuthorizationRuleId: diagnosticDependencies.outputs.eventHubAuthorizationRuleId diagnosticEventHubName: diagnosticDependencies.outputs.eventHubNamespaceEventHubName tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/storage/storage-account/.test/v1/main.test.bicep b/modules/storage/storage-account/.test/v1/main.test.bicep index 0482caa2fe..96023bdd36 100644 --- a/modules/storage/storage-account/.test/v1/main.test.bicep +++ b/modules/storage/storage-account/.test/v1/main.test.bicep @@ -44,6 +44,7 @@ module testDeployment '../../main.bicep' = { kind: 'Storage' allowBlobPublicAccess: false tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/synapse/private-link-hub/.test/common/main.test.bicep index a944725281..b34910f326 100644 --- a/modules/synapse/private-link-hub/.test/common/main.test.bicep +++ b/modules/synapse/private-link-hub/.test/common/main.test.bicep @@ -62,6 +62,7 @@ module testDeployment '../../main.bicep' = { service: 'Web' subnetResourceId: nestedDependencies.outputs.subnetResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -83,6 +84,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..c49fab5adc 100644 --- a/modules/synapse/workspace/.test/common/dependencies.bicep +++ b/modules/synapse/workspace/.test/common/dependencies.bicep @@ -30,7 +30,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/synapse/workspace/.test/common/main.test.bicep b/modules/synapse/workspace/.test/common/main.test.bicep index b9e21c6690..f5f4948778 100644 --- a/modules/synapse/workspace/.test/common/main.test.bicep +++ b/modules/synapse/workspace/.test/common/main.test.bicep @@ -90,6 +90,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/synapse/workspace/.test/encrwuai/main.test.bicep b/modules/synapse/workspace/.test/encrwuai/main.test.bicep index 9e8219c3f0..d21ce8959f 100644 --- a/modules/synapse/workspace/.test/encrwuai/main.test.bicep +++ b/modules/synapse/workspace/.test/encrwuai/main.test.bicep @@ -62,6 +62,7 @@ module testDeployment '../../main.bicep' = { cMKKeyName: nestedDependencies.outputs.keyVaultEncryptionKeyName cMKUserAssignedIdentityResourceId: nestedDependencies.outputs.managedIdentityResourceId tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/synapse/workspace/.test/managedvnet/main.test.bicep b/modules/synapse/workspace/.test/managedvnet/main.test.bicep index 8485f5f76e..545c90ea67 100644 --- a/modules/synapse/workspace/.test/managedvnet/main.test.bicep +++ b/modules/synapse/workspace/.test/managedvnet/main.test.bicep @@ -57,6 +57,7 @@ module testDeployment '../../main.bicep' = { tenant().tenantId ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..ec4e08c2d4 100644 --- a/modules/virtual-machine-images/image-template/.test/common/dependencies.bicep +++ b/modules/virtual-machine-images/image-template/.test/common/dependencies.bicep @@ -18,7 +18,7 @@ resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2018- location: location } -var addressPrefix = '10.0.0.0/24' +var addressPrefix = '10.0.0.0/16' resource gallery 'Microsoft.Compute/galleries@2022-03-03' = { name: galleryName @@ -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/.test/common/main.test.bicep b/modules/virtual-machine-images/image-template/.test/common/main.test.bicep index 359e1cab34..d3e92ca621 100644 --- a/modules/virtual-machine-images/image-template/.test/common/main.test.bicep +++ b/modules/virtual-machine-images/image-template/.test/common/main.test.bicep @@ -107,6 +107,7 @@ module testDeployment '../../main.bicep' = { userMsiResourceGroup: resourceGroupName vmSize: 'Standard_D2s_v3' tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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/.test/common/main.test.bicep b/modules/web/connection/.test/common/main.test.bicep index b723942067..d9be8f90e4 100644 --- a/modules/web/connection/.test/common/main.test.bicep +++ b/modules/web/connection/.test/common/main.test.bicep @@ -65,6 +65,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' 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/asev2/main.test.bicep b/modules/web/hosting-environment/.test/asev2/main.test.bicep index 1941d8545e..e15556f50e 100644 --- a/modules/web/hosting-environment/.test/asev2/main.test.bicep +++ b/modules/web/hosting-environment/.test/asev2/main.test.bicep @@ -77,6 +77,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'App Service Environment' hostingEnvironmentName: '${namePrefix}${serviceShort}001' } 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/.test/asev3/main.test.bicep b/modules/web/hosting-environment/.test/asev3/main.test.bicep index 11b13d0ee2..beaf49c542 100644 --- a/modules/web/hosting-environment/.test/asev3/main.test.bicep +++ b/modules/web/hosting-environment/.test/asev3/main.test.bicep @@ -79,6 +79,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' resourceType: 'App Service Environment' hostingEnvironmentName: '${namePrefix}${serviceShort}001' } 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/.test/common/main.test.bicep b/modules/web/serverfarm/.test/common/main.test.bicep index 4d1be19acd..0e5d4b233f 100644 --- a/modules/web/serverfarm/.test/common/main.test.bicep +++ b/modules/web/serverfarm/.test/common/main.test.bicep @@ -85,6 +85,7 @@ module testDeployment '../../main.bicep' = { } ] tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..72e118bc12 100644 --- a/modules/web/site/.test/functionAppCommon/dependencies.bicep +++ b/modules/web/site/.test/functionAppCommon/dependencies.bicep @@ -37,7 +37,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/web/site/.test/functionAppCommon/main.test.bicep b/modules/web/site/.test/functionAppCommon/main.test.bicep index 4c966e89bb..1e12bb9d94 100644 --- a/modules/web/site/.test/functionAppCommon/main.test.bicep +++ b/modules/web/site/.test/functionAppCommon/main.test.bicep @@ -155,6 +155,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } diff --git a/modules/web/site/.test/webAppCommon/dependencies.bicep b/modules/web/site/.test/webAppCommon/dependencies.bicep index 66c92ec819..79da8b010c 100644 --- a/modules/web/site/.test/webAppCommon/dependencies.bicep +++ b/modules/web/site/.test/webAppCommon/dependencies.bicep @@ -31,7 +31,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = { { name: 'defaultSubnet' properties: { - addressPrefix: addressPrefix + addressPrefix: cidrSubnet(addressPrefix, 16, 0) } } ] diff --git a/modules/web/site/.test/webAppCommon/main.test.bicep b/modules/web/site/.test/webAppCommon/main.test.bicep index dd669262c0..1f975aa97d 100644 --- a/modules/web/site/.test/webAppCommon/main.test.bicep +++ b/modules/web/site/.test/webAppCommon/main.test.bicep @@ -90,6 +90,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -134,6 +135,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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..7939cfd2d2 100644 --- a/modules/web/static-site/.test/common/dependencies.bicep +++ b/modules/web/static-site/.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/web/static-site/.test/common/main.test.bicep b/modules/web/static-site/.test/common/main.test.bicep index c83fa1d051..80bb39a5bd 100644 --- a/modules/web/static-site/.test/common/main.test.bicep +++ b/modules/web/static-site/.test/common/main.test.bicep @@ -65,6 +65,7 @@ module testDeployment '../../main.bicep' = { ] } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } @@ -97,6 +98,7 @@ module testDeployment '../../main.bicep' = { resourceId: nestedDependencies.outputs.siteResourceId } tags: { + 'hidden-title': 'This is visible in the resource name' Environment: 'Non-Prod' Role: 'DeploymentValidation' } 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" } }, diff --git a/utilities/tools/Invoke-PipelinesForBranch.ps1 b/utilities/tools/Invoke-PipelinesForBranch.ps1 index 22d3e9e37b..9b2acad2c2 100644 --- a/utilities/tools/Invoke-PipelinesForBranch.ps1 +++ b/utilities/tools/Invoke-PipelinesForBranch.ps1 @@ -29,7 +29,7 @@ Optional. Input parameters to pass into the pipeline. Must match the names of th Required. The path to the workflow. .EXAMPLE -Invoke-GitHubWorkflow -PersonalAccessToken '' -GitHubRepositoryOwner 'Azure' -GitHubRepositoryName 'ResourceModules' -WorkflowFileName 'ms.analysisservices.servers.yml' -TargetBranch 'main' -GitHubPipelineInputs @{ prerelease = 'false'; deploymentValidation = 'false'; removeDeployment = 'true' } +Invoke-GitHubWorkflow -PersonalAccessToken '' -GitHubRepositoryOwner 'Azure' -GitHubRepositoryName 'ResourceModules' -WorkflowFileName 'ms.analysisservices.servers.yml' -TargetBranch 'main' -GitHubPipelineInputs @{ prerelease = 'false'; staticValidation = 'true'; deploymentValidation = 'true'; removeDeployment = 'true' } Trigger the workflow 'ms.analysisservices.servers.yml' with branch 'main' in repository 'Azure/ResourceModules'. #> diff --git a/utilities/tools/Set-ModuleReadMe.ps1 b/utilities/tools/Set-ModuleReadMe.ps1 index ca0f04a51b..2a842e911c 100644 --- a/utilities/tools/Set-ModuleReadMe.ps1 +++ b/utilities/tools/Set-ModuleReadMe.ps1 @@ -730,6 +730,9 @@ function ConvertTo-FormattedJSONParameterObject { if ($line -notlike '*"*"*' -and $line -like '*.*') { # In case of a array value like '[ \n -> resourceGroupResources.outputs.managedIdentityPrincipalId <- \n ]' we'll only show """ $line = '"<{0}>"' -f $line.Split('.')[-1].Trim() + } elseif ($line -match '^\s*[a-zA-Z]+\s*$') { + # If there is simply only a value such as a variable reference, we'll wrap it as a string to replace. For example a reference of a variable `addressPrefix` will be replaced with `""` + $line = '"<{0}>"' -f $line.Trim() } }