Skip to content

Commit

Permalink
Added usage of CICR function
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Sep 2, 2023
1 parent b424999 commit a307f05
Show file tree
Hide file tree
Showing 210 changed files with 881 additions and 203 deletions.
7 changes: 6 additions & 1 deletion modules/aad/domain-service/.test/common/dependencies.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = {
{
name: 'defaultSubnet'
properties: {
addressPrefix: addressPrefix
addressPrefix: cidrSubnet(addressPrefix, 16, 0)
serviceEndpoints: [
{
service: 'Microsoft.KeyVault'
}
]
}
}
]
Expand Down
2 changes: 2 additions & 0 deletions modules/aad/domain-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down Expand Up @@ -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"
}
}
Expand Down
2 changes: 2 additions & 0 deletions modules/analysis-services/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down Expand Up @@ -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"
}
}
Expand Down
4 changes: 4 additions & 0 deletions modules/api-management/service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down Expand Up @@ -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"
}
}
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -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"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = {
{
name: 'defaultSubnet'
properties: {
addressPrefix: addressPrefix
addressPrefix: cidrSubnet(addressPrefix, 16, 0)
serviceEndpoints: [
{
service: 'Microsoft.KeyVault'
}
]
}
}
]
Expand Down
6 changes: 6 additions & 0 deletions modules/app-configuration/configuration-store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down Expand Up @@ -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"
}
}
Expand Down Expand Up @@ -538,13 +540,15 @@ module configurationStore './app-configuration/configuration-store/main.bicep' =
subnetResourceId: '<subnetResourceId>'
tags: {
Environment: 'Non-Prod'
'hidden-title': 'This is visible in the resource name'
Role: 'DeploymentValidation'
}
}
]
softDeleteRetentionInDays: 1
tags: {
Environment: 'Non-Prod'
'hidden-title': 'This is visible in the resource name'
Role: 'DeploymentValidation'
}
}
Expand Down Expand Up @@ -592,6 +596,7 @@ module configurationStore './app-configuration/configuration-store/main.bicep' =
"subnetResourceId": "<subnetResourceId>",
"tags": {
"Environment": "Non-Prod",
"hidden-title": "This is visible in the resource name",
"Role": "DeploymentValidation"
}
}
Expand All @@ -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"
}
}
Expand Down
8 changes: 6 additions & 2 deletions modules/app/container-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ module containerApp './app/container-app/main.bicep' = {
}
tags: {
Env: 'test'
'hidden-title': 'This is visible in the resource name'
}
userAssignedIdentities: {
'<managedIdentityResourceId>': {}
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -392,6 +394,7 @@ module containerApp './app/container-app/main.bicep' = {
location: '<location>'
tags: {
Env: 'test'
'hidden-title': 'This is visible in the resource name'
}
}
}
Expand Down Expand Up @@ -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"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -37,7 +36,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = {
{
name: 'defaultSubnet'
properties: {
addressPrefix: subnetAddressPrefix
addressPrefix: cidrSubnet(addressPrefix, 16, 0)
}
}
]
Expand Down
4 changes: 3 additions & 1 deletion modules/app/managed-environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
}
Expand Down Expand Up @@ -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"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = {
{
name: 'defaultSubnet'
properties: {
addressPrefix: addressPrefix
addressPrefix: cidrSubnet(addressPrefix, 16, 0)
serviceEndpoints: [
{
service: 'Microsoft.KeyVault'
}
]
}
}
]
Expand Down
6 changes: 6 additions & 0 deletions modules/automation/automation-account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ module automationAccount './automation/automation-account/main.bicep' = {
subnetResourceId: '<subnetResourceId>'
tags: {
Environment: 'Non-Prod'
'hidden-title': 'This is visible in the resource name'
Role: 'DeploymentValidation'
}
}
Expand All @@ -458,6 +459,7 @@ module automationAccount './automation/automation-account/main.bicep' = {
subnetResourceId: '<subnetResourceId>'
tags: {
Environment: 'Non-Prod'
'hidden-title': 'This is visible in the resource name'
Role: 'DeploymentValidation'
}
}
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -667,6 +670,7 @@ module automationAccount './automation/automation-account/main.bicep' = {
"subnetResourceId": "<subnetResourceId>",
"tags": {
"Environment": "Non-Prod",
"hidden-title": "This is visible in the resource name",
"Role": "DeploymentValidation"
}
},
Expand All @@ -680,6 +684,7 @@ module automationAccount './automation/automation-account/main.bicep' = {
"subnetResourceId": "<subnetResourceId>",
"tags": {
"Environment": "Non-Prod",
"hidden-title": "This is visible in the resource name",
"Role": "DeploymentValidation"
}
}
Expand Down Expand Up @@ -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"
}
},
Expand Down
7 changes: 6 additions & 1 deletion modules/batch/batch-account/.test/common/dependencies.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = {
{
name: 'defaultSubnet'
properties: {
addressPrefix: addressPrefix
addressPrefix: cidrSubnet(addressPrefix, 16, 0)
serviceEndpoints: [
{
service: 'Microsoft.KeyVault'
}
]
}
}
]
Expand Down
7 changes: 6 additions & 1 deletion modules/batch/batch-account/.test/encr/dependencies.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = {
{
name: 'defaultSubnet'
properties: {
addressPrefix: addressPrefix
addressPrefix: cidrSubnet(addressPrefix, 16, 0)
serviceEndpoints: [
{
service: 'Microsoft.KeyVault'
}
]
}
}
]
Expand Down
8 changes: 8 additions & 0 deletions modules/batch/batch-account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ module batchAccount './batch/batch-account/main.bicep' = {
subnetResourceId: '<subnetResourceId>'
tags: {
Environment: 'Non-Prod'
'hidden-title': 'This is visible in the resource name'
Role: 'DeploymentValidation'
}
}
Expand All @@ -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'
}
}
Expand Down Expand Up @@ -382,6 +384,7 @@ module batchAccount './batch/batch-account/main.bicep' = {
"subnetResourceId": "<subnetResourceId>",
"tags": {
"Environment": "Non-Prod",
"hidden-title": "This is visible in the resource name",
"Role": "DeploymentValidation"
}
}
Expand All @@ -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"
}
}
Expand Down Expand Up @@ -438,6 +442,7 @@ module batchAccount './batch/batch-account/main.bicep' = {
subnetResourceId: '<subnetResourceId>'
tags: {
Environment: 'Non-Prod'
'hidden-title': 'This is visible in the resource name'
Role: 'DeploymentValidation'
}
}
Expand All @@ -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: {
Expand Down Expand Up @@ -499,6 +505,7 @@ module batchAccount './batch/batch-account/main.bicep' = {
"subnetResourceId": "<subnetResourceId>",
"tags": {
"Environment": "Non-Prod",
"hidden-title": "This is visible in the resource name",
"Role": "DeploymentValidation"
}
}
Expand All @@ -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"
}
},
Expand Down
7 changes: 6 additions & 1 deletion modules/cache/redis/.test/common/dependencies.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2023-04-01' = {
{
name: 'defaultSubnet'
properties: {
addressPrefix: addressPrefix
addressPrefix: cidrSubnet(addressPrefix, 16, 0)
serviceEndpoints: [
{
service: 'Microsoft.KeyVault'
}
]
}
}
]
Expand Down
Loading

0 comments on commit a307f05

Please sign in to comment.