Skip to content

Commit

Permalink
Added explicit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Feb 26, 2024
1 parent 47a42d4 commit 846b512
Show file tree
Hide file tree
Showing 42 changed files with 153 additions and 2 deletions.
4 changes: 4 additions & 0 deletions avm/res/batch/batch-account/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/cache/redis/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
resourceType: 'Redis Cache'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
resourceType: 'Redis Cache'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
]
}
}
dependsOn: [
nestedDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
name: 'myCustomLockName'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,8 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,8 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}
4 changes: 4 additions & 0 deletions avm/res/key-vault/vault/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/key-vault/vault/tests/e2e/waf-aligned/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/search/search-service/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,8 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}
3 changes: 3 additions & 0 deletions avm/res/search/search-service/tests/e2e/pe/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,7 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,8 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}
3 changes: 3 additions & 0 deletions avm/res/service-bus/namespace/tests/e2e/encr/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
userAssignedIdentityResourceId: nestedDependencies.outputs.managedIdentityResourceId
}
}
dependsOn: [
nestedDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/service-bus/namespace/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
publicNetworkAccess: 'Enabled'
minimumTlsVersion: '1.2'
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
publicNetworkAccess: 'Enabled'
minimumTlsVersion: '1.2'
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
3 changes: 3 additions & 0 deletions avm/res/sql/server/tests/e2e/admin/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ module testDeployment '../../../main.bicep' = {
principalType: 'Application'
}
}
dependsOn: [
nestedDependencies
]
}
4 changes: 4 additions & 0 deletions avm/res/sql/server/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,8 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}
3 changes: 3 additions & 0 deletions avm/res/sql/server/tests/e2e/secondary/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,7 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
]
}
3 changes: 3 additions & 0 deletions avm/res/sql/server/tests/e2e/vulnAssm/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,7 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
]
}
4 changes: 4 additions & 0 deletions avm/res/sql/server/tests/e2e/waf-aligned/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,8 @@ module testDeployment '../../../main.bicep' = {
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}
4 changes: 4 additions & 0 deletions avm/res/storage/storage-account/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -449,4 +449,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
keyVaultResourceId: nestedDependencies.outputs.keyVaultResourceId
}
}
dependsOn: [
nestedDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
userAssignedIdentityResourceId: nestedDependencies.outputs.managedIdentityResourceId
}
}
dependsOn: [
nestedDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
3 changes: 3 additions & 0 deletions avm/res/synapse/workspace/tests/e2e/defaults/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
defaultDataLakeStorageFilesystem: nestedDependencies.outputs.storageContainerName
sqlAdministratorLogin: 'synwsadmin'
}
dependsOn: [
nestedDependencies
]
}]
4 changes: 3 additions & 1 deletion avm/res/synapse/workspace/tests/e2e/encrwsai/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ targetScope = 'subscription'
metadata name = 'Using encryption with Customer-Managed-Key'
metadata description = 'This instance deploys the module using Customer-Managed-Keys using a System-Assigned Identity to access the Customer-Managed-Key secret.'


// ========== //
// Parameters //
// ========== //
Expand Down Expand Up @@ -66,4 +65,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
encryptionActivateWorkspace: true
location: resourceLocation
}
dependsOn: [
nestedDependencies
]
}]
3 changes: 3 additions & 0 deletions avm/res/synapse/workspace/tests/e2e/encrwuai/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
userAssignedIdentityResourceId: nestedDependencies.outputs.managedIdentityResourceId
}
}
dependsOn: [
nestedDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ targetScope = 'subscription'
metadata name = 'Using managed Vnet'
metadata description = 'This instance deploys the module using a managed Vnet.'


// ========== //
// Parameters //
// ========== //
Expand Down Expand Up @@ -61,4 +60,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
tenant().tenantId
]
}
dependsOn: [
nestedDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/synapse/workspace/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
}
]
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
Role: 'DeploymentValidation'
}
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
alwaysOn: true
}
}
dependsOn: [
nestedDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/web/site/tests/e2e/functionApp.max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
}
]
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/web/site/tests/e2e/waf-aligned/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
vnetRouteAllEnabled: true
publicNetworkAccess: 'Disabled'
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]
3 changes: 3 additions & 0 deletions avm/res/web/site/tests/e2e/webApp.defaults/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
kind: 'app'
serverFarmResourceId: nestedDependencies.outputs.serverFarmResourceId
}
dependsOn: [
nestedDependencies
]
}]
4 changes: 4 additions & 0 deletions avm/res/web/site/tests/e2e/webApp.max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,8 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
vnetRouteAllEnabled: true
publicNetworkAccess: 'Disabled'
}
dependsOn: [
nestedDependencies
diagnosticDependencies
]
}]

0 comments on commit 846b512

Please sign in to comment.