From 911d8b985b38a4c409b87abe44b740793a50eb74 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 8 Nov 2022 11:29:25 +0100 Subject: [PATCH 01/20] resource folder and pipeline references --- .../modulePipelines/ms.aad.domainservices.yml | 1 - .../ms.analysisservices.servers.yml | 1 - .../ms.apimanagement.service.yml | 1 - ...s.appconfiguration.configurationstores.yml | 1 - .../ms.authorization.locks.yml | 1 - .../ms.authorization.policyassignments.yml | 2 - .../ms.authorization.policydefinitions.yml | 1 - .../ms.authorization.policyexemptions.yml | 1 - .../ms.authorization.policysetdefinitions.yml | 1 - .../ms.authorization.roleassignments.yml | 2 - .../ms.authorization.roledefinitions.yml | 1 - .../ms.automation.automationaccounts.yml | 2 - .../ms.batch.batchaccounts.yml | 2 - .../modulePipelines/ms.cache.redis.yml | 2 - .../ms.cognitiveservices.accounts.yml | 2 - .../ms.compute.availabilitysets.yml | 2 - .../ms.compute.diskencryptionsets.yml | 1 - .../modulePipelines/ms.compute.disks.yml | 1 - .../modulePipelines/ms.compute.galleries.yml | 1 - .../modulePipelines/ms.compute.images.yml | 1 - .../ms.compute.proximityplacementgroups.yml | 1 - .../ms.compute.virtualmachines.yml | 1 - .../ms.compute.virtualmachinescalesets.yml | 1 - .../ms.consumption.budgets.yml | 1 - .../ms.containerinstance.containergroups.yml | 1 - .../ms.containerregistry.registries.yml | 1 - .../ms.containerservice.managedclusters.yml | 1 - .../ms.databricks.workspaces.yml | 1 - .../ms.datafactory.factories.yml | 1 - .../ms.dataprotection.backupvaults.yml | 1 - .../ms.dbforpostgresql.flexibleservers.yml | 1 - ...esktopvirtualization.applicationgroups.yml | 1 - .../ms.desktopvirtualization.hostpools.yml | 1 - .../ms.desktopvirtualization.scalingplans.yml | 1 - .../ms.desktopvirtualization.workspaces.yml | 1 - .../ms.documentdb.databaseaccounts.yml | 2 - .../ms.eventgrid.systemtopics.yml | 2 - .../modulePipelines/ms.eventgrid.topics.yml | 1 - .../ms.eventhub.namespaces.yml | 1 - .../ms.healthbot.healthbots.yml | 5 - .../ms.insights.actiongroups.yml | 1 - .../ms.insights.activitylogalerts.yml | 1 - .../ms.insights.components.yml | 1 - .../ms.insights.diagnosticsettings.yml | 2 - .../ms.insights.metricalerts.yml | 1 - .../ms.insights.privatelinkscopes.yml | 1 - .../ms.insights.scheduledqueryrules.yml | 1 - .../modulePipelines/ms.keyvault.vaults.yml | 1 - .../ms.kubernetesconfiguration.extensions.yml | 1 - ...rnetesconfiguration.fluxconfigurations.yml | 1 - .../modulePipelines/ms.logic.workflows.yml | 1 - .../ms.machinelearningservices.workspaces.yml | 1 - ...managedidentity.userassignedidentities.yml | 1 - ...anagedservices.registrationdefinitions.yml | 1 - .../ms.management.managementgroups.yml | 1 - .../ms.netapp.netappaccounts.yml | 1 - .../ms.network.applicationgateways.yml | 2 - ...ngatewaywebapplicationfirewallpolicies.yml | 1 - .../ms.network.applicationsecuritygroups.yml | 1 - .../ms.network.azurefirewalls.yml | 2 - .../ms.network.bastionhosts.yml | 1 - .../ms.network.connections.yml | 1 - .../ms.network.ddosprotectionplans.yml | 1 - .../ms.network.dnsresolvers.yml | 1 - .../ms.network.expressroutecircuits.yml | 1 - .../ms.network.firewallpolicies.yml | 1 - .../modulePipelines/ms.network.frontdoors.yml | 1 - .../modulePipelines/ms.network.ipgroups.yml | 1 - .../ms.network.loadbalancers.yml | 1 - .../ms.network.localnetworkgateways.yml | 1 - .../ms.network.natgateways.yml | 1 - .../ms.network.networkinterfaces.yml | 1 - .../ms.network.networksecuritygroups.yml | 1 - .../ms.network.networkwatchers.yml | 1 - .../ms.network.privatednszones.yml | 1 - .../ms.network.privateendpoints.yml | 1 - .../ms.network.privatelinkservices.yml | 1 - .../ms.network.publicipaddresses.yml | 1 - .../ms.network.publicipprefixes.yml | 1 - .../ms.network.routetables.yml | 1 - .../ms.network.trafficmanagerprofiles.yml | 1 - .../ms.network.virtualhubs.yml | 1 - .../ms.network.virtualnetworkgateways.yml | 1 - .../ms.network.virtualnetworks.yml | 1 - .../ms.network.virtualwans.yml | 1 - .../ms.network.vpngateways.yml | 1 - .../modulePipelines/ms.network.vpnsites.yml | 1 - .../ms.operationalinsights.workspaces.yml | 1 - .../ms.operationsmanagement.solutions.yml | 1 - .../ms.powerbidedicated.capacities.yml | 1 - .../ms.recoveryservices.vaults.yml | 1 - .../ms.resources.deploymentscripts.yml | 1 - .../ms.resources.resourcegroups.yml | 1 - .../modulePipelines/ms.resources.tags.yml | 1 - .../ms.security.azuresecuritycenter.yml | 1 - .../ms.servicebus.namespaces.yml | 1 - .../ms.servicefabric.clusters.yml | 1 - .../ms.signalrservice.webpubsub.yml | 1 - .../ms.sql.managedinstances.yml | 1 - .../modulePipelines/ms.sql.servers.yml | 1 - .../ms.storage.storageaccounts.yml | 1 - .../ms.synapse.privatelinkhubs.yml | 1 - .../modulePipelines/ms.synapse.workspaces.yml | 1 - ...ms.virtualmachineimages.imagetemplates.yml | 1 - .../modulePipelines/ms.web.connections.yml | 1 - .../ms.web.hostingenvironments.yml | 1 - .../modulePipelines/ms.web.serverfarms.yml | 1 - .azuredevops/modulePipelines/ms.web.sites.yml | 1 - .../modulePipelines/ms.web.staticsites.yml | 1 - .../jobs.dependenciesModuleDeployment.yml | 273 --- .../platform.dependencies.yml | 1023 ------------ .github/workflows/ms.aad.domainservices.yml | 1 - .../workflows/ms.analysisservices.servers.yml | 1 - .../workflows/ms.apimanagement.service.yml | 1 - ...s.appconfiguration.configurationstores.yml | 1 - .github/workflows/ms.authorization.locks.yml | 1 - .../ms.authorization.policyassignments.yml | 1 - .../ms.authorization.policydefinitions.yml | 1 - .../ms.authorization.policyexemptions.yml | 1 - .../ms.authorization.policysetdefinitions.yml | 1 - .../ms.authorization.roleassignments.yml | 2 - .../ms.authorization.roledefinitions.yml | 1 - .../ms.automation.automationaccounts.yml | 1 - .github/workflows/ms.batch.batchaccounts.yml | 1 - .github/workflows/ms.cache.redis.yml | 1 - .../ms.cognitiveservices.accounts.yml | 1 - .../workflows/ms.compute.availabilitysets.yml | 1 - .../ms.compute.diskencryptionsets.yml | 3 - .github/workflows/ms.compute.disks.yml | 2 - .github/workflows/ms.compute.galleries.yml | 1 - .github/workflows/ms.compute.images.yml | 2 - .../ms.compute.proximityplacementgroups.yml | 2 - .../workflows/ms.compute.virtualmachines.yml | 1 - .../ms.compute.virtualmachinescalesets.yml | 1 - .github/workflows/ms.consumption.budgets.yml | 2 - .../ms.containerinstance.containergroups.yml | 1 - .../ms.containerregistry.registries.yml | 1 - .../ms.containerservice.managedclusters.yml | 1 - .../workflows/ms.databricks.workspaces.yml | 1 - .../workflows/ms.datafactory.factories.yml | 1 - .../ms.dataprotection.backupvaults.yml | 1 - .../ms.dbforpostgresql.flexibleservers.yml | 1 - ...esktopvirtualization.applicationgroups.yml | 1 - .../ms.desktopvirtualization.hostpools.yml | 1 - .../ms.desktopvirtualization.scalingplans.yml | 1 - .../ms.desktopvirtualization.workspaces.yml | 1 - .../ms.documentdb.databaseaccounts.yml | 1 - .../workflows/ms.eventgrid.systemtopics.yml | 1 - .github/workflows/ms.eventgrid.topics.yml | 2 - .github/workflows/ms.eventhub.namespaces.yml | 1 - .github/workflows/ms.healthbot.healthbots.yml | 1 - .../workflows/ms.insights.actiongroups.yml | 1 - .../ms.insights.activitylogalerts.yml | 1 - .github/workflows/ms.insights.components.yml | 1 - .../ms.insights.diagnosticsettings.yml | 1 - .../workflows/ms.insights.metricalerts.yml | 2 - .../ms.insights.privatelinkscopes.yml | 1 - .../ms.insights.scheduledqueryrules.yml | 1 - .github/workflows/ms.keyvault.vaults.yml | 1 - .../ms.kubernetesconfiguration.extensions.yml | 1 - ...rnetesconfiguration.fluxconfigurations.yml | 1 - .github/workflows/ms.logic.workflows.yml | 1 - .../ms.machinelearningservices.workspaces.yml | 2 - ...managedidentity.userassignedidentities.yml | 1 - ...anagedservices.registrationdefinitions.yml | 1 - .../ms.management.managementgroups.yml | 1 - .../workflows/ms.netapp.netappaccounts.yml | 2 - .../ms.network.applicationgateways.yml | 1 - ...ngatewaywebapplicationfirewallpolicies.yml | 1 - .../ms.network.applicationsecuritygroups.yml | 1 - .../workflows/ms.network.azurefirewalls.yml | 1 - .github/workflows/ms.network.bastionhosts.yml | 1 - .github/workflows/ms.network.connections.yml | 1 - .../ms.network.ddosprotectionplans.yml | 1 - .github/workflows/ms.network.dnsresolvers.yml | 1 - .../ms.network.expressroutecircuits.yml | 1 - .../workflows/ms.network.firewallpolicies.yml | 1 - .github/workflows/ms.network.frontdoors.yml | 1 - .github/workflows/ms.network.ipgroups.yml | 1 - .../workflows/ms.network.loadbalancers.yml | 1 - .../ms.network.localnetworkgateways.yml | 1 - .github/workflows/ms.network.natgateways.yml | 1 - .../ms.network.networkinterfaces.yml | 1 - .../ms.network.networksecuritygroups.yml | 1 - .../workflows/ms.network.networkwatchers.yml | 2 - .../workflows/ms.network.privatednszones.yml | 2 - .../workflows/ms.network.privateendpoints.yml | 1 - .../ms.network.privatelinkservices.yml | 1 - .../ms.network.publicipaddresses.yml | 1 - .../workflows/ms.network.publicipprefixes.yml | 1 - .github/workflows/ms.network.routetables.yml | 1 - .../ms.network.trafficmanagerprofiles.yml | 1 - .github/workflows/ms.network.virtualhubs.yml | 1 - .../ms.network.virtualnetworkgateways.yml | 1 - .../workflows/ms.network.virtualnetworks.yml | 1 - .github/workflows/ms.network.virtualwans.yml | 1 - .github/workflows/ms.network.vpngateways.yml | 1 - .github/workflows/ms.network.vpnsites.yml | 1 - .../ms.operationalinsights.workspaces.yml | 1 - .../ms.operationsmanagement.solutions.yml | 1 - .../ms.powerbidedicated.capacities.yml | 1 - .../workflows/ms.recoveryservices.vaults.yml | 1 - .../ms.resources.deploymentscripts.yml | 1 - .../workflows/ms.resources.resourcegroups.yml | 1 - .github/workflows/ms.resources.tags.yml | 1 - .../ms.security.azuresecuritycenter.yml | 1 - .../workflows/ms.servicebus.namespaces.yml | 1 - .../workflows/ms.servicefabric.clusters.yml | 1 - .../workflows/ms.signalrservice.webpubsub.yml | 1 - .github/workflows/ms.sql.managedinstances.yml | 1 - .github/workflows/ms.sql.servers.yml | 1 - .../workflows/ms.storage.storageaccounts.yml | 1 - .../workflows/ms.synapse.privatelinkhubs.yml | 1 - .github/workflows/ms.synapse.workspaces.yml | 1 - ...ms.virtualmachineimages.imagetemplates.yml | 1 - .github/workflows/ms.web.connections.yml | 1 - .../workflows/ms.web.hostingenvironments.yml | 1 - .github/workflows/ms.web.serverfarms.yml | 1 - .github/workflows/ms.web.sites.yml | 1 - .github/workflows/ms.web.staticsites.yml | 1 - .github/workflows/platform.dependencies.yml | 1487 ----------------- .../parameters/mg.parameters.json | 18 - .../parameters/sub.parameters.json | 18 - .../parameters/parameters.json | 15 - .../parameters/parameters.json | 9 - .../parameters/parameters.json | 15 - .../galleries/parameters/parameters.json | 26 - .../parameters/parameters.json | 9 - .../parameters/vm.parameters.json | 9 - .../parameters/vmss.parameters.json | 9 - .../parameters/parameters.json | 62 - .../parameters/parameters.json | 24 - .../hostpools/parameters/parameters.json | 55 - .../namespaces/parameters/parameters.json | 33 - .../actionGroups/parameters/parameters.json | 35 - .../components/parameters/parameters.json | 12 - .../vaults/parameters/nopr.parameters.json | 44 - .../vaults/parameters/parameters.json | 59 - .../vaults/parameters/pe.parameters.json | 42 - .../vaults/parameters/sqlmi.parameters.json | 63 - .../parameters/parameters.json | 9 - .../parameters/parameters.json | 9 - .../parameters/internal.parameters.json | 76 - .../parameters/pls.parameters.json | 24 - .../parameters/aadds.parameters.json | 39 - .../parameters/apgw.parameters.json | 26 - .../parameters/ase.parameters.json | 39 - .../parameters/bastion.parameters.json | 155 -- .../parameters/parameters.json | 9 - .../parameters/sqlmi.parameters.json | 9 - .../parameters/parameters.json | 9 - .../parameters/automation.parameters.json | 17 - .../parameters/azconfig.parameters.json | 17 - .../parameters/azurecr.parameters.json | 17 - .../parameters/azureml.parameters.json | 17 - .../azurestaticapps.parameters.json | 17 - .../azuresynapse.plh.parameters.json | 17 - .../azuresynapse.workspace.parameters.json | 17 - .../parameters/azurewebsites.parameters.json | 17 - .../parameters/batch.parameters.json | 17 - .../parameters/blob.parameters.json | 17 - .../cognitiveservices.parameters.json | 17 - .../parameters/database.parameters.json | 17 - .../parameters/datafactory.parameters.json | 17 - .../parameters/eventgrid.parameters.json | 17 - .../parameters/file.parameters.json | 17 - .../parameters/monitor.parameters.json | 17 - .../parameters/postgres.parameters.json | 18 - .../parameters/queue.parameters.json | 17 - .../parameters/redis.parameters.json | 17 - .../parameters/servicebus.parameters.json | 17 - .../parameters/siterecovery.parameters.json | 17 - .../parameters/table.parameters.json | 17 - .../parameters/vaultcore.parameters.json | 17 - .../parameters/webpubsub.parameters.json | 17 - .../parameters/apgw.parameters.json | 15 - .../parameters/bas.additional.parameters.json | 15 - .../parameters/bas.parameters.json | 15 - .../parameters/fw.additional.parameters.json | 22 - .../parameters/fw.parameters.json | 22 - .../parameters/lb.min.parameters.json | 15 - .../parameters/lb.parameters.json | 15 - .../routeTables/parameters/parameters.json | 9 - .../parameters/sqlMi.parameters.json | 9 - .../parameters/1.bastion.parameters.json | 23 - .../parameters/10.azfw.parameters.json | 22 - .../parameters/11.azfw.parameters.json | 22 - .../parameters/12.bastion.parameters.json | 23 - .../parameters/13.bastion.parameters.json | 23 - .../parameters/14.postgres.parameters.json | 30 - .../15.vnetGateway.parameters.json.json | 22 - .../parameters/2.vnetpeer01.parameters.json | 23 - .../parameters/3.vnetpeer02.parameters.json | 23 - .../parameters/4.azfw.parameters.json | 22 - .../parameters/5.aks.parameters.json | 33 - .../parameters/6.sqlmi.parameters.json | 32 - .../7.virtualHubConnection.parameters.json | 23 - .../parameters/8.aadds.parameters.json | 29 - .../parameters/9.azfw.parameters.json | 22 - .../parameters/parameters.json | 134 -- .../parameters/appi.parameters.json | 9 - .../workspaces/parameters/aut.parameters.json | 9 - .../workspaces/parameters/parameters.json | 9 - .../workspaces/parameters/sol.parameters.json | 9 - .../vaults/parameters/parameters.json | 264 --- .../parameters/locks.parameters.json | 9 - .../parameters/validation.parameters.json | 9 - .../parameters/fa.parameters.json | 24 - .../parameters/law.parameters.json | 21 - .../parameters/parameters.json | 38 - .../parameters/synapse01.parameters.json | 21 - .../parameters/synapse02.parameters.json | 29 - .../scriptExtensionMasterInstaller.ps1 | 5 - .../serverfarms/parameters/parameters.json | 18 - .../sites/parameters/parameters.json | 15 - .../constructs/StoreVhdToStorage/deploy.bicep | 139 -- .../Copy-VhdToStorageAccount.ps1 | 122 -- .../Remove-ImageTemplate.ps1 | 79 - .../deploymentScripts/Start-ImageTemplate.ps1 | 79 - 319 files changed, 5951 deletions(-) delete mode 100644 .azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml delete mode 100644 .azuredevops/platformPipelines/platform.dependencies.yml delete mode 100644 .github/workflows/platform.dependencies.yml delete mode 100644 utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/mg.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/sub.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Authorization/roleAssignments/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Compute/diskEncryptionSets/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/vm.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/vmss.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/nopr.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/loadBalancers/parameters/internal.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/loadBalancers/parameters/pls.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/aadds.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/automation.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azconfig.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurecr.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azureml.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurestaticapps.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azuresynapse.plh.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azuresynapse.workspace.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurewebsites.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/batch.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/blob.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/cognitiveservices.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/database.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/datafactory.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/eventgrid.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/file.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/monitor.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/postgres.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/queue.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/redis.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/servicebus.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/siterecovery.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/table.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/vaultcore.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/webpubsub.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.additional.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/fw.additional.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/fw.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.min.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/10.azfw.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/11.azfw.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/12.bastion.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/13.bastion.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/14.postgres.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/15.vnetGateway.parameters.json.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/7.virtualHubConnection.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/8.aadds.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/9.azfw.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/aut.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/sol.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/locks.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/validation.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/synapse01.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/synapse02.parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/uploads/scriptExtensionMasterInstaller.ps1 delete mode 100644 utilities/pipelines/dependencies/Microsoft.Web/serverfarms/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/Microsoft.Web/sites/parameters/parameters.json delete mode 100644 utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploy.bicep delete mode 100644 utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Copy-VhdToStorageAccount.ps1 delete mode 100644 utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Remove-ImageTemplate.ps1 delete mode 100644 utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Start-ImageTemplate.ps1 diff --git a/.azuredevops/modulePipelines/ms.aad.domainservices.yml b/.azuredevops/modulePipelines/ms.aad.domainservices.yml index f08e32f1ac..b04ab7daef 100644 --- a/.azuredevops/modulePipelines/ms.aad.domainservices.yml +++ b/.azuredevops/modulePipelines/ms.aad.domainservices.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.AAD/DomainServices/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.analysisservices.servers.yml b/.azuredevops/modulePipelines/ms.analysisservices.servers.yml index 6d5e5dc944..a63669a49f 100644 --- a/.azuredevops/modulePipelines/ms.analysisservices.servers.yml +++ b/.azuredevops/modulePipelines/ms.analysisservices.servers.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.AnalysisServices/servers/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.apimanagement.service.yml b/.azuredevops/modulePipelines/ms.apimanagement.service.yml index 894163fe64..1ee00a1810 100644 --- a/.azuredevops/modulePipelines/ms.apimanagement.service.yml +++ b/.azuredevops/modulePipelines/ms.apimanagement.service.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.ApiManagement/service/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.appconfiguration.configurationstores.yml b/.azuredevops/modulePipelines/ms.appconfiguration.configurationstores.yml index 77f822aec3..33b161c3de 100644 --- a/.azuredevops/modulePipelines/ms.appconfiguration.configurationstores.yml +++ b/.azuredevops/modulePipelines/ms.appconfiguration.configurationstores.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.AppConfiguration/configurationStores/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.authorization.locks.yml b/.azuredevops/modulePipelines/ms.authorization.locks.yml index e777ca3d09..98fe12a1b0 100644 --- a/.azuredevops/modulePipelines/ms.authorization.locks.yml +++ b/.azuredevops/modulePipelines/ms.authorization.locks.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Authorization/locks/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml b/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml index 08193e5b3a..1a24354aaa 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Authorization/policyAssignments/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml b/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml index cefd988794..c01ab32a8d 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Authorization/policyDefinitions/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml b/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml index b6c2daf94a..1429cfa993 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Authorization/policyExemptions/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml b/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml index ad5d987672..a0e19507fe 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Authorization/policySetDefinitions/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml b/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml index cd1144f862..0b9668be2f 100644 --- a/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml +++ b/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Authorization/roleAssignments/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml b/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml index 30b0f155d9..5a112eca33 100644 --- a/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml +++ b/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Authorization/roleDefinitions/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml b/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml index 663c2ce39d..b9cd9a11a3 100644 --- a/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml +++ b/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Automation/automationAccounts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml b/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml index 7af1587c98..b085ce7068 100644 --- a/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml +++ b/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Batch/batchAccounts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.cache.redis.yml b/.azuredevops/modulePipelines/ms.cache.redis.yml index b5cacf039f..761d850596 100644 --- a/.azuredevops/modulePipelines/ms.cache.redis.yml +++ b/.azuredevops/modulePipelines/ms.cache.redis.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Cache/Redis/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml b/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml index 9b12c66fed..5a1030849e 100644 --- a/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml +++ b/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.CognitiveServices/accounts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml b/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml index 32e3abefdf..1821e0c160 100644 --- a/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml +++ b/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Compute/availabilitySets/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.compute.diskencryptionsets.yml b/.azuredevops/modulePipelines/ms.compute.diskencryptionsets.yml index dd6e8a6a71..b36d44ad6f 100644 --- a/.azuredevops/modulePipelines/ms.compute.diskencryptionsets.yml +++ b/.azuredevops/modulePipelines/ms.compute.diskencryptionsets.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Compute/diskEncryptionSets/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.compute.disks.yml b/.azuredevops/modulePipelines/ms.compute.disks.yml index c77f0595bf..a85269ef2d 100644 --- a/.azuredevops/modulePipelines/ms.compute.disks.yml +++ b/.azuredevops/modulePipelines/ms.compute.disks.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Compute/disks/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.compute.galleries.yml b/.azuredevops/modulePipelines/ms.compute.galleries.yml index b7213c4349..9b5a9b4b19 100644 --- a/.azuredevops/modulePipelines/ms.compute.galleries.yml +++ b/.azuredevops/modulePipelines/ms.compute.galleries.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Compute/galleries/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.compute.images.yml b/.azuredevops/modulePipelines/ms.compute.images.yml index ae8e816a57..387446cf0d 100644 --- a/.azuredevops/modulePipelines/ms.compute.images.yml +++ b/.azuredevops/modulePipelines/ms.compute.images.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Compute/images/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.compute.proximityplacementgroups.yml b/.azuredevops/modulePipelines/ms.compute.proximityplacementgroups.yml index bd351f6d74..fd5ef9c8ee 100644 --- a/.azuredevops/modulePipelines/ms.compute.proximityplacementgroups.yml +++ b/.azuredevops/modulePipelines/ms.compute.proximityplacementgroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Compute/proximityPlacementGroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.compute.virtualmachines.yml b/.azuredevops/modulePipelines/ms.compute.virtualmachines.yml index 6defd20ea1..9a18e28d8f 100644 --- a/.azuredevops/modulePipelines/ms.compute.virtualmachines.yml +++ b/.azuredevops/modulePipelines/ms.compute.virtualmachines.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Compute/virtualMachines/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.compute.virtualmachinescalesets.yml b/.azuredevops/modulePipelines/ms.compute.virtualmachinescalesets.yml index c9f4a0e44b..6a764ee349 100644 --- a/.azuredevops/modulePipelines/ms.compute.virtualmachinescalesets.yml +++ b/.azuredevops/modulePipelines/ms.compute.virtualmachinescalesets.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Compute/virtualMachineScaleSets/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.consumption.budgets.yml b/.azuredevops/modulePipelines/ms.consumption.budgets.yml index a776b93fff..802e80c6e1 100644 --- a/.azuredevops/modulePipelines/ms.consumption.budgets.yml +++ b/.azuredevops/modulePipelines/ms.consumption.budgets.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Consumption/budgets/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.containerinstance.containergroups.yml b/.azuredevops/modulePipelines/ms.containerinstance.containergroups.yml index 0a2a0d78f2..4831d5be2c 100644 --- a/.azuredevops/modulePipelines/ms.containerinstance.containergroups.yml +++ b/.azuredevops/modulePipelines/ms.containerinstance.containergroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.ContainerInstance/containerGroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.containerregistry.registries.yml b/.azuredevops/modulePipelines/ms.containerregistry.registries.yml index ff6edfe972..72270d5325 100644 --- a/.azuredevops/modulePipelines/ms.containerregistry.registries.yml +++ b/.azuredevops/modulePipelines/ms.containerregistry.registries.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.ContainerRegistry/registries/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.containerservice.managedclusters.yml b/.azuredevops/modulePipelines/ms.containerservice.managedclusters.yml index a5f2f13721..66c567b41d 100644 --- a/.azuredevops/modulePipelines/ms.containerservice.managedclusters.yml +++ b/.azuredevops/modulePipelines/ms.containerservice.managedclusters.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.ContainerService/managedClusters/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.databricks.workspaces.yml b/.azuredevops/modulePipelines/ms.databricks.workspaces.yml index addf220e37..79688bbbc8 100644 --- a/.azuredevops/modulePipelines/ms.databricks.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.databricks.workspaces.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Databricks/workspaces/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.datafactory.factories.yml b/.azuredevops/modulePipelines/ms.datafactory.factories.yml index 73ea5faa9f..90af5ad870 100644 --- a/.azuredevops/modulePipelines/ms.datafactory.factories.yml +++ b/.azuredevops/modulePipelines/ms.datafactory.factories.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.DataFactory/factories/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.dataprotection.backupvaults.yml b/.azuredevops/modulePipelines/ms.dataprotection.backupvaults.yml index 64c4479310..23f1ffa3b2 100644 --- a/.azuredevops/modulePipelines/ms.dataprotection.backupvaults.yml +++ b/.azuredevops/modulePipelines/ms.dataprotection.backupvaults.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.DataProtection/vaults/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.dbforpostgresql.flexibleservers.yml b/.azuredevops/modulePipelines/ms.dbforpostgresql.flexibleservers.yml index ac9bbf40da..8cffdc2453 100644 --- a/.azuredevops/modulePipelines/ms.dbforpostgresql.flexibleservers.yml +++ b/.azuredevops/modulePipelines/ms.dbforpostgresql.flexibleservers.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.DBforPostgreSQL/flexibleServers/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml b/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml index 3015a89b61..6d3c0c184f 100644 --- a/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml +++ b/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.DesktopVirtualization/applicationgroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml b/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml index 554a8aac44..b600c880ce 100644 --- a/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml +++ b/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.DesktopVirtualization/hostpools/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml b/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml index 243e4020d9..cad3b00ce8 100644 --- a/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml +++ b/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.DesktopVirtualization/scalingplans/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml b/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml index 52c94c19b5..f30091d116 100644 --- a/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.DesktopVirtualization/workspaces/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml b/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml index b273c7a1e3..0b5afc70ab 100644 --- a/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml +++ b/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.DocumentDB/databaseAccounts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml b/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml index d4c379b3dc..e736940ddd 100644 --- a/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml +++ b/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.EventGrid/systemTopics/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.eventgrid.topics.yml b/.azuredevops/modulePipelines/ms.eventgrid.topics.yml index 3a40a70fa8..a0b6380c03 100644 --- a/.azuredevops/modulePipelines/ms.eventgrid.topics.yml +++ b/.azuredevops/modulePipelines/ms.eventgrid.topics.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.EventGrid/topics/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.eventhub.namespaces.yml b/.azuredevops/modulePipelines/ms.eventhub.namespaces.yml index 887c109ef1..0ce7ba5906 100644 --- a/.azuredevops/modulePipelines/ms.eventhub.namespaces.yml +++ b/.azuredevops/modulePipelines/ms.eventhub.namespaces.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.EventHub/namespaces/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml b/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml index acd1e08630..e62ae969f2 100644 --- a/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml +++ b/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml @@ -24,11 +24,6 @@ trigger: - '/modules/Microsoft.HealthBot/healthBots/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' - -variables: - - template: '../../settings.yml' - group: 'PLATFORM_VARIABLES' - name: modulePath value: '/modules/Microsoft.HealthBot/healthBots' diff --git a/.azuredevops/modulePipelines/ms.insights.actiongroups.yml b/.azuredevops/modulePipelines/ms.insights.actiongroups.yml index d04079fdf0..5a72be97bb 100644 --- a/.azuredevops/modulePipelines/ms.insights.actiongroups.yml +++ b/.azuredevops/modulePipelines/ms.insights.actiongroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Insights/actionGroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.insights.activitylogalerts.yml b/.azuredevops/modulePipelines/ms.insights.activitylogalerts.yml index f6aca87387..44f761114a 100644 --- a/.azuredevops/modulePipelines/ms.insights.activitylogalerts.yml +++ b/.azuredevops/modulePipelines/ms.insights.activitylogalerts.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Insights/activityLogAlerts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.insights.components.yml b/.azuredevops/modulePipelines/ms.insights.components.yml index 03ce67402b..c68a81635f 100644 --- a/.azuredevops/modulePipelines/ms.insights.components.yml +++ b/.azuredevops/modulePipelines/ms.insights.components.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Insights/components/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml b/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml index 313bcb73d5..009da825ec 100644 --- a/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml +++ b/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Insights/diagnosticSettings/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.insights.metricalerts.yml b/.azuredevops/modulePipelines/ms.insights.metricalerts.yml index 708f87d56a..e4e0236805 100644 --- a/.azuredevops/modulePipelines/ms.insights.metricalerts.yml +++ b/.azuredevops/modulePipelines/ms.insights.metricalerts.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Insights/metricAlerts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.insights.privatelinkscopes.yml b/.azuredevops/modulePipelines/ms.insights.privatelinkscopes.yml index af597a8e69..777c0d2a40 100644 --- a/.azuredevops/modulePipelines/ms.insights.privatelinkscopes.yml +++ b/.azuredevops/modulePipelines/ms.insights.privatelinkscopes.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Insights/privateLinkScopes/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.insights.scheduledqueryrules.yml b/.azuredevops/modulePipelines/ms.insights.scheduledqueryrules.yml index d807f5080e..7455256a10 100644 --- a/.azuredevops/modulePipelines/ms.insights.scheduledqueryrules.yml +++ b/.azuredevops/modulePipelines/ms.insights.scheduledqueryrules.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Insights/scheduledQueryRules/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.keyvault.vaults.yml b/.azuredevops/modulePipelines/ms.keyvault.vaults.yml index d0bd85483c..7abc22dffd 100644 --- a/.azuredevops/modulePipelines/ms.keyvault.vaults.yml +++ b/.azuredevops/modulePipelines/ms.keyvault.vaults.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.KeyVault/vaults/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.kubernetesconfiguration.extensions.yml b/.azuredevops/modulePipelines/ms.kubernetesconfiguration.extensions.yml index 4a41865cce..c8014faee8 100644 --- a/.azuredevops/modulePipelines/ms.kubernetesconfiguration.extensions.yml +++ b/.azuredevops/modulePipelines/ms.kubernetesconfiguration.extensions.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.KubernetesConfiguration/extensions/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.kubernetesconfiguration.fluxconfigurations.yml b/.azuredevops/modulePipelines/ms.kubernetesconfiguration.fluxconfigurations.yml index 245185b5a5..7cef1bc138 100644 --- a/.azuredevops/modulePipelines/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.azuredevops/modulePipelines/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.logic.workflows.yml b/.azuredevops/modulePipelines/ms.logic.workflows.yml index 0186d76afc..efb294fd85 100644 --- a/.azuredevops/modulePipelines/ms.logic.workflows.yml +++ b/.azuredevops/modulePipelines/ms.logic.workflows.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Logic/workflows/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.machinelearningservices.workspaces.yml b/.azuredevops/modulePipelines/ms.machinelearningservices.workspaces.yml index 6e99ccc773..8166869ae7 100644 --- a/.azuredevops/modulePipelines/ms.machinelearningservices.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.machinelearningservices.workspaces.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.MachineLearningServices/workspaces/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.managedidentity.userassignedidentities.yml b/.azuredevops/modulePipelines/ms.managedidentity.userassignedidentities.yml index 4786df1779..63b6de4000 100644 --- a/.azuredevops/modulePipelines/ms.managedidentity.userassignedidentities.yml +++ b/.azuredevops/modulePipelines/ms.managedidentity.userassignedidentities.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.ManagedIdentity/userAssignedIdentities/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.managedservices.registrationdefinitions.yml b/.azuredevops/modulePipelines/ms.managedservices.registrationdefinitions.yml index ad0742634d..beb3a82e26 100644 --- a/.azuredevops/modulePipelines/ms.managedservices.registrationdefinitions.yml +++ b/.azuredevops/modulePipelines/ms.managedservices.registrationdefinitions.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.ManagedServices/registrationDefinitions/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.management.managementgroups.yml b/.azuredevops/modulePipelines/ms.management.managementgroups.yml index ff8a25fdf8..289e349c9a 100644 --- a/.azuredevops/modulePipelines/ms.management.managementgroups.yml +++ b/.azuredevops/modulePipelines/ms.management.managementgroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Management/managementGroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.netapp.netappaccounts.yml b/.azuredevops/modulePipelines/ms.netapp.netappaccounts.yml index 8fafefa848..ee9fa76b36 100644 --- a/.azuredevops/modulePipelines/ms.netapp.netappaccounts.yml +++ b/.azuredevops/modulePipelines/ms.netapp.netappaccounts.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.NetApp/netAppAccounts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.applicationgateways.yml b/.azuredevops/modulePipelines/ms.network.applicationgateways.yml index ad2fb6115b..f5f5159dba 100644 --- a/.azuredevops/modulePipelines/ms.network.applicationgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.applicationgateways.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Network/applicationGateways/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.azuredevops/modulePipelines/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 03de0ee701..58a17edaf6 100644 --- a/.azuredevops/modulePipelines/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.azuredevops/modulePipelines/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.applicationsecuritygroups.yml b/.azuredevops/modulePipelines/ms.network.applicationsecuritygroups.yml index c67b2799fb..5e4acd8faa 100644 --- a/.azuredevops/modulePipelines/ms.network.applicationsecuritygroups.yml +++ b/.azuredevops/modulePipelines/ms.network.applicationsecuritygroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/applicationSecurityGroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml b/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml index 696ab36d5b..30d3b1c5b6 100644 --- a/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml +++ b/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml @@ -24,8 +24,6 @@ trigger: - '/modules/Microsoft.Network/azureFirewalls/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.network.bastionhosts.yml b/.azuredevops/modulePipelines/ms.network.bastionhosts.yml index adf627ee53..382dcd152e 100644 --- a/.azuredevops/modulePipelines/ms.network.bastionhosts.yml +++ b/.azuredevops/modulePipelines/ms.network.bastionhosts.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/bastionHosts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.connections.yml b/.azuredevops/modulePipelines/ms.network.connections.yml index 838352c8de..d3ca0c907e 100644 --- a/.azuredevops/modulePipelines/ms.network.connections.yml +++ b/.azuredevops/modulePipelines/ms.network.connections.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/connections/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.ddosprotectionplans.yml b/.azuredevops/modulePipelines/ms.network.ddosprotectionplans.yml index f3867a8ce6..c0c790a71f 100644 --- a/.azuredevops/modulePipelines/ms.network.ddosprotectionplans.yml +++ b/.azuredevops/modulePipelines/ms.network.ddosprotectionplans.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/ddosProtectionPlans/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.dnsresolvers.yml b/.azuredevops/modulePipelines/ms.network.dnsresolvers.yml index 20b3be8038..f95ef2cb46 100644 --- a/.azuredevops/modulePipelines/ms.network.dnsresolvers.yml +++ b/.azuredevops/modulePipelines/ms.network.dnsresolvers.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/dnsResolvers/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.expressroutecircuits.yml b/.azuredevops/modulePipelines/ms.network.expressroutecircuits.yml index f2b7577cd8..e09d627848 100644 --- a/.azuredevops/modulePipelines/ms.network.expressroutecircuits.yml +++ b/.azuredevops/modulePipelines/ms.network.expressroutecircuits.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/expressRouteCircuits/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.firewallpolicies.yml b/.azuredevops/modulePipelines/ms.network.firewallpolicies.yml index 6c0ac083db..30a09061c5 100644 --- a/.azuredevops/modulePipelines/ms.network.firewallpolicies.yml +++ b/.azuredevops/modulePipelines/ms.network.firewallpolicies.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/firewallPolicies/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.frontdoors.yml b/.azuredevops/modulePipelines/ms.network.frontdoors.yml index 5c13d99e0c..81dd818b4a 100644 --- a/.azuredevops/modulePipelines/ms.network.frontdoors.yml +++ b/.azuredevops/modulePipelines/ms.network.frontdoors.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/frontDoors/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.ipgroups.yml b/.azuredevops/modulePipelines/ms.network.ipgroups.yml index 08b10ac123..a8e510a90e 100644 --- a/.azuredevops/modulePipelines/ms.network.ipgroups.yml +++ b/.azuredevops/modulePipelines/ms.network.ipgroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/ipGroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.loadbalancers.yml b/.azuredevops/modulePipelines/ms.network.loadbalancers.yml index 48010157c8..e5ff249744 100644 --- a/.azuredevops/modulePipelines/ms.network.loadbalancers.yml +++ b/.azuredevops/modulePipelines/ms.network.loadbalancers.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/loadBalancers/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.localnetworkgateways.yml b/.azuredevops/modulePipelines/ms.network.localnetworkgateways.yml index 10abe167da..79b733a75c 100644 --- a/.azuredevops/modulePipelines/ms.network.localnetworkgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.localnetworkgateways.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/localNetworkGateways/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.natgateways.yml b/.azuredevops/modulePipelines/ms.network.natgateways.yml index ae9c6bf12d..04eca546d9 100644 --- a/.azuredevops/modulePipelines/ms.network.natgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.natgateways.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/natGateways/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.networkinterfaces.yml b/.azuredevops/modulePipelines/ms.network.networkinterfaces.yml index a92492abb0..b2144f8032 100644 --- a/.azuredevops/modulePipelines/ms.network.networkinterfaces.yml +++ b/.azuredevops/modulePipelines/ms.network.networkinterfaces.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/networkInterfaces/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.networksecuritygroups.yml b/.azuredevops/modulePipelines/ms.network.networksecuritygroups.yml index 2831ca481d..6e3542d1f9 100644 --- a/.azuredevops/modulePipelines/ms.network.networksecuritygroups.yml +++ b/.azuredevops/modulePipelines/ms.network.networksecuritygroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/networkSecurityGroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.networkwatchers.yml b/.azuredevops/modulePipelines/ms.network.networkwatchers.yml index bcefb379c3..dadfe26d9c 100644 --- a/.azuredevops/modulePipelines/ms.network.networkwatchers.yml +++ b/.azuredevops/modulePipelines/ms.network.networkwatchers.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/networkWatchers/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.privatednszones.yml b/.azuredevops/modulePipelines/ms.network.privatednszones.yml index bf0eac95ad..74b275577c 100644 --- a/.azuredevops/modulePipelines/ms.network.privatednszones.yml +++ b/.azuredevops/modulePipelines/ms.network.privatednszones.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/privateDnsZones/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.privateendpoints.yml b/.azuredevops/modulePipelines/ms.network.privateendpoints.yml index 789bea5a76..8a88ce1549 100644 --- a/.azuredevops/modulePipelines/ms.network.privateendpoints.yml +++ b/.azuredevops/modulePipelines/ms.network.privateendpoints.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/privateEndpoints/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.privatelinkservices.yml b/.azuredevops/modulePipelines/ms.network.privatelinkservices.yml index 3cce936b5d..8008553b17 100644 --- a/.azuredevops/modulePipelines/ms.network.privatelinkservices.yml +++ b/.azuredevops/modulePipelines/ms.network.privatelinkservices.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/privateLinkServices/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.publicipaddresses.yml b/.azuredevops/modulePipelines/ms.network.publicipaddresses.yml index 45314893af..1efce35662 100644 --- a/.azuredevops/modulePipelines/ms.network.publicipaddresses.yml +++ b/.azuredevops/modulePipelines/ms.network.publicipaddresses.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/publicIPAddresses/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.publicipprefixes.yml b/.azuredevops/modulePipelines/ms.network.publicipprefixes.yml index 9d23a1e84a..8974fb514e 100644 --- a/.azuredevops/modulePipelines/ms.network.publicipprefixes.yml +++ b/.azuredevops/modulePipelines/ms.network.publicipprefixes.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/publicIPPrefixes/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.routetables.yml b/.azuredevops/modulePipelines/ms.network.routetables.yml index ac459ec110..e13c6979a0 100644 --- a/.azuredevops/modulePipelines/ms.network.routetables.yml +++ b/.azuredevops/modulePipelines/ms.network.routetables.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/routeTables/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.trafficmanagerprofiles.yml b/.azuredevops/modulePipelines/ms.network.trafficmanagerprofiles.yml index 854f128957..09a84220d3 100644 --- a/.azuredevops/modulePipelines/ms.network.trafficmanagerprofiles.yml +++ b/.azuredevops/modulePipelines/ms.network.trafficmanagerprofiles.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/trafficmanagerprofiles/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.virtualhubs.yml b/.azuredevops/modulePipelines/ms.network.virtualhubs.yml index 8759fc8cd5..3fc0dbbe65 100644 --- a/.azuredevops/modulePipelines/ms.network.virtualhubs.yml +++ b/.azuredevops/modulePipelines/ms.network.virtualhubs.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/virtualHubs/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.virtualnetworkgateways.yml b/.azuredevops/modulePipelines/ms.network.virtualnetworkgateways.yml index d43aa2736c..2885e21201 100644 --- a/.azuredevops/modulePipelines/ms.network.virtualnetworkgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.virtualnetworkgateways.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/virtualNetworkGateways/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.virtualnetworks.yml b/.azuredevops/modulePipelines/ms.network.virtualnetworks.yml index 13e49cbeec..a3d80e1889 100644 --- a/.azuredevops/modulePipelines/ms.network.virtualnetworks.yml +++ b/.azuredevops/modulePipelines/ms.network.virtualnetworks.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/virtualNetworks/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.virtualwans.yml b/.azuredevops/modulePipelines/ms.network.virtualwans.yml index 85f633ddf1..2db8f41fc2 100644 --- a/.azuredevops/modulePipelines/ms.network.virtualwans.yml +++ b/.azuredevops/modulePipelines/ms.network.virtualwans.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/virtualWans/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.vpngateways.yml b/.azuredevops/modulePipelines/ms.network.vpngateways.yml index 3e44f1ac6c..be17134a79 100644 --- a/.azuredevops/modulePipelines/ms.network.vpngateways.yml +++ b/.azuredevops/modulePipelines/ms.network.vpngateways.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/vpnGateways/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.network.vpnsites.yml b/.azuredevops/modulePipelines/ms.network.vpnsites.yml index edc348cf21..b4c61df9a4 100644 --- a/.azuredevops/modulePipelines/ms.network.vpnsites.yml +++ b/.azuredevops/modulePipelines/ms.network.vpnsites.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Network/vpnSites/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.operationalinsights.workspaces.yml b/.azuredevops/modulePipelines/ms.operationalinsights.workspaces.yml index 4b3f32ea81..5faae73f7e 100644 --- a/.azuredevops/modulePipelines/ms.operationalinsights.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.operationalinsights.workspaces.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.OperationalInsights/workspaces/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml index ab03457bca..208a178014 100644 --- a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml +++ b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.OperationsManagement/solutions/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.powerbidedicated.capacities.yml b/.azuredevops/modulePipelines/ms.powerbidedicated.capacities.yml index 118ac200ca..ef4fe7ec10 100644 --- a/.azuredevops/modulePipelines/ms.powerbidedicated.capacities.yml +++ b/.azuredevops/modulePipelines/ms.powerbidedicated.capacities.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.PowerBIDedicated/capacities/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.recoveryservices.vaults.yml b/.azuredevops/modulePipelines/ms.recoveryservices.vaults.yml index b8ebd28f86..52e1e40eec 100644 --- a/.azuredevops/modulePipelines/ms.recoveryservices.vaults.yml +++ b/.azuredevops/modulePipelines/ms.recoveryservices.vaults.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.RecoveryServices/vaults/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.resources.deploymentscripts.yml b/.azuredevops/modulePipelines/ms.resources.deploymentscripts.yml index abf8533470..53831bca7d 100644 --- a/.azuredevops/modulePipelines/ms.resources.deploymentscripts.yml +++ b/.azuredevops/modulePipelines/ms.resources.deploymentscripts.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Resources/deploymentScripts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.resources.resourcegroups.yml b/.azuredevops/modulePipelines/ms.resources.resourcegroups.yml index fad7974434..af2dc0a686 100644 --- a/.azuredevops/modulePipelines/ms.resources.resourcegroups.yml +++ b/.azuredevops/modulePipelines/ms.resources.resourcegroups.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Resources/resourceGroups/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.resources.tags.yml b/.azuredevops/modulePipelines/ms.resources.tags.yml index 41641f7ee3..ad80909b33 100644 --- a/.azuredevops/modulePipelines/ms.resources.tags.yml +++ b/.azuredevops/modulePipelines/ms.resources.tags.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Resources/tags/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.security.azuresecuritycenter.yml b/.azuredevops/modulePipelines/ms.security.azuresecuritycenter.yml index 47c57db8f0..9f3451375f 100644 --- a/.azuredevops/modulePipelines/ms.security.azuresecuritycenter.yml +++ b/.azuredevops/modulePipelines/ms.security.azuresecuritycenter.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Security/azureSecurityCenter/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.servicebus.namespaces.yml b/.azuredevops/modulePipelines/ms.servicebus.namespaces.yml index 564a8133d5..b724c864f6 100644 --- a/.azuredevops/modulePipelines/ms.servicebus.namespaces.yml +++ b/.azuredevops/modulePipelines/ms.servicebus.namespaces.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.ServiceBus/namespaces/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.servicefabric.clusters.yml b/.azuredevops/modulePipelines/ms.servicefabric.clusters.yml index 8ba4a654d6..b832760839 100644 --- a/.azuredevops/modulePipelines/ms.servicefabric.clusters.yml +++ b/.azuredevops/modulePipelines/ms.servicefabric.clusters.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.ServiceFabric/clusters/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.signalrservice.webpubsub.yml b/.azuredevops/modulePipelines/ms.signalrservice.webpubsub.yml index 1d0a1cba6f..aa0dca3113 100644 --- a/.azuredevops/modulePipelines/ms.signalrservice.webpubsub.yml +++ b/.azuredevops/modulePipelines/ms.signalrservice.webpubsub.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.SignalRService/webPubSub/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.sql.managedinstances.yml b/.azuredevops/modulePipelines/ms.sql.managedinstances.yml index 61552ee82f..895aa935d8 100644 --- a/.azuredevops/modulePipelines/ms.sql.managedinstances.yml +++ b/.azuredevops/modulePipelines/ms.sql.managedinstances.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Sql/managedInstances/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.sql.servers.yml b/.azuredevops/modulePipelines/ms.sql.servers.yml index 1c3c4447b5..301833025f 100644 --- a/.azuredevops/modulePipelines/ms.sql.servers.yml +++ b/.azuredevops/modulePipelines/ms.sql.servers.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Sql/servers/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml b/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml index 4851344f95..61c62c8816 100644 --- a/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml +++ b/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Storage/storageAccounts/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.synapse.privatelinkhubs.yml b/.azuredevops/modulePipelines/ms.synapse.privatelinkhubs.yml index ad74af481a..da4556b048 100644 --- a/.azuredevops/modulePipelines/ms.synapse.privatelinkhubs.yml +++ b/.azuredevops/modulePipelines/ms.synapse.privatelinkhubs.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Synapse/privateLinkHubs/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.synapse.workspaces.yml b/.azuredevops/modulePipelines/ms.synapse.workspaces.yml index 2868ab338a..fc7eb8961b 100644 --- a/.azuredevops/modulePipelines/ms.synapse.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.synapse.workspaces.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Synapse/workspaces/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.virtualmachineimages.imagetemplates.yml b/.azuredevops/modulePipelines/ms.virtualmachineimages.imagetemplates.yml index 230c0fb553..11df46769e 100644 --- a/.azuredevops/modulePipelines/ms.virtualmachineimages.imagetemplates.yml +++ b/.azuredevops/modulePipelines/ms.virtualmachineimages.imagetemplates.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.VirtualMachineImages/imageTemplates/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.web.connections.yml b/.azuredevops/modulePipelines/ms.web.connections.yml index 52a1aacbc6..3eca755c43 100644 --- a/.azuredevops/modulePipelines/ms.web.connections.yml +++ b/.azuredevops/modulePipelines/ms.web.connections.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Web/connections/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.web.hostingenvironments.yml b/.azuredevops/modulePipelines/ms.web.hostingenvironments.yml index 778e24099d..bc92ee231e 100644 --- a/.azuredevops/modulePipelines/ms.web.hostingenvironments.yml +++ b/.azuredevops/modulePipelines/ms.web.hostingenvironments.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Web/hostingEnvironments/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.web.serverfarms.yml b/.azuredevops/modulePipelines/ms.web.serverfarms.yml index 6104be01e3..d2bf22d92a 100644 --- a/.azuredevops/modulePipelines/ms.web.serverfarms.yml +++ b/.azuredevops/modulePipelines/ms.web.serverfarms.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Web/serverfarms/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.web.sites.yml b/.azuredevops/modulePipelines/ms.web.sites.yml index 26278d7bbf..0b102def09 100644 --- a/.azuredevops/modulePipelines/ms.web.sites.yml +++ b/.azuredevops/modulePipelines/ms.web.sites.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Web/sites/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/modulePipelines/ms.web.staticsites.yml b/.azuredevops/modulePipelines/ms.web.staticsites.yml index 9f9294b298..ac5bf370fc 100644 --- a/.azuredevops/modulePipelines/ms.web.staticsites.yml +++ b/.azuredevops/modulePipelines/ms.web.staticsites.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Web/staticSites/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml b/.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml deleted file mode 100644 index bb7ad964d5..0000000000 --- a/.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml +++ /dev/null @@ -1,273 +0,0 @@ -######################################################### -## DEPLOYMENT PIPELINE ## -######################################################### -## -## This pipeline template contains the logic to deploy a given module's ARM template using the provided parameter file(s) -## -## Enabled levels of deployment -## - Resource-Group-Level -## - Subscription-Level -## - Management-Group-Level -## - Tenant-Level -## -######################################################## -## -##---------------------------------------------## -## TEMPLATE PARAMETERS ## -##---------------------------------------------## -## -## By default it uses the variables specified in the below [parameters] section. However, you can overwrite these variables in the -## referencing pipeline by providing the parameter explicitly. -## -## NOTE: If you don't need to overwrite a shared value, you can IGNORE this section -## -## |=================================================================================================================================================================================================================================| -## | Parameter | Default Value | Description | Example | -## |---------------------------------|--------------------------------------|-----------------------------------------------------------------------------------------------------------|--------------------------------------------| -## | serviceConnection | '$(serviceConnection)' | The service connection that connects to Azure | 'demo-internal' | -## | poolName | '$(poolName)' | You can provide either a [poolname] or [vmImage] to run the job on | 'Custom Deployment Pool' | -## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on | 'ubuntu20.04' | -## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline | 120 | -## | deploymentBlocks | | The parameter file(s) to deploy with. Must be provided | path: 'C:/parameters.json' | -## | location | '$(location)' | The location to deploy with | 'EastUs2' | -## | resourceGroupName | '$(resourceGroupName)' | The resourcegroup to deploy into. Required only for Resource-Group-Level deployments | 'validation-rg' | -## | subscriptionId | '$(ARM_SUBSCRIPTION_ID)' | The id of the subscription to deploy into when using a Management group service connection | 'aed7c000-6387-412e-bed0-24dfddf4bbc6' | -## | managementGroupId | '$(ARM_MGMTGROUP_ID)' | The id of the management group to deploy into. Required only for Management-Group-Level deployments | '6ycc9620-cb01-454f-9ebc-fc6b1df48d64' | -## | azurePowerShellVersion | '$(azurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, one of the example values. | 'latestVersion' or 'OtherVersion' | -## | preferredAzurePowerShellVersion | '$(preferredAzurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, either an empty string or the specific version. | '4.4.0' | -## |=================================================================================================================================================================================================================================| -## -##---------------------------------------------## - -parameters: - # Pipeline-related parameters - serviceConnection: '$(serviceConnection)' - poolName: '$(poolName)' - vmImage: '$(vmImage)' - defaultJobTimeoutInMinutes: 120 - dependsOn: [] - # Logic-related parameters - deploymentBlocks: '' - location: '$(location)' - resourceGroupName: '$(resourceGroupName)' - subscriptionId: '$(ARM_SUBSCRIPTION_ID)' - managementGroupId: '$(ARM_MGMTGROUP_ID)' - # Azure PowerShell Version parameters - azurePowerShellVersion: '$(azurePowerShellVersion)' - preferredAzurePowerShellVersion: '$(preferredAzurePowerShellVersion)' - -##---------------------------------------------## -## TEMPLATE LOGIC ## -##---------------------------------------------## - -jobs: - - ${{ each deploymentBlock in parameters.deploymentBlocks }}: - - job: ${{ deploymentBlock.jobName }} - displayName: ${{ deploymentBlock.displayName }} - timeoutInMinutes: ${{ parameters.defaultJobTimeoutInMinutes }} - ${{ if ne( parameters.dependsOn, '') }}: - dependsOn: ${{ parameters.dependsOn }} - pool: - ${{ if ne(parameters.vmImage, '') }}: - vmImage: ${{ parameters.vmImage }} - ${{ if ne(parameters.poolName, '') }}: - name: ${{ parameters.poolName }} - - steps: - # [Checkout Repositories] task(s) - #-------------------------------- - - checkout: self - - # [Agent] Prepare environment - #---------------------------- - - task: PowerShell@2 - displayName: 'Setup agent' - inputs: - targetType: inline - pwsh: true - script: | - # Load used functions - . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') - - # Define PS modules to install on the runner - $Modules = @( - @{ Name = 'Az.Accounts' }, - @{ Name = 'Az.Resources' } - ) - - # Set agent up - Set-EnvironmentOnAgent -PSModules $Modules - - # [Agent] Replace tokens - #----------------------- - - task: AzurePowerShell@5 - displayName: 'Replace tokens in template file via connection [${{ parameters.serviceConnection }}]' - inputs: - azureSubscription: ${{ parameters.serviceConnection }} - azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} - preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} - ScriptType: InlineScript - pwsh: true - inline: | - # Load used functions - . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') - - # Get target files - $targetFileList = @('${{ deploymentBlock.templateFilePath }}') - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.path }}')) { - $targetFileList += '${{ deploymentBlock.path }}' - } - - # Get Service Principal Object ID - $context = Get-AzContext - $servicePrincipalAppId = $context.Account.Id - $servicePrincipal = Get-AzADServicePrincipal -ApplicationId $servicePrincipalAppId - $servicePrincipalObjectId = $servicePrincipal.Id - - # Construct Token Function Input - $ConvertTokensInputs = @{ - FilePathList = $targetFileList - Tokens = @{} - TokenPrefix = '$(tokenPrefix)' - TokenSuffix = '$(tokenSuffix)' - } - - # Add enforced tokens - $ConvertTokensInputs.Tokens += @{ - resourceGroupName = '${{ parameters.resourceGroupName }}' - subscriptionId = '${{ parameters.subscriptionId }}' - managementGroupId = '${{ parameters.managementGroupId }}' - tenantId = '$(ARM_TENANT_ID)' - deploymentSpId = $servicePrincipalObjectId - } - - # Add local (source control) tokens - $tokenMap = @{} - foreach ($token in (Get-ChildItem env: | Where-Object -Property Name -Like "localToken_*")) { - $tokenMap += @{ $token.Name.Replace('localToken_','','OrdinalIgnoreCase') = $token.value } - } - Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $tokenMap - - # Swap 'namePrefix' token if empty and provided as a Azure DevOps variable - if([String]::IsNullOrEmpty($ConvertTokensInputs.Tokens['namePrefix'])){ - Write-Verbose 'Using [namePrefix] token from Azure DevOps Variable Groups' -Verbose - $ConvertTokensInputs.Tokens['namePrefix'] = "$(TOKEN_NAMEPREFIX)" - } - - # Add custom tokens (passed in via the pipeline) - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.customParameterFileTokens }}')) { - $customTokens = '${{ deploymentBlock.customParameterFileTokens }}' | ConvertFrom-Json -AsHashTable - Write-Verbose ('Using custom parameter file tokens [{0}]' -f ($customTokens.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $customTokens - } - - Write-Verbose "Convert Tokens Input:`n $($ConvertTokensInputs | ConvertTo-Json -Depth 10)" -Verbose - - # Invoke Token Replacement Functionality - $null = Convert-TokensInFileList @ConvertTokensInputs - - # [Validation] task(s) - #--------------------- - - task: AzurePowerShell@5 - displayName: 'Validate template file via connection [${{ parameters.serviceConnection }}]' - inputs: - azureSubscription: ${{ parameters.serviceConnection }} - azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} - preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} - ScriptType: InlineScript - pwsh: true - inline: | - # Load used functions - . (Join-Path '$(System.DefaultWorkingDirectory)' '$(pipelineFunctionsPath)' 'resourceDeployment' 'Test-TemplateDeployment.ps1') - - # ----------------- # - # Invoke validation # - # ----------------- # - $functionInput = @{ - templateFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ deploymentBlock.templateFilePath }}' - location = '${{ parameters.location }}' - resourceGroupName = '${{ parameters.resourceGroupName }}' - subscriptionId = '${{ parameters.subscriptionId }}' - managementGroupId = '${{ parameters.managementGroupId }}' - additionalParameters = @{} - } - - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.path }}')) { - $functionInput['parameterFilePath'] = Join-Path '$(System.DefaultWorkingDirectory)' '${{ deploymentBlock.path }}' - } - - if (-not [System.Convert]::ToBoolean('$(enableDefaultTelemetry)') -and (Get-Content -Path $functionInput.templateFilePath -Raw) -like '*param enableDefaultTelemetry*') { - $functionInput['additionalParameters'] += @{ - enableDefaultTelemetry = [System.Convert]::ToBoolean('$(enableDefaultTelemetry)') - } - } - - Write-Verbose "Invoke task with" -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - Test-TemplateDeployment @functionInput -Verbose - - # [Deployment] task(s) - #--------------------- - - task: AzurePowerShell@5 - displayName: 'Deploy template file via connection [${{ parameters.serviceConnection }}]' - name: 'DeployModule' - inputs: - azureSubscription: ${{ parameters.serviceConnection }} - azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} - preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} - pwsh: true - ScriptType: InlineScript - inline: | - # Load used functions - . (Join-Path '$(System.DefaultWorkingDirectory)' '$(pipelineFunctionsPath)' 'resourceDeployment' 'New-TemplateDeployment.ps1') - - # ----------------- # - # Invoke deployment # - # ----------------- # - $functionInput = @{ - templateFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ deploymentBlock.templateFilePath }}' - location = '${{ parameters.location }}' - resourceGroupName = '${{ parameters.resourceGroupName }}' - subscriptionId = '${{ parameters.subscriptionId }}' - managementGroupId = '${{ parameters.managementGroupId }}' - doNotThrow = $true - additionalParameters = @{} - } - - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.path }}')) { - $functionInput['parameterFilePath'] = Join-Path '$(System.DefaultWorkingDirectory)' '${{ deploymentBlock.path }}' - } - - if (-not [System.Convert]::ToBoolean('$(enableDefaultTelemetry)') -and (Get-Content -Path $functionInput.templateFilePath -Raw) -like '*param enableDefaultTelemetry*') { - $functionInput['additionalParameters'] += @{ - enableDefaultTelemetry = [System.Convert]::ToBoolean('$(enableDefaultTelemetry)') - } - } - - Write-Verbose "Invoke task with" -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - # Invoke deployment - $res = New-TemplateDeployment @functionInput -Verbose - - # Get deployment name - Write-Output ('##vso[task.setvariable variable=deploymentName]{0}' -f $res.deploymentName) - - # Populate further outputs - $deploymentOutputHash=@{} - - foreach ($outputKey in $res.deploymentOutput.Keys) { - Write-Output ('##vso[task.setvariable variable={0}]{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) - $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) - } - - $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 - Write-Verbose "Deployment output: $deploymentOutput" -Verbose - Write-Output ('##vso[task.setvariable variable={0};isOutput=true]{1}' -f 'deploymentOutput', $deploymentOutput) - - if ($res.ContainsKey('exception')) { - # Happens only if there is an exception - throw $res.exception - } diff --git a/.azuredevops/platformPipelines/platform.dependencies.yml b/.azuredevops/platformPipelines/platform.dependencies.yml deleted file mode 100644 index ec722b59c6..0000000000 --- a/.azuredevops/platformPipelines/platform.dependencies.yml +++ /dev/null @@ -1,1023 +0,0 @@ -name: '.Platform - Dependencies' - -parameters: - - name: deploySqlMiDependencies - displayName: Enable SqlMi dependencies deployment - type: boolean - default: false - - name: deployVhdDependencies - displayName: Enable deployment of a vhd stored in a blob container - type: boolean - default: false - -pr: none -trigger: none - -# trigger: -# batch: true -# branches: -# include: -# - main -# paths: -# include: -# - '.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml' -# - '.azuredevops/platformPipelines/platform.dependencies.yml' -# - 'utilities/pipelines/dependencies/**' - -variables: - - template: '../../settings.yml' - - group: 'PLATFORM_VARIABLES' - - name: dependencyPath - value: 'utilities/pipelines/dependencies' - - name: modulesPath - value: 'modules' - - name: defaultResourceGroupName - value: 'validation-rg' - -stages: - - stage: deploy_rg - displayName: Deploy resource group - variables: - resourceType: 'Microsoft.Resources/resourceGroups' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/validation.parameters.json - templateFilePath: $(templateFilePath) - displayName: Validation Resource Group - - path: $(dependencyPath)/$(resourceType)/parameters/locks.parameters.json - templateFilePath: $(templateFilePath) - displayName: Locks Resource Group - - - ${{ if eq( parameters.deployVhdDependencies, true) }}: - - stage: deploy_vhd - displayName: Store VHD to Storage Account - dependsOn: - - deploy_rg - variables: - templateFilePath: $(dependencyPath)/constructs/StoreVhdToStorage/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - templateFilePath: $(templateFilePath) - displayName: Deploy module - - - stage: deploy_ppg - displayName: Deploy proximity placement group - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.Compute/proximityPlacementGroups' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Proximity Placement Group - - path: $(dependencyPath)/$(resourceType)/parameters/vm.parameters.json - templateFilePath: $(templateFilePath) - displayName: VM Proximity Placement Group - - path: $(dependencyPath)/$(resourceType)/parameters/vmss.parameters.json - templateFilePath: $(templateFilePath) - displayName: VMSS Proximity Placement Group - - - stage: deploy_msi - displayName: Deploy user assigned identity - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.ManagedIdentity/userAssignedIdentities' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: User Assigned Identity - jobName: job_deploy_msi - - job: job_set_msi_id - displayName: Set msi principal ID output - dependsOn: - - job_deploy_msi - pool: - ${{ if eq(variables['vmImage'], '') }}: - name: $(poolName) - ${{ if eq(variables['poolName'], '') }}: - vmImage: $(vmImage) - variables: - deploymentOutput: $[ dependencies.job_deploy_msi.outputs['DeployModule.deploymentOutput'] ] - steps: - - task: PowerShell@2 - name: print_msi_prinId - inputs: - targetType: inline - pwsh: true - script: | - # Write-Verbose $(deploymentOutput) -Verbose - $msiPrincipalId = (ConvertFrom-Json '$(deploymentOutput)').principalId - Write-Verbose "msiPrincipalId: $msiPrincipalId" -Verbose - Write-Output ('##vso[task.setvariable variable={0};isOutput=true]{1}' -f 'msiPrincipalId', $msiPrincipalId) - - - stage: deploy_sf - displayName: Deploy server farm - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.Web/serverfarms' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Server farm - - - stage: deploy_app - displayName: Deploy app - dependsOn: - - deploy_sf - variables: - resourceType: 'Microsoft.Web/sites' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Function App - - - stage: deploy_pa - displayName: Deploy policy assignment - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.Authorization/policyAssignments' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/mg.parameters.json - templateFilePath: $(templateFilePath) - displayName: Policy assignment (mg) - - path: $(dependencyPath)/$(resourceType)/parameters/sub.parameters.json - templateFilePath: $(templateFilePath) - displayName: Policy assignment (sub) - - - stage: deploy_evh - displayName: Deploy event hub - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.EventHub/namespaces' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: EventHub - - - stage: deploy_law - displayName: Deploy log analytics workspace - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.OperationalInsights/workspaces' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default LAW - - path: $(dependencyPath)/$(resourceType)/parameters/aut.parameters.json - templateFilePath: $(templateFilePath) - displayName: Automation account LAW - - path: $(dependencyPath)/$(resourceType)/parameters/appi.parameters.json - templateFilePath: $(templateFilePath) - displayName: AppInsights LAW - - - stage: deploy_sa - displayName: Deploy storage account - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.Storage/storageAccounts' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default storage account - jobName: default_sa - - path: $(dependencyPath)/$(resourceType)/parameters/law.parameters.json - templateFilePath: $(templateFilePath) - displayName: LAW storage account - - path: $(dependencyPath)/$(resourceType)/parameters/fa.parameters.json - templateFilePath: $(templateFilePath) - displayName: FunctionApp storage account - - path: $(dependencyPath)/$(resourceType)/parameters/synapse01.parameters.json - templateFilePath: $(templateFilePath) - displayName: Synapse storage account without network ACLs - - path: $(dependencyPath)/$(resourceType)/parameters/synapse02.parameters.json - templateFilePath: $(templateFilePath) - displayName: Synapse storage account with network ACLs - - job: - displayName: Upload files to storage account - dependsOn: - - default_sa - pool: - ${{ if eq(variables['vmImage'], '') }}: - name: $(poolName) - ${{ if eq(variables['poolName'], '') }}: - vmImage: $(vmImage) - steps: - - task: PowerShell@2 - displayName: 'Setup agent' - inputs: - targetType: inline - pwsh: true - script: | - # Load used functions - . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') - - # Define PS modules to install on the runner - $Modules = @( - @{ Name = 'Az.Storage' } - ) - - # Set agent up - Set-EnvironmentOnAgent -PSModules $Modules - - task: AzurePowerShell@5 - displayName: Upload files to storage account - inputs: - azureSubscription: $(serviceConnection) - ScriptType: 'InlineScript' - Inline: | - # Load used functions - . (Join-Path '$(Build.SourcesDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Export-ContentToBlob.ps1') - . (Join-Path '$(Build.SourcesDirectory)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') - - # Get target files - $parameterFilePath = Join-Path '$(Build.SourcesDirectory)' '$(dependencyPath)' '$(resourceType)' 'parameters' 'parameters.json' - $parameterFilePaths = @($parameterFilePath) - - # Construct Token Function Input - $ConvertTokensInputs = @{ - FilePathList = $parameterFilePaths - Tokens = @{} - TokenPrefix = '$(tokenPrefix)' - TokenSuffix = '$(tokenSuffix)' - } - - # Add local (source control) tokens - $tokenMap = @{} - foreach ($token in (Get-ChildItem env: | Where-Object -Property Name -Like "localToken_*")) { - $tokenMap += @{ $token.Name.Replace('localToken_','','OrdinalIgnoreCase') = $token.value } - } - Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $tokenMap - - # Swap 'namePrefix' token if empty and provided as a Azure DevOps variable - if([String]::IsNullOrEmpty($ConvertTokensInputs.Tokens['namePrefix'])){ - Write-Verbose 'Using [namePrefix] token from Azure DevOps Variable Groups' -Verbose - $ConvertTokensInputs.Tokens['namePrefix'] = "$(TOKEN_NAMEPREFIX)" - } - - $null = Convert-TokensInFileList @ConvertTokensInputs - - # Get storage account name - if (-not [String]::IsNullOrEmpty('$(ARM_SUBSCRIPTION_ID)')) { - Write-Verbose 'Setting context to subscription [$(ARM_SUBSCRIPTION_ID)]' - $null = Set-AzContext -Subscription '$(ARM_SUBSCRIPTION_ID)' - } - $storageAccountParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters - - # Upload files to storage account - $functionInput = @{ - ResourceGroupName = '$(defaultResourceGroupName)' - StorageAccountName = $storageAccountParameters.name.value - contentDirectories = Join-Path '$(Build.SourcesDirectory)' $(dependencyPath) '$(resourceType)' 'uploads' - targetContainer = $storageAccountParameters.blobServices.value.containers[0].name - } - - Write-Verbose "Invoke task with" -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - Export-ContentToBlob @functionInput -Verbose - azurePowerShellVersion: 'LatestVersion' - pwsh: true - - - stage: deploy_sig - displayName: Deploy shared image gallery and definition - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.Compute/galleries' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default SIG and SID - - - stage: deploy_ag - displayName: Deploy action groups - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.Insights/actionGroups' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Action Group - - - stage: deploy_asg - displayName: Deploy application security groups - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.Network/applicationSecurityGroups' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Application Security Groups - - - stage: deploy_udr - displayName: Deploy route tables - dependsOn: - - deploy_rg - variables: - resourceType: 'Microsoft.Network/routeTables' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default User Defined Routes - - ${{ if eq( parameters.deploySqlMiDependencies, true) }}: - - path: $(dependencyPath)/$(resourceType)/parameters/sqlMi.parameters.json - templateFilePath: $(templateFilePath) - displayName: SQLMI User Defined Routes - - - stage: deploy_nsg - displayName: Deploy network security groups - dependsOn: - - deploy_sa - - deploy_evh - - deploy_law - variables: - resourceType: 'Microsoft.Network/networkSecurityGroups' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default NSG - - path: $(dependencyPath)/$(resourceType)/parameters/apgw.parameters.json - templateFilePath: $(templateFilePath) - displayName: App Gateway NSG - - path: $(dependencyPath)/$(resourceType)/parameters/ase.parameters.json - templateFilePath: $(templateFilePath) - displayName: ASE NSG - - path: $(dependencyPath)/$(resourceType)/parameters/bastion.parameters.json - templateFilePath: $(templateFilePath) - displayName: Bastion NSG - - path: $(dependencyPath)/$(resourceType)/parameters/aadds.parameters.json - templateFilePath: $(templateFilePath) - displayName: AADDS NSG - - ${{ if eq( parameters.deploySqlMiDependencies, true) }}: - - path: $(dependencyPath)/$(resourceType)/parameters/sqlmi.parameters.json - templateFilePath: $(templateFilePath) - displayName: SQLMI NSG - - - stage: deploy_pip - displayName: Deploy public IP addresses - dependsOn: - - deploy_sa - - deploy_evh - - deploy_law - variables: - resourceType: 'Microsoft.Network\publicIPAddresses' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/apgw.parameters.json - templateFilePath: $(templateFilePath) - displayName: App Gateway Public IP - - path: $(dependencyPath)/$(resourceType)/parameters/bas.parameters.json - templateFilePath: $(templateFilePath) - displayName: Bastion Public IP - - path: $(dependencyPath)/$(resourceType)/parameters/lb.parameters.json - templateFilePath: $(templateFilePath) - displayName: Load balancer Public IP - - path: $(dependencyPath)/$(resourceType)/parameters/lb.min.parameters.json - templateFilePath: $(templateFilePath) - displayName: Min Load balancer Public IP - - path: $(dependencyPath)/$(resourceType)/parameters/fw.parameters.json - templateFilePath: $(templateFilePath) - displayName: Firewall Public IP - - path: $(dependencyPath)/$(resourceType)/parameters/fw.additional.parameters.json - templateFilePath: $(templateFilePath) - displayName: Firewall Additional Public IP - - path: $(dependencyPath)/$(resourceType)/parameters/bas.additional.parameters.json - templateFilePath: $(templateFilePath) - displayName: Bastion Additional Public IP - - - stage: deploy_appi - displayName: Deploy application insight - dependsOn: - - deploy_sa - - deploy_evh - - deploy_law - variables: - resourceType: 'Microsoft.Insights/components' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Application Insights - - - stage: deploy_aut - displayName: Deploy automation account - dependsOn: - - deploy_sa - - deploy_evh - - deploy_law - variables: - resourceType: 'Microsoft.Automation/automationAccounts' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Automation Account - - - stage: deploy_avdhp - displayName: Deploy AVD host pool - dependsOn: - - deploy_sa - - deploy_evh - - deploy_law - variables: - resourceType: 'Microsoft.DesktopVirtualization/hostpools' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default AVD Host Pool - - - stage: deploy_rsv - displayName: Deploy recovery services vault - dependsOn: - - deploy_sa - - deploy_evh - - deploy_law - - deploy_msi - variables: - resourceType: 'Microsoft.RecoveryServices/vaults' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - msiPrincipalId: $[ stageDependencies.deploy_msi.job_set_msi_id.outputs['print_msi_prinId.msiPrincipalId'] ] - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default recovery services vault - customParameterFileTokens: '{"msiPrincipalId":"$(msiPrincipalId)"}' - - - stage: deploy_kv - displayName: Deploy key vaults - dependsOn: - - deploy_sa - - deploy_evh - - deploy_law - - deploy_msi - variables: - resourceType: 'Microsoft.KeyVault/vaults' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - msiPrincipalId: $[ stageDependencies.deploy_msi.job_set_msi_id.outputs['print_msi_prinId.msiPrincipalId'] ] - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Key Vault - jobName: default_kv - customParameterFileTokens: '{"msiPrincipalId":"$(msiPrincipalId)"}' - - path: $(dependencyPath)/$(resourceType)/parameters/nopr.parameters.json - templateFilePath: $(templateFilePath) - displayName: Purge proteced key vault - jobName: default_kv_nopr - customParameterFileTokens: '{"msiPrincipalId":"$(msiPrincipalId)"}' - - path: $(dependencyPath)/$(resourceType)/parameters/pe.parameters.json - templateFilePath: $(templateFilePath) - displayName: Private Endpoint Key Vault - customParameterFileTokens: '{"msiPrincipalId":"$(msiPrincipalId)"}' - - ${{ if eq( parameters.deploySqlMiDependencies, true) }}: - - path: $(dependencyPath)/$(resourceType)/parameters/sqlmi.parameters.json - templateFilePath: $(templateFilePath) - displayName: SQLMI key vault - jobName: sqlmi_kv - customParameterFileTokens: '{"msiPrincipalId":"$(msiPrincipalId)"}' - - job: - displayName: Set key vault secrets keys and certificates - dependsOn: - - default_kv - - default_kv_nopr - pool: - # Must run on windows as the used `New-SelfSignedCertificate` function is not available on linux - vmImage: windows-2022 - steps: - - task: PowerShell@2 - displayName: 'Setup agent' - inputs: - targetType: inline - pwsh: true - script: | - # Load used functions - . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') - - # Define PS modules to install on the runner - $Modules = @( - @{ Name = 'Az.KeyVault' } - ) - - # Set agent up - Set-EnvironmentOnAgent -PSModules $Modules - - task: AzurePowerShell@5 - displayName: Set key vault secrets keys and certificates - inputs: - azureSubscription: $(serviceConnection) - ScriptType: 'InlineScript' - Inline: | - # Load used functions - . (Join-Path '$(Build.SourcesDirectory)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') - - # Get target files - $parameterFilePath = Join-Path '$(Build.SourcesDirectory)' '$(dependencyPath)' '$(resourceType)' 'parameters' 'parameters.json' - $noprParameterFilePath = Join-Path '$(Build.SourcesDirectory)' '$(dependencyPath)' '$(resourceType)' 'parameters' 'nopr.parameters.json' - $parameterFilePaths = @($parameterFilePath, $noprParameterFilePath) - - # Construct Token Function Input - $ConvertTokensInputs = @{ - FilePathList = $parameterFilePaths - Tokens = @{} - TokenPrefix = '$(tokenPrefix)' - TokenSuffix = '$(tokenSuffix)' - } - - # Add local (source control) tokens - $tokenMap = @{} - foreach ($token in (Get-ChildItem env: | Where-Object -Property Name -Like "localToken_*")) { - $tokenMap += @{ $token.Name.Replace('localToken_','','OrdinalIgnoreCase') = $token.value } - } - Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $tokenMap - - # Swap 'namePrefix' token if empty and provided as a Azure DevOps variable - if([String]::IsNullOrEmpty($ConvertTokensInputs.Tokens['namePrefix'])){ - Write-Verbose 'Using [namePrefix] token from Azure DevOps Variable Groups' -Verbose - $ConvertTokensInputs.Tokens['namePrefix'] = "$(TOKEN_NAMEPREFIX)" - } - $null = Convert-TokensInFileList @ConvertTokensInputs - - # Get key vault name - $keyVaultParameters = (ConvertFrom-Json (Get-Content -Path $parameterFilePath -Raw)).parameters - $keyVaultName = $keyVaultParameters.name.value - # No Purge Key Vault - $noprKeyVaultParameters = (ConvertFrom-Json (Get-Content -Path $noprParameterFilePath -Raw)).parameters - $noprKeyVaultName = $noprKeyVaultParameters.name.value - - # Generate values - $usernameString = ( -join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | ForEach-Object { [char]$_ + "$_" })).substring(0, 19) # max length - $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - $passwordString = (New-Guid).Guid.SubString(0, 19) - $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - $vpnSharedKeyString = (New-Guid).Guid.SubString(0, 32) - $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force - - $namePrefixToken = $ConvertTokensInputs.Tokens['namePrefix'] - - $certInputObject = @{ - Subject = 'CN=*.{0}.onmicrosoft.com' -f $namePrefixToken - DnsName = '*.{0}.onmicrosoft.com' -f $namePrefixToken - CertStoreLocation = 'cert:\LocalMachine\My' - KeyExportPolicy = 'Exportable' - Provider = 'Microsoft Enhanced RSA and AES Cryptographic Provider' - NotAfter = (Get-Date).AddMonths(3) - HashAlgorithm = 'SHA256' - } - $rawCert = New-SelfSignedCertificate @certInputObject - Export-PfxCertificate -Cert ('Cert:\localmachine\my\' + $rawCert.Thumbprint) -FilePath "$home/aadds.pfx" -Password $password -Force - $rawCertByteStream = Get-Content "$home/aadds.pfx" -AsByteStream - $pfxCertificate = ConvertTo-SecureString -String ([System.Convert]::ToBase64String($rawCertByteStream)) -AsPlainText -Force - - # Set secrets - # ------- - @( - @{ name = 'adminUsername'; secretValue = $username } # VirtualMachines and VMSS - @{ name = 'adminPassword'; secretValue = $password } # VirtualMachines and VMSS - @{ name = 'administratorLogin'; secretValue = $username } # Azure SQLServer - @{ name = 'administratorLoginPassword'; secretValue = $password } # Azure SQLServer - @{ name = 'vpnSharedKey'; secretValue = $vpnSharedKey } # VirtualNetworkGateway - @{ name = 'apimClientId'; secretValue = $username } # API management - @{ name = 'apimClientSecret'; secretValue = $password } # API management - @{ name = 'pfxCertificatePassword'; secretValue = $password } # AADDS - @{ name = 'pfxBase64Certificate'; secretValue = $pfxCertificate } # AADDS - ) | ForEach-Object { - $null = Set-AzKeyVaultSecret -VaultName $keyVaultName -Name $_.name -SecretValue $_.secretValue - Write-Verbose ('Added secret [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - - # Certificats - # ----------- - $certPolicy = New-AzKeyVaultCertificatePolicy -SecretContentType 'application/x-pkcs12' -SubjectName 'CN=fabrikam.com' -IssuerName 'Self' -ValidityInMonths 12 -ReuseKeyOnRenewal - @( - @{ name = 'applicationGatewaySslCertificate'; CertificatePolicy = $certPolicy } # ApplicationGateway - ) | ForEach-Object { - $null = Add-AzKeyVaultCertificate -VaultName $keyVaultName -Name $_.name -CertificatePolicy $_.CertificatePolicy - Write-Verbose ('Added certificate [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - - # Set keys - # ---- - @( - @{ name = 'keyEncryptionKey'; Destination = 'Software' } # DiskEncryptionSet, VirtualMachines and VMSS - ) | ForEach-Object { - $null = Add-AzKeyVaultKey -VaultName $keyVaultName -Name $_.name -Destination $_.Destination - Write-Verbose ('Added key [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - # noprKeyVault Keys - @( - @{ name = 'keyEncryptionKey'; Destination = 'Software' } # Automation Account - ) | ForEach-Object { - $null = Add-AzKeyVaultKey -VaultName $noprKeyVaultName -Name $_.name -Destination $_.Destination - Write-Verbose ('Added key [{0}] to key vault [{1}]' -f $_.name, $noprKeyVaultName) -Verbose - } - azurePowerShellVersion: 'LatestVersion' - pwsh: true - - - ${{ if eq( parameters.deploySqlMiDependencies, true) }}: - - job: - displayName: Set sqlmi key vault secrets and keys - dependsOn: - - sqlmi_kv - pool: - ${{ if eq(variables['vmImage'], '') }}: - name: $(poolName) - ${{ if eq(variables['poolName'], '') }}: - vmImage: $(vmImage) - steps: - - task: PowerShell@2 - displayName: 'Setup agent' - inputs: - targetType: inline - pwsh: true - script: | - # Load used functions - . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') - - # Define PS modules to install on the runner - $Modules = @( - @{ Name = 'Az.KeyVault' } - ) - - # Set agent up - Set-EnvironmentOnAgent -PSModules $Modules - - task: AzurePowerShell@5 - displayName: Set sqlmi key vault secrets and keys - inputs: - azureSubscription: $(serviceConnection) - ScriptType: 'InlineScript' - Inline: | - # Load used functions - . (Join-Path '$(Build.SourcesDirectory)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') - - # Get target files - $parameterFilePath = Join-Path '$(Build.SourcesDirectory)' '$(dependencyPath)' '$(resourceType)' 'parameters' 'sqlmi.parameters.json' - $parameterFilePaths = @($parameterFilePath) - - # Construct Token Function Input - $ConvertTokensInputs = @{ - FilePathList = $parameterFilePath - Tokens = @{} - TokenPrefix = '$(tokenPrefix)' - TokenSuffix = '$(tokenSuffix)' - } - - # Add local (source control) tokens - $tokenMap = @{} - foreach ($token in (Get-ChildItem env: | Where-Object -Property Name -Like "localToken_*")) { - $tokenMap += @{ $token.Name.Replace('localToken_','','OrdinalIgnoreCase') = $token.value } - } - Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $tokenMap - - # Swap 'namePrefix' token if empty and provided as a Azure DevOps variable - if([String]::IsNullOrEmpty($ConvertTokensInputs.Tokens['namePrefix'])){ - Write-Verbose 'Using [namePrefix] token from Azure DevOps Variable Groups' -Verbose - $ConvertTokensInputs.Tokens['namePrefix'] = "$(TOKEN_NAMEPREFIX)" - } - - $null = Convert-TokensInFileList @ConvertTokensInputs - - # Get key vault name - $keyVaultParameters = (ConvertFrom-Json (Get-Content -Path $parameterFilePath -Raw)).parameters - $keyVaultName = $keyVaultParameters.name.value - - # Generate values - $usernameString = ( -join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | ForEach-Object { [char]$_ + "$_" })).substring(0, 19) # max length - $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - $passwordString = (New-Guid).Guid.SubString(0, 19) - $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - - # Set secrets - # ------- - @( - @{ name = 'administratorLogin'; secretValue = $username } # SQLManagedInstances - @{ name = 'administratorLoginPassword'; secretValue = $password } # SQLManagedInstances - ) | ForEach-Object { - $null = Set-AzKeyVaultSecret -VaultName $keyVaultName -Name $_.name -SecretValue $_.secretValue - Write-Verbose ('Added secret [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - - # Set keys - # ---- - @( - @{ name = 'keyEncryptionKeySqlMi'; Destination = 'Software' } # SQLManagedInstances - ) | ForEach-Object { - $null = Add-AzKeyVaultKey -VaultName $keyVaultName -Name $_.name -Destination $_.Destination - Write-Verbose ('Added key [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - azurePowerShellVersion: 'LatestVersion' - pwsh: true - - - stage: deploy_des - displayName: Deploy Disk Encryption Set - dependsOn: - - deploy_kv - variables: - resourceType: 'Microsoft.Compute/diskEncryptionSets' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Application Group - - - stage: deploy_avdag - displayName: Deploy AVD application group - dependsOn: - - deploy_avdhp - variables: - resourceType: 'Microsoft.DesktopVirtualization/applicationgroups' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Application Group - - - stage: deploy_rolea - displayName: Deploy role assignments - dependsOn: - - deploy_msi - variables: - resourceType: 'Microsoft.Authorization/roleAssignments' - templateFilePath: $(modulesPath)/$(resourceType)/subscription/deploy.bicep - msiPrincipalId: $[ stageDependencies.deploy_msi.job_set_msi_id.outputs['print_msi_prinId.msiPrincipalId'] ] - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: MSI Role Assignment - customParameterFileTokens: '{"msiPrincipalId":"$(msiPrincipalId)"}' - - - stage: deploy_vnet - displayName: Deploy virtual networks - dependsOn: - - deploy_nsg - - ${{ if eq( parameters.deploySqlMiDependencies, true) }}: - - deploy_udr - variables: - resourceType: 'Microsoft.Network/virtualNetworks' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Virtual Network - - path: $(dependencyPath)/$(resourceType)/parameters/1.bastion.parameters.json - templateFilePath: $(templateFilePath) - displayName: Bastion Virtual Network Min - - path: $(dependencyPath)/$(resourceType)/parameters/2.vnetpeer01.parameters.json - templateFilePath: $(templateFilePath) - displayName: VNET PEering 1 Virtual Network - - path: $(dependencyPath)/$(resourceType)/parameters/3.vnetpeer02.parameters.json - templateFilePath: $(templateFilePath) - displayName: VNET Peering 2 Virtual Network - - path: $(dependencyPath)/$(resourceType)/parameters/4.azfw.parameters.json - templateFilePath: $(templateFilePath) - displayName: Azure Firewall Virtual Network - - path: $(dependencyPath)/$(resourceType)/parameters/5.aks.parameters.json - templateFilePath: $(templateFilePath) - displayName: AKS Virtual Network - - path: $(dependencyPath)/$(resourceType)/parameters/7.virtualHubConnection.parameters.json - templateFilePath: $(templateFilePath) - displayName: Virtual Hub Connection Virtual Network - - path: $(dependencyPath)/$(resourceType)/parameters/8.aadds.parameters.json - templateFilePath: $(templateFilePath) - displayName: AADDS Virtual Network - - path: $(dependencyPath)/$(resourceType)/parameters/9.azfw.parameters.json - templateFilePath: $(templateFilePath) - displayName: Azure Firewall Virtual Network Min - - path: $(dependencyPath)/$(resourceType)/parameters/10.azfw.parameters.json - templateFilePath: $(templateFilePath) - displayName: Azure Firewall Virtual Network Additonal - - path: $(dependencyPath)/$(resourceType)/parameters/11.azfw.parameters.json - templateFilePath: $(templateFilePath) - displayName: Azure Firewall Virtual Network Custom - - path: $(dependencyPath)/$(resourceType)/parameters/12.bastion.parameters.json - templateFilePath: $(templateFilePath) - displayName: Bastion Virtual Network Additional - - path: $(dependencyPath)/$(resourceType)/parameters/13.bastion.parameters.json - templateFilePath: $(templateFilePath) - displayName: Bastion Virtual Network Custom - - path: $(dependencyPath)/$(resourceType)/parameters/14.postgres.parameters.json - templateFilePath: $(templateFilePath) - displayName: PostgreSQL Virtual Network Custom - - path: $(dependencyPath)/$(resourceType)/parameters/15.vnetGateway.parameters.json - templateFilePath: $(templateFilePath) - displayName: Virtual Network Gateway Secondary Virtual Network - - - ${{ if eq( parameters.deploySqlMiDependencies, true) }}: - - path: $(dependencyPath)/$(resourceType)/parameters/6.sqlmi.parameters.json - templateFilePath: $(templateFilePath) - displayName: SQL MI Virtual Network - - - stage: deploy_dnszone - displayName: Deploy private DNS zones - dependsOn: - - deploy_vnet - variables: - resourceType: 'Microsoft.Network/privateDnsZones' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/automation.parameters.json - templateFilePath: $(templateFilePath) - displayName: Automation Account Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/azconfig.parameters.json - templateFilePath: $(templateFilePath) - displayName: App Configuration Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/azurecr.parameters.json - templateFilePath: $(templateFilePath) - displayName: ACR Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/azureml.parameters.json - templateFilePath: $(templateFilePath) - displayName: Machine Learning Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/azurestaticapps.parameters.json - templateFilePath: $(templateFilePath) - displayName: Static Apps Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/azuresynapse.plh.parameters.json - templateFilePath: $(templateFilePath) - displayName: Azure Synapse Private Link Hub Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/azuresynapse.workspace.parameters.json - templateFilePath: $(templateFilePath) - displayName: Azure Synapse Workspace Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/azurewebsites.parameters.json - templateFilePath: $(templateFilePath) - displayName: Web Sites Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/batch.parameters.json - templateFilePath: $(templateFilePath) - displayName: Batch Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/blob.parameters.json - templateFilePath: $(templateFilePath) - displayName: Storage Blob Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/cognitiveservices.parameters.json - templateFilePath: $(templateFilePath) - displayName: Cognitive Services Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/database.parameters.json - templateFilePath: $(templateFilePath) - displayName: Database Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/datafactory.parameters.json - templateFilePath: $(templateFilePath) - displayName: Data Factory Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/eventgrid.parameters.json - templateFilePath: $(templateFilePath) - displayName: Event Grid Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/file.parameters.json - templateFilePath: $(templateFilePath) - displayName: Storage Files Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/monitor.parameters.json - templateFilePath: $(templateFilePath) - displayName: Monitoring Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/queue.parameters.json - templateFilePath: $(templateFilePath) - displayName: Storage Queue Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/redis.parameters.json - templateFilePath: $(templateFilePath) - displayName: Redis Cache Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/servicebus.parameters.json - templateFilePath: $(templateFilePath) - displayName: Service Bus Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/siterecovery.parameters.json - templateFilePath: $(templateFilePath) - displayName: Recovery Services Vault Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/table.parameters.json - templateFilePath: $(templateFilePath) - displayName: Storage Table Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/vaultcore.parameters.json - templateFilePath: $(templateFilePath) - displayName: Key Vault Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/webpubsub.parameters.json - templateFilePath: $(templateFilePath) - displayName: Web PubSub Private DNS Zone - - path: $(dependencyPath)/$(resourceType)/parameters/postgres.parameters.json - templateFilePath: $(templateFilePath) - displayName: PostgreSQL Private DNS Zone - - - stage: deploy_vm - displayName: Deploy virtual machines - dependsOn: - - deploy_vnet - - deploy_rsv - - deploy_kv - variables: - resourceType: 'Microsoft.Compute/virtualMachines' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json - templateFilePath: $(templateFilePath) - displayName: Default Virtual Machine - - - stage: deploy_lb - displayName: Deploy load balancers - dependsOn: - - deploy_vnet - variables: - resourceType: 'Microsoft.Network/loadBalancers' - templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml - parameters: - deploymentBlocks: - - path: $(dependencyPath)/$(resourceType)/parameters/internal.parameters.json - templateFilePath: $(templateFilePath) - displayName: Deploy Internal LB - - path: $(dependencyPath)/$(resourceType)/parameters/pls.parameters.json - templateFilePath: $(templateFilePath) - displayName: Deploy PLS LB diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index 5105bf465c..3810db6c9c 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.aad.domainservices.yml' - 'modules/Microsoft.AAD/DomainServices/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 7ce9983cd2..dc8540c5e0 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.analysisservices.servers.yml' - 'modules/Microsoft.AnalysisServices/servers/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index b0b270b03d..2d240d997c 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.apimanagement.service.yml' - 'modules/Microsoft.ApiManagement/service/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index 1550452182..91b748b7f6 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.appconfiguration.configurationstores.yml' - 'modules/Microsoft.AppConfiguration/configurationStores/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 9cb29e3771..8a2864e4be 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.authorization.locks.yml' - 'modules/Microsoft.Authorization/locks/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index 1d8d1654be..b2fd3aeb99 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.authorization.policyassignments.yml' - 'modules/Microsoft.Authorization/policyAssignments/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 77ab220288..2d50095913 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.authorization.policydefinitions.yml' - 'modules/Microsoft.Authorization/policyDefinitions/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 691d1dd935..49ab24bb58 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.authorization.policyexemptions.yml' - 'modules/Microsoft.Authorization/policyExemptions/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index b2b35d166a..b1ea9bac65 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.authorization.policysetdefinitions.yml' - 'modules/Microsoft.Authorization/policySetDefinitions/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index cdd3a0fe60..bb5a084695 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.authorization.roleassignments.yml' - 'modules/Microsoft.Authorization/roleAssignments/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/roleAssignments' diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index 398eb2baa2..4d922b9cd5 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.authorization.roledefinitions.yml' - 'modules/Microsoft.Authorization/roleDefinitions/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 8d4a109280..b61f5f3775 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -22,7 +22,6 @@ on: - '.github/workflows/ms.automation.automationaccounts.yml' - 'modules/Microsoft.Automation/automationAccounts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index 6f2e012ab8..2c20ff4be1 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.batch.batchaccounts.yml' - 'modules/Microsoft.Batch/batchAccounts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 227e6572b5..bad14dcf14 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.cache.redis.yml' - 'modules/Microsoft.Cache/redis/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 5647fb882b..bc63351339 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.cognitiveservices.accounts.yml' - 'modules/Microsoft.CognitiveServices/accounts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index d4a60e7af1..c3a7048441 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.compute.availabilitysets.yml' - 'modules/Microsoft.Compute/availabilitySets/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index 97eeaee93c..5a54b9ea0a 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -21,10 +21,7 @@ on: - '.github/workflows/ms.compute.diskencryptionsets.yml' - 'modules/Microsoft.Compute/diskEncryptionSets/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - -env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/diskEncryptionSets' workflowPath: '.github/workflows/ms.compute.diskencryptionsets.yml' diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index b2f2b4afda..46c11668d8 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.compute.disks.yml' - 'modules/Microsoft.Compute/disks/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/disks' diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index 6a12ca4e01..8a238de04e 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.compute.galleries.yml' - 'modules/Microsoft.Compute/galleries/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index a0fd4e3b9e..caf127afb0 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.compute.images.yml' - 'modules/Microsoft.Compute/images/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/images' diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 3bbfcab898..86c890b847 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.compute.proximityplacementgroups.yml' - 'modules/Microsoft.Compute/proximityPlacementGroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/proximityPlacementGroups' diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 50076499aa..9a6afcc4c7 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.compute.virtualmachines.yml' - 'modules/Microsoft.Compute/virtualMachines/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index ae86f20689..0588681bfc 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.compute.virtualmachinescalesets.yml' - 'modules/Microsoft.Compute/virtualMachineScaleSets/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 29c660fa9c..f2f0fe1ecd 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.consumption.budgets.yml' - 'modules/Microsoft.Consumption/budgets/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Consumption/budgets' diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 58a0d47792..0f2a55f91d 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.containerinstance.containergroups.yml' - 'modules/Microsoft.ContainerInstance/containerGroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 16c71b156f..8c7c10659f 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.containerregistry.registries.yml' - 'modules/Microsoft.ContainerRegistry/registries/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 3dd9a3e222..f6e34196f7 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.containerservice.managedclusters.yml' - 'modules/Microsoft.ContainerService/managedClusters/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 85bb9f388b..2f6803cfe2 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.databricks.workspaces.yml' - 'modules/Microsoft.Databricks/workspaces/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index b0db7cb988..bdd74af885 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.datafactory.factories.yml' - 'modules/Microsoft.DataFactory/factories/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 8c7b12f3fc..53406c9ff2 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.dataprotection.backupvaults.yml' - 'modules/Microsoft.DataProtection/backupVaults/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index a5db71c7db..45ff559054 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.dbforpostgresql.flexibleservers.yml' - 'modules/Microsoft.DBforPostgreSQL/flexibleServers/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index 704ece9dd4..3933cd83d7 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.desktopvirtualization.applicationgroups.yml' - 'modules/Microsoft.DesktopVirtualization/applicationgroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 7d371b3908..5bb56a71ef 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.desktopvirtualization.hostpools.yml' - 'modules/Microsoft.DesktopVirtualization/hostpools/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index bd61b15f96..0ced390001 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.desktopvirtualization.scalingplans.yml' - 'modules/Microsoft.DesktopVirtualization/scalingplans/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index af1ce3d017..109e5c758d 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.desktopvirtualization.workspaces.yml' - 'modules/Microsoft.DesktopVirtualization/workspaces/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index 5e3e27ae4a..be7b2b50f2 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.documentdb.databaseaccounts.yml' - 'modules/Microsoft.DocumentDB/databaseAccounts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index 7082058379..450e8a4822 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.eventgrid.systemtopics.yml' - 'modules/Microsoft.EventGrid/systemTopics/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index 0f1a55f4d7..dba211749a 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.eventgrid.topics.yml' - 'modules/Microsoft.EventGrid/topics/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/topics' diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 8a6d20f63d..d3b5fc4a7d 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.eventhub.namespaces.yml' - 'modules/Microsoft.EventHub/namespaces/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index b922917e4c..9ba199900d 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.healthbot.healthbots.yml' - 'modules/Microsoft.HealthBot/healthBots/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 51f6fe4932..9856482e3e 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.insights.actiongroups.yml' - 'modules/Microsoft.Insights/actionGroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 455d13ece9..a63e7baabd 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.insights.activitylogalerts.yml' - 'modules/Microsoft.Insights/activityLogAlerts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 13f0691fe3..e6b0e5b0b6 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.insights.components.yml' - 'modules/Microsoft.Insights/components/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 727ff66ecb..9112d1346a 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.insights.diagnosticsettings.yml' - 'modules/Microsoft.Insights/diagnosticsettings/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index e29b546f5e..298ab80067 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.insights.metricalerts.yml' - 'modules/Microsoft.Insights/metricAlerts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/metricAlerts' diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 24cec3a955..08f18048b6 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.insights.privatelinkscopes.yml' - 'modules/Microsoft.Insights/privateLinkScopes/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index 84edced8b2..4ae7b2fc42 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.insights.scheduledqueryrules.yml' - 'modules/Microsoft.Insights/scheduledQueryRules/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index 98a4b20b72..abc8ad5453 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.keyvault.vaults.yml' - 'modules/Microsoft.KeyVault/vaults/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index 53c556b9c2..78aded944f 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.kubernetesconfiguration.extensions.yml' - 'modules/Microsoft.KubernetesConfiguration/extensions/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 9d6a710731..989643d54a 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml' - 'modules/Microsoft.KubernetesConfiguration/fluxConfigurations/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 0547b78ab7..9882093cba 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.logic.workflows.yml' - 'modules/Microsoft.Logic/workflows/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index a01e34c35a..af993505b9 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.machinelearningservices.workspaces.yml' - 'modules/Microsoft.MachineLearningServices/workspaces/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.MachineLearningServices/workspaces' diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index 21b2c9df46..ed54442762 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.managedidentity.userassignedidentities.yml' - 'modules/Microsoft.ManagedIdentity/userAssignedIdentities/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index 5062b8cae6..adc2ff9154 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.managedservices.registrationdefinitions.yml' - 'modules/Microsoft.ManagedServices/registrationDefinitions/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 5a3363445d..21d2b29664 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.management.managementgroups.yml' - 'modules/Microsoft.Management/managementGroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index be17607a9a..4c070fd3cd 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.netapp.netappaccounts.yml' - 'modules/Microsoft.NetApp/netAppAccounts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.NetApp/netAppAccounts' diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 453e8a3e44..721345e514 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.applicationgateways.yml' - 'modules/Microsoft.Network/applicationGateways/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 34f25e9c75..86b4de6c63 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml' - 'modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 714b364ca7..28a1f9ae03 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.applicationsecuritygroups.yml' - 'modules/Microsoft.Network/applicationSecurityGroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 05b44e09ee..d4a2ed2b2e 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.azurefirewalls.yml' - 'modules/Microsoft.Network/azureFirewalls/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index 29998ecfe1..378f4e60e5 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.bastionhosts.yml' - 'modules/Microsoft.Network/bastionHosts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index f225c4044d..39ac3c009c 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.connections.yml' - 'modules/Microsoft.Network/connections/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index ce0a12fef9..18205e6fb9 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.ddosprotectionplans.yml' - 'modules/Microsoft.Network/ddosProtectionPlans/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index 000b004e31..9ab11b99bb 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.dnsresolvers.yml' - 'modules/Microsoft.Network/dnsResolvers/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index 6314c13a94..8061dbacfe 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.expressroutecircuits.yml' - 'modules/Microsoft.Network/expressRouteCircuits/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index dc914846b4..4d76e4f405 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.firewallpolicies.yml' - 'modules/Microsoft.Network/firewallPolicies/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 4391ea3777..07dab3a7b0 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.frontdoors.yml' - 'modules/Microsoft.Network/frontDoors/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index 55cc615dcf..6175c9f7e6 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.ipgroups.yml' - 'modules/Microsoft.Network/ipGroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index 16c133ee17..29252ef132 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.loadbalancers.yml' - 'modules/Microsoft.Network/loadBalancers/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index eea7797188..355a9b1fb0 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.localnetworkgateways.yml' - 'modules/Microsoft.Network/localNetworkGateways/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index e15276f359..a470247478 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.natgateways.yml' - 'modules/Microsoft.Network/natGateways/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index 129fa8aabf..f066b2e90f 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.networkinterfaces.yml' - 'modules/Microsoft.Network/networkInterfaces/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 98551bff60..c10ed567ac 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.networksecuritygroups.yml' - 'modules/Microsoft.Network/networkSecurityGroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index 860ed2bc51..c5949aecbf 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.network.networkwatchers.yml' - 'modules/Microsoft.Network/networkWatchers/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkWatchers' diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index 3804e9e532..074771340b 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -21,9 +21,7 @@ on: - '.github/workflows/ms.network.privatednszones.yml' - 'modules/Microsoft.Network/privateDnsZones/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' - env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/privateDnsZones' diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 716e4c55ac..25a4ea0c9c 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.privateendpoints.yml' - 'modules/Microsoft.Network/privateEndpoints/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index e95d4622ac..d424e4239e 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.privatelinkservices.yml' - 'modules/Microsoft.Network/privateLinkServices/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index fec5f0696b..f557d2163e 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.publicipaddresses.yml' - 'modules/Microsoft.Network/publicIPAddresses/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index 009ca590f2..f0afb7dfdb 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.publicipprefixes.yml' - 'modules/Microsoft.Network/publicIPPrefixes/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index 26eea34d44..8c39e1c8b4 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.routetables.yml' - 'modules/Microsoft.Network/routeTables/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index c539c0f0a9..eb5e5204f8 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.trafficmanagerprofiles.yml' - 'modules/Microsoft.Network/trafficmanagerprofiles/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index 52542e3945..35abc22534 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.virtualhubs.yml' - 'modules/Microsoft.Network/virtualHubs/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index 93ba948ad2..41b6c3cfeb 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.virtualnetworkgateways.yml' - 'modules/Microsoft.Network/virtualNetworkGateways/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 39091d9676..f4372bf151 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.virtualnetworks.yml' - 'modules/Microsoft.Network/virtualNetworks/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index d569a0ca71..b2deb05b95 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.virtualwans.yml' - 'modules/Microsoft.Network/virtualWans/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index 8159605d09..d6d6a8da90 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.vpngateways.yml' - 'modules/Microsoft.Network/vpnGateways/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index 71e09c5466..9176f67acb 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.network.vpnsites.yml' - 'modules/Microsoft.Network/vpnSites/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 9234d47464..05352ece3d 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.operationalinsights.workspaces.yml' - 'modules/Microsoft.OperationalInsights/workspaces/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index a0934a1eb1..d4354c4a5f 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.operationsmanagement.solutions.yml' - 'modules/Microsoft.OperationsManagement/solutions/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index 51abde8731..d7b055461a 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.powerbidedicated.capacities.yml' - 'modules/Microsoft.PowerBIDedicated/capacities/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 6da40a95c8..a08ce429a0 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.recoveryservices.vaults.yml' - 'modules/Microsoft.RecoveryServices/vaults/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 8c0b463c2a..7e52b29bdd 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.resources.deploymentscripts.yml' - 'modules/Microsoft.Resources/deploymentScripts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 69a09fef7d..06258e23e3 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.resources.resourcegroups.yml' - 'modules/Microsoft.Resources/resourceGroups/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index 8f23d4d9ed..7c4b69e639 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.resources.tags.yml' - 'modules/Microsoft.Resources/tags/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index 7a931edf5f..3b1dd465eb 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.security.azuresecuritycenter.yml' - 'modules/Microsoft.Security/azureSecurityCenter/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index e24bb8ee11..45dc08b649 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.servicebus.namespaces.yml' - 'modules/Microsoft.ServiceBus/namespaces/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index b207d7691f..10283d213b 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.servicefabric.clusters.yml' - 'modules/Microsoft.ServiceFabric/clusters/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index c406c1479c..c89a157f61 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.signalrservice.webpubsub.yml' - 'modules/Microsoft.SignalRService/webPubSub/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 278e6a3b27..c6241a893b 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.sql.managedinstances.yml' - 'modules/Microsoft.Sql/managedInstances/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index aa091df60f..acbab471ff 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.sql.servers.yml' - 'modules/Microsoft.Sql/servers/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index c5e73fd181..a0305d54a5 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.storage.storageaccounts.yml' - 'modules/Microsoft.Storage/storageAccounts/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 482fc3a07d..8b70ddc2ec 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.synapse.privatelinkhubs.yml' - 'modules/Microsoft.Synapse/privateLinkHubs/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index e1c52133a4..d3a9354c17 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.synapse.workspaces.yml' - 'modules/Microsoft.Synapse/workspaces/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index 6d82245ad1..ceee3a40fe 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.virtualmachineimages.imagetemplates.yml' - 'modules/Microsoft.VirtualMachineImages/imageTemplates/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index 63e27f246d..69e0d03901 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.web.connections.yml' - 'modules/Microsoft.Web/connections/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index cb663b5156..02452a38b0 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.web.hostingenvironments.yml' - 'modules/Microsoft.Web/hostingEnvironments/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index d118adaffe..8e84af3216 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.web.serverfarms.yml' - 'modules/Microsoft.Web/serverfarms/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index 6536308280..fb364722fa 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.web.sites.yml' - 'modules/Microsoft.Web/sites/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index 4873d77699..1ee73f8926 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.web.staticsites.yml' - 'modules/Microsoft.Web/staticSites/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml deleted file mode 100644 index 705baa1da8..0000000000 --- a/.github/workflows/platform.dependencies.yml +++ /dev/null @@ -1,1487 +0,0 @@ -name: '.Platform: Dependencies' - -on: - workflow_dispatch: - inputs: - deploySqlMiDependencies: - type: boolean - description: 'Enable SqlMi dependencies deployment' - required: false - default: false - deployVhdDependencies: - type: boolean - description: 'Enable deployment of a vhd stored in a blob container' - required: false - default: false - - # push: - # branches: - # - main - # paths: - # - '.github/actions/templates/validateModuleDeployment/**' - # - '.github/workflows/platform.dependencies.yml' - # - 'utilities/pipelines/dependencies/**' - -env: - variablesPath: 'settings.yml' - location: 'WestEurope' - defaultResourceGroupName: 'validation-rg' - resourceGroupNameArtifacts: 'artifacts-rg' - removeDeployment: 'false' - dependencyPath: 'utilities/pipelines/dependencies' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' - -jobs: - job_deploy_rg: - runs-on: ubuntu-20.04 - name: 'Deploy resource group' - env: - namespace: 'Microsoft.Resources\resourceGroups' - strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['validation.parameters.json', 'locks.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_vhd: - runs-on: ubuntu-20.04 - name: 'Store VHD to Storage Account' - if: github.event.inputs.deployVhdDependencies == 'true' - needs: - - job_deploy_rg - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploy.bicep' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_ppg: - runs-on: ubuntu-20.04 - name: 'Deploy proximity placement group' - env: - namespace: 'Microsoft.Compute\proximityPlacementGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['parameters.json', 'vm.parameters.json', 'vmss.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_msi: - runs-on: ubuntu-20.04 - name: 'Deploy user assigned identity' - env: - namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' - needs: - - job_deploy_rg - outputs: - msiPrincipalId: ${{ steps.print_msi_prinId.outputs.msiPrincipalId }} - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - id: deploy_msi - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - name: Set msi principal ID output - id: print_msi_prinId - uses: azure/powershell@v1 - with: - inlineScript: | - $deploymentOutput = '${{ steps.deploy_msi.outputs.deploymentOutput }}' - $msiPrincipalId = (ConvertFrom-Json $deploymentOutput).principalId - Write-Verbose "msiPrincipalId: $msiPrincipalId" -Verbose - Write-Output ('::set-output name={0}::{1}' -f 'msiPrincipalId', $msiPrincipalId) - azPSVersion: 'latest' - - job_deploy_sf: - runs-on: ubuntu-20.04 - name: 'Deploy server farm' - env: - namespace: 'Microsoft.Web/serverfarms' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_app: - runs-on: ubuntu-20.04 - name: 'Deploy app' - env: - namespace: 'Microsoft.Web/sites' - needs: - - job_deploy_sf - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_pa: - runs-on: ubuntu-20.04 - name: 'Deploy policy assignment' - env: - namespace: 'Microsoft.Authorization\policyAssignments' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['mg.parameters.json', 'sub.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_evh: - runs-on: ubuntu-20.04 - name: 'Deploy eventhub' - env: - namespace: 'Microsoft.EventHub\namespaces' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_law: - runs-on: ubuntu-20.04 - name: 'Deploy log analytics workspace' - env: - namespace: 'Microsoft.OperationalInsights\workspaces' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - 'appi.parameters.json', - 'aut.parameters.json', - 'sol.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sa: - runs-on: ubuntu-20.04 - name: 'Deploy storage account' - env: - namespace: 'Microsoft.Storage\storageAccounts' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - 'fa.parameters.json', - 'law.parameters.json', - 'parameters.json', - 'synapse01.parameters.json', - 'synapse02.parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_sa_upload_storage_files: - runs-on: ubuntu-20.04 - name: 'Upload files to storage account' - env: - namespace: 'Microsoft.Storage\storageAccounts' - needs: - - job_deploy_sa - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: 'Setup agent' - shell: pwsh - run: | - # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') - - # Define PS modules to install on the runner - $Modules = @( - @{ Name = 'Az.Storage' }, - @{ Name = 'powershell-yaml'; Version = '0.4.2'} - ) - - # Set agent up - Set-EnvironmentOnAgent -PSModules $Modules - - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Export-ContentToBlob.ps1') - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') - - # Get target files - $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' '${{ env.namespace }}' 'parameters' 'parameters.json' - $parameterFilePaths = @($parameterFilePath) - - # Construct Token Function Input - $ConvertTokensInputs = @{ - FilePath = $parameterFilePaths - Tokens = @{} - TokenPrefix = '${{ env.tokenPrefix }}' - TokenSuffix = '${{ env.tokenSuffix }}' - } - - # Add local (source control) tokens - $tokenMap = @{} - foreach ($token in (Get-ChildItem env: | Where-Object -Property Name -Like "localToken_*")) { - $tokenMap += @{ $token.Name.Replace('localToken_','','OrdinalIgnoreCase') = $token.value } - } - Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $tokenMap - - # Swap 'namePrefix' token if empty and provided as a GitHub secret - if([String]::IsNullOrEmpty($ConvertTokensInputs.Tokens['namePrefix'])){ - Write-Verbose 'Using [namePrefix] token from GitHub' -Verbose - $ConvertTokensInputs.Tokens['namePrefix'] = '${{ env.TOKEN_NAMEPREFIX }}' - } - - $null = Convert-TokensInFileList @ConvertTokensInputs - - # Get storage account name - $storageAccountParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters - - # Upload files to storage account - $functionInput = @{ - ResourceGroupName = '${{ env.defaultResourceGroupName }}' - StorageAccountName = $storageAccountParameters.name.value - contentDirectories = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' '${{ env.namespace }}' 'uploads' - targetContainer = $storageAccountParameters.blobServices.value.containers[0].name - } - - Write-Verbose "Invoke task with" -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - Export-ContentToBlob @functionInput -Verbose - azPSVersion: 'latest' - - job_deploy_sig: - runs-on: ubuntu-20.04 - name: 'Deploy shared image gallery and definition' - env: - namespace: 'Microsoft.Compute\galleries' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_ag: - runs-on: ubuntu-20.04 - name: 'Deploy action groups' - env: - namespace: 'Microsoft.Insights\actionGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_asg: - runs-on: ubuntu-20.04 - name: 'Deploy application security groups' - env: - namespace: 'Microsoft.Network\applicationSecurityGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_udr: - runs-on: ubuntu-20.04 - name: 'Deploy route tables' - env: - namespace: 'Microsoft.Network\routeTables' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_udr: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi route tables' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\routeTables' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlMi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_nsg: - runs-on: ubuntu-20.04 - name: 'Deploy network security groups' - env: - namespace: 'Microsoft.Network\networkSecurityGroups' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - 'apgw.parameters.json', - 'ase.parameters.json', - 'bastion.parameters.json', - 'aadds.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_nsg: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi network security group' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\networkSecurityGroups' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_pip: - runs-on: ubuntu-20.04 - name: 'Deploy public IP addresses' - env: - namespace: 'Microsoft.Network\publicIPAddresses' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - 'apgw.parameters.json', - 'bas.parameters.json', - 'bas.additional.parameters.json', - 'lb.parameters.json', - 'lb.min.parameters.json', - 'fw.parameters.json', - 'fw.additional.parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_appi: - runs-on: ubuntu-20.04 - name: 'Deploy application insight' - env: - namespace: 'Microsoft.Insights\components' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_aut: - runs-on: ubuntu-20.04 - name: 'Deploy automation account' - env: - namespace: 'Microsoft.Automation\automationAccounts' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_avdhp: - runs-on: ubuntu-20.04 - name: 'Deploy AVD host pool' - env: - namespace: 'Microsoft.DesktopVirtualization\hostpools' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_rsv: - runs-on: ubuntu-20.04 - name: 'Deploy recovery services vault' - env: - namespace: 'Microsoft.RecoveryServices\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - - job_deploy_msi - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - customParameterFileTokens: '{"msiPrincipalId":"${{ needs.job_deploy_msi.outputs.msiPrincipalId }}"}' - - job_deploy_kv: - runs-on: ubuntu-20.04 - name: 'Deploy key vaults' - env: - namespace: 'Microsoft.KeyVault\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - - job_deploy_msi - strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['parameters.json', 'pe.parameters.json', 'nopr.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - customParameterFileTokens: '{"msiPrincipalId":"${{ needs.job_deploy_msi.outputs.msiPrincipalId }}"}' - - job_deploy_kv_secrets: - # Must run on windows as the used `New-SelfSignedCertificate` function is not available on linux - runs-on: windows-2022 - name: 'Set key vault secrets keys and certificates' - env: - namespace: 'Microsoft.KeyVault\vaults' - needs: - - job_deploy_kv - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: 'Setup agent' - shell: pwsh - run: | - # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') - - # Define PS modules to install on the runner - $Modules = @( - @{ Name = 'Az.KeyVault' }, - @{ Name = 'powershell-yaml'; Version = '0.4.2'} - ) - - # Set agent up - Set-EnvironmentOnAgent -PSModules $Modules - - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - - name: 'Set key vault secrets keys and certificates' - uses: azure/powershell@v1 - with: - inlineScript: | - # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') - - # Get target files - $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'dependencies' '${{ env.namespace }}' 'parameters' 'parameters.json' - $noprParameterFilePath = Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'dependencies' '${{ env.namespace }}' 'parameters' 'nopr.parameters.json' - $parameterFilePaths = @($parameterFilePath, $noprParameterFilePath) - - # Construct Token Function Input - $ConvertTokensInputs = @{ - FilePathList = $parameterFilePaths - Tokens = @{} - TokenPrefix = '${{ env.tokenPrefix }}' - TokenSuffix = '${{ env.tokenSuffix }}' - } - - # Add local (source control) tokens - $tokenMap = @{} - foreach ($token in (Get-ChildItem env: | Where-Object -Property Name -Like "localToken_*")) { - $tokenMap += @{ $token.Name.Replace('localToken_','','OrdinalIgnoreCase') = $token.value } - } - Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $tokenMap - - # Swap 'namePrefix' token if empty and provided as a GitHub secret - if([String]::IsNullOrEmpty($ConvertTokensInputs.Tokens['namePrefix'])){ - Write-Verbose 'Using [namePrefix] token from GitHub' -Verbose - $ConvertTokensInputs.Tokens['namePrefix'] = '${{ env.TOKEN_NAMEPREFIX }}' - } - $null = Convert-TokensInFileList @ConvertTokensInputs - - # Get key vault name - $keyVaultParameters = (ConvertFrom-Json (Get-Content -Path $parameterFilePath -Raw)).parameters - $keyVaultName = $keyVaultParameters.name.value - - $noprKeyVaultParameters = (ConvertFrom-Json (Get-Content -Path $noprParameterFilePath -Raw)).parameters - $noprKeyVaultName = $noprKeyVaultParameters.name.value - - # Generate values - $usernameString = ( -join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | ForEach-Object { [char]$_ + "$_" })).substring(0, 19) # max length - $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - $passwordString = (New-Guid).Guid.SubString(0, 19) - $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - $vpnSharedKeyString = (New-Guid).Guid.SubString(0, 32) - $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force - - $namePrefixToken = $ConvertTokensInputs.Tokens['namePrefix'] - - $certInputObject = @{ - Subject = 'CN=*.{0}.onmicrosoft.com' -f $namePrefixToken - DnsName = '*.{0}.onmicrosoft.com' -f $namePrefixToken - CertStoreLocation = 'cert:\LocalMachine\My' - KeyExportPolicy = 'Exportable' - Provider = 'Microsoft Enhanced RSA and AES Cryptographic Provider' - NotAfter = (Get-Date).AddMonths(3) - HashAlgorithm = 'SHA256' - } - $rawCert = New-SelfSignedCertificate @certInputObject - Export-PfxCertificate -Cert ('Cert:\localmachine\my\' + $rawCert.Thumbprint) -FilePath "$home/aadds.pfx" -Password $password -Force - $rawCertByteStream = Get-Content "$home/aadds.pfx" -AsByteStream - $pfxCertificate = ConvertTo-SecureString -String ([System.Convert]::ToBase64String($rawCertByteStream)) -AsPlainText -Force - - # Set secrets - # ------- - @( - @{ name = 'adminUsername'; secretValue = $username } # VirtualMachines and VMSS - @{ name = 'adminPassword'; secretValue = $password } # VirtualMachines and VMSS - @{ name = 'administratorLogin'; secretValue = $username } # Azure SQLServer - @{ name = 'administratorLoginPassword'; secretValue = $password } # Azure SQLServer - @{ name = 'vpnSharedKey'; secretValue = $vpnSharedKey } # VirtualNetworkGateway - @{ name = 'apimClientId'; secretValue = $username } # API management - @{ name = 'apimClientSecret'; secretValue = $password } # API management - @{ name = 'pfxCertificatePassword'; secretValue = $password } # AADDS - @{ name = 'pfxBase64Certificate'; secretValue = $pfxCertificate } # AADDS - ) | ForEach-Object { - $null = Set-AzKeyVaultSecret -VaultName $keyVaultName -Name $_.name -SecretValue $_.secretValue - Write-Verbose ('Added secret [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - - # Set certificates - # ----------- - $certPolicy = New-AzKeyVaultCertificatePolicy -SecretContentType 'application/x-pkcs12' -SubjectName 'CN=fabrikam.com' -IssuerName 'Self' -ValidityInMonths 12 -ReuseKeyOnRenewal - @( - @{ name = 'applicationGatewaySslCertificate'; CertificatePolicy = $certPolicy } # ApplicationGateway - ) | ForEach-Object { - $null = Add-AzKeyVaultCertificate -VaultName $keyVaultName -Name $_.name -CertificatePolicy $_.CertificatePolicy - Write-Verbose ('Added certificate [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - - # Set keys - # ---- - @( - @{ name = 'keyEncryptionKey'; Destination = 'Software' } # DiskEncryptionSet, VirtualMachines and VMSS - ) | ForEach-Object { - $null = Add-AzKeyVaultKey -VaultName $keyVaultName -Name $_.name -Destination $_.Destination - Write-Verbose ('Added key [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - - } - - # noprKeyVault Keys - @( - @{ name = 'keyEncryptionKey'; Destination = 'Software' } # Automation Account - ) | ForEach-Object { - $null = Add-AzKeyVaultKey -VaultName $noprKeyVaultName -Name $_.name -Destination $_.Destination - Write-Verbose ('Added key [{0}] to key vault [{1}]' -f $_.name, $noprKeyVaultName) -Verbose - } - azPSVersion: 'latest' - - job_deploy_sqlmi_kv: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi key vault' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.KeyVault\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - - job_deploy_msi - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - customParameterFileTokens: '{"msiPrincipalId":"${{ needs.job_deploy_msi.outputs.msiPrincipalId }}"}' - - job_deploy_sqlmi_kv_secrets: - runs-on: ubuntu-20.04 - name: 'Set sqlmi key vault secrets and keys' - if: github.event.inputs.deploySqlMiDependencies == 'true' - needs: - - job_deploy_sqlmi_kv - env: - namespace: 'Microsoft.KeyVault\vaults' - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: 'Setup agent' - shell: pwsh - run: | - # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') - - # Define PS modules to install on the runner - $Modules = @( - @{ Name = 'Az.KeyVault' }, - @{ Name = 'powershell-yaml'; Version = '0.4.2'} - ) - - # Set agent up - Set-EnvironmentOnAgent -PSModules $Modules - - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - - name: 'Set sqlmi key vault secrets and keys' - uses: azure/powershell@v1 - with: - inlineScript: | - # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') - - # Get target files - $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'dependencies' '${{ env.namespace }}' 'parameters' 'sqlmi.parameters.json' - $parameterFilePaths = @($parameterFilePath) - - # Construct Token Function Input - $ConvertTokensInputs = @{ - Tokens = @{} - FilePath = $parameterFilePaths - TokenPrefix = '${{ env.tokenPrefix }}' - TokenSuffix = '${{ env.tokenSuffix }}' - } - - # Add local (source control) tokens - $tokenMap = @{} - foreach ($token in (Get-ChildItem env: | Where-Object -Property Name -Like "localToken_*")) { - $tokenMap += @{ $token.Name.Replace('localToken_','','OrdinalIgnoreCase') = $token.value } - } - Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $tokenMap - - # Swap 'namePrefix' token if empty and provided as a GitHub secret - if([String]::IsNullOrEmpty($ConvertTokensInputs.Tokens['namePrefix'])){ - Write-Verbose 'Using [namePrefix] token from GitHub' -Verbose - $ConvertTokensInputs.Tokens['namePrefix'] = '${{ env.TOKEN_NAMEPREFIX }}' - } - - $null = Convert-TokensInFileList @ConvertTokensInputs - - # Get key vault name - $keyVaultParameters = (ConvertFrom-Json (Get-Content -Path $parameterFilePath -Raw)).parameters - $keyVaultName = $keyVaultParameters.name.value - - # Generate values - $usernameString = ( -join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | ForEach-Object { [char]$_ + "$_" })).substring(0, 19) # max length - $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - $passwordString = (New-Guid).Guid.SubString(0, 19) - $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - - # Set secrets - # ------- - @( - @{ name = 'administratorLogin'; secretValue = $username } # SQLManagedInstances - @{ name = 'administratorLoginPassword'; secretValue = $password } # SQLManagedInstances - ) | ForEach-Object { - $null = Set-AzKeyVaultSecret -VaultName $keyVaultName -Name $_.name -SecretValue $_.secretValue - Write-Verbose ('Added secret [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - - # Set keys - # ---- - @( - @{ name = 'keyEncryptionKeySqlMi'; Destination = 'Software' } # SQLManagedInstances - ) | ForEach-Object { - $null = Add-AzKeyVaultKey -VaultName $keyVaultName -Name $_.name -Destination $_.Destination - Write-Verbose ('Added key [{0}] to key vault [{1}]' -f $_.name, $keyVaultName) -Verbose - } - azPSVersion: 'latest' - - job_deploy_des: - runs-on: ubuntu-20.04 - name: 'Deploy Disk Encryption Set' - env: - namespace: 'Microsoft.Compute/diskEncryptionSets' - needs: - - job_deploy_kv_secrets - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_avdag: - runs-on: ubuntu-20.04 - name: 'Deploy AVD application group' - env: - namespace: 'Microsoft.DesktopVirtualization\applicationgroups' - needs: - - job_deploy_avdhp - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_rolea: - runs-on: ubuntu-20.04 - name: 'Deploy role assignments' - env: - namespace: 'Microsoft.Authorization\roleAssignments' - needs: - - job_deploy_msi - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/subscription/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - customParameterFileTokens: '{"msiPrincipalId":"${{ needs.job_deploy_msi.outputs.msiPrincipalId }}"}' - - job_deploy_vnet: - runs-on: ubuntu-20.04 - name: 'Deploy virtual networks' - env: - namespace: 'Microsoft.Network\virtualNetworks' - needs: - - job_deploy_nsg - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - '1.bastion.parameters.json', - '2.vnetpeer01.parameters.json', - '3.vnetpeer02.parameters.json', - '4.azfw.parameters.json', - '5.aks.parameters.json', - '7.virtualHubConnection.parameters.json', - '8.aadds.parameters.json', - '9.azfw.parameters.json', - '10.azfw.parameters.json', - '11.azfw.parameters.json', - '12.bastion.parameters.json', - '13.bastion.parameters.json', - '14.postgres.parameters.json', - '15.vnetGateway.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_vnet: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi virtual network' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\virtualNetworks' - needs: - - job_deploy_sqlmi_udr - - job_deploy_sqlmi_nsg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['6.sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_dnszone: - runs-on: ubuntu-20.04 - name: 'Deploy private DNS zones' - env: - namespace: 'Microsoft.Network\privateDnsZones' - needs: - - job_deploy_vnet - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - 'automation.parameters.json', - 'azconfig.parameters.json', - 'azurecr.parameters.json', - 'azureml.parameters.json', - 'azurestaticapps.parameters.json', - 'azuresynapse.plh.parameters.json', - 'azuresynapse.workspace.parameters.json', - 'azurewebsites.parameters.json', - 'batch.parameters.json', - 'blob.parameters.json', - 'cognitiveservices.parameters.json', - 'database.parameters.json', - 'datafactory.parameters.json', - 'eventgrid.parameters.json', - 'file.parameters.json', - 'monitor.parameters.json', - 'queue.parameters.json', - 'redis.parameters.json', - 'servicebus.parameters.json', - 'siterecovery.parameters.json', - 'table.parameters.json', - 'vaultcore.parameters.json', - 'webpubsub.parameters.json', - 'postgres.parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_vm: - runs-on: ubuntu-20.04 - name: 'Deploy virtual machines' - env: - namespace: 'Microsoft.Compute\virtualMachines' - needs: - - job_deploy_kv_secrets - - job_deploy_vnet - - job_deploy_rsv - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_lb: - runs-on: ubuntu-20.04 - name: 'Deploy load balancers' - env: - namespace: 'Microsoft.Network\loadBalancers' - needs: - - job_deploy_vnet - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['internal.parameters.json', 'pls.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'modules/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.location }}' - resourceGroupName: '${{ env.defaultResourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' diff --git a/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/mg.parameters.json b/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/mg.parameters.json deleted file mode 100644 index 2f885520e7..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/mg.parameters.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-mg-pass-loc-rg" - }, - "displayName": { - "value": "[Depedency] Audit resource location matches resource group location (management group scope)" - }, - "policyDefinitionID": { - "value": "/providers/Microsoft.Authorization/policyDefinitions/0a914e76-4921-4c19-b460-a2d36003525a" - }, - "managementGroupId": { - "value": "<>" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/sub.parameters.json b/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/sub.parameters.json deleted file mode 100644 index 10b7caa757..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/sub.parameters.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-sb-pass-loc-rg" - }, - "displayName": { - "value": "[Depedency] Audit resource location matches resource group location (subscription scope)" - }, - "policyDefinitionID": { - "value": "/providers/Microsoft.Authorization/policyDefinitions/0a914e76-4921-4c19-b460-a2d36003525a" - }, - "subscriptionId": { - "value": "<>" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Authorization/roleAssignments/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Authorization/roleAssignments/parameters/parameters.json deleted file mode 100644 index a02bda501c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Authorization/roleAssignments/parameters/parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "roleDefinitionIdOrName": { - "value": "Contributor" - }, - "principalId": { - "value": "<>" // The object ID of the deployed MSI. Replaced by the pipeline - }, - "subscriptionId": { - "value": "<>" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json deleted file mode 100644 index 7feb8576e2..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-aut-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/diskEncryptionSets/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/diskEncryptionSets/parameters/parameters.json deleted file mode 100644 index 9e9aa46c42..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Compute/diskEncryptionSets/parameters/parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-des-x-001" - }, - "keyVaultResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-<>-az-kv-x-001" - }, - "keyName": { - "value": "keyEncryptionKey" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json deleted file mode 100644 index 7a24916573..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp<>azsigweux001" - }, - "images": { - "value": [ - { - "name": "adp-<>-az-imgd-x-001", - "osType": "Windows", - "osState": "Generalized", - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2019-Datacenter", - "minRecommendedvCPUs": 2, - "maxRecommendedvCPUs": 8, - "minRecommendedMemory": 4, - "maxRecommendedMemory": 16, - "hyperVGeneration": "V1" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/parameters.json deleted file mode 100644 index 5191bf7609..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-ppg-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/vm.parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/vm.parameters.json deleted file mode 100644 index 7018b75951..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/vm.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-ppg-vm-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/vmss.parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/vmss.parameters.json deleted file mode 100644 index 35fedfd995..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Compute/proximityPlacementGroups/parameters/vmss.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-ppg-vmss-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json deleted file mode 100644 index 32e8d85eb0..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-vm-01" - }, - "vmSize": { - "value": "Standard_B1s" - }, - "imageReference": { - "value": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2022-datacenter-azure-edition", - "version": "latest" - } - }, - "osType": { - "value": "Windows" - }, - "osDisk": { - "value": { - "createOption": "fromImage", - "diskSizeGB": "128", - "managedDisk": { - "storageAccountType": "Standard_LRS" - } - } - }, - "adminUsername": { - "value": "localAdminUser" - }, - "adminPassword": { - "reference": { - "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-<>-az-kv-x-001" - }, - "secretName": "adminPassword" - } - }, - "nicConfigurations": { - "value": [ - { - "nicSuffix": "-nic-01", - "ipConfigurations": [ - { - "name": "ipconfig01", - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001/subnets/<>-az-subnet-x-001" - } - ], - "enableAcceleratedNetworking": false - } - ] - }, - "extensionNetworkWatcherAgentConfig": { - "value": { - "enabled": true - } - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json deleted file mode 100644 index fcb16ac885..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-avdag-x-001" - }, - "location": { - "value": "westeurope" - }, - "applicationGroupType": { - "value": "RemoteApp" - }, - "hostpoolName": { - "value": "adp-<>-az-avdhp-x-001" - }, - "friendlyName": { - "value": "Remote Applications 1" - }, - "description": { - "value": "AVD Remote Application Group dependency" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json deleted file mode 100644 index 16c9fa58a6..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-avdhp-x-001" - }, - "location": { - "value": "westeurope" - }, - "hostpoolFriendlyName": { - "value": "AVDv2" - }, - "hostpoolDescription": { - "value": "AVD Host Pool dependency" - }, - "hostpoolType": { - "value": "Pooled" - }, - "personalDesktopAssignmentType": { - "value": "Automatic" - }, - "maxSessionLimit": { - "value": 99999 - }, - "loadBalancerType": { - "value": "BreadthFirst" - }, - "customRdpProperty": { - "value": "audiocapturemode:i:1;audiomode:i:0;drivestoredirect:s:;redirectclipboard:i:1;redirectcomports:i:1;redirectprinters:i:1;redirectsmartcards:i:1;screen mode id:i:2;" - }, - "vmTemplate": { - "value": { - "domain": "domainname.onmicrosoft.com", - "galleryImageOffer": "office-365", - "galleryImagePublisher": "microsoftwindowsdesktop", - "galleryImageSKU": "20h1-evd-o365pp", - "imageType": "Gallery", - "imageUri": null, - "customImageId": null, - "namePrefix": "avdv2", - "osDiskType": "StandardSSD_LRS", - "useManagedDisks": true, - "vmSize": { - "id": "Standard_D2s_v3", - "cores": 2, - "ram": 8 - } - } - }, - "validationEnvironment": { - "value": false - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json deleted file mode 100644 index a809536f48..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-evhns-x-001" - }, - "eventHubs": { - "value": [ - { - "name": "adp-<>-az-evh-x-001", - "authorizationRules": [ - { - "name": "RootManageSharedAccessKey", - "rights": [ - "Listen", - "Manage", - "Send" - ] - }, - { - "name": "SendListenAccess", - "rights": [ - "Listen", - "Send" - ] - } - ] - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json deleted file mode 100644 index c6584e2af2..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-ag-x-001" - }, - "groupShortName": { - "value": "azagweux001" - }, - "emailReceivers": { - "value": [ - { - "name": "TestUser_-EmailAction-", - "emailAddress": "test.user@testcompany.com", - "useCommonAlertSchema": true - }, - { - "name": "TestUser2", - "emailAddress": "test.user2@testcompany.com", - "useCommonAlertSchema": true - } - ] - }, - "smsReceivers": { - "value": [ - { - "name": "TestUser_-SMSAction-", - "countryCode": "1", - "phoneNumber": "2345678901" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json deleted file mode 100644 index 3792b6ba8f..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-appi-x-001" - }, - "workspaceResourceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-<>-az-law-appi-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/nopr.parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/nopr.parameters.json deleted file mode 100644 index a62db28586..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/nopr.parameters.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-kv-nopr-002" // keyvault with purge protection enabled, to be used for encryption - }, - "accessPolicies": { - "value": [ - { - "tenantId": "<>", - "objectId": "<>", // The object ID of the deployed MSI. Replaced by the pipeline - "permissions": { - "keys": [ - "Get", - "List", - "WrapKey", - "UnwrapKey" - ], - "secrets": [], - "certificates": [] - } - }, - { - "tenantId": "<>", - "objectId": "<>", // dependency access - "permissions": { - "keys": [ - "all" - ], - "secrets": [], - "certificates": [] - } - } - ] - }, - "enablePurgeProtection": { - "value": true - }, - "softDeleteRetentionInDays": { - "value": 7 - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json deleted file mode 100644 index 11d69c2acd..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-kv-x-001" - }, - "accessPolicies": { - "value": [ - { - "tenantId": "<>", - "objectId": "bab643ad-2988-4560-9f2b-c8282ba345f0", // Backup Management Service needs access to back up the keys and secrets, along with the associated VMs - "permissions": { - "keys": [ - "Get", - "List", - "Backup" - ], - "secrets": [ - "Get", - "List", - "Backup" - ], - "certificates": [] - } - }, - { - "tenantId": "<>", - "objectId": "<>", // The object ID of the deployed MSI. Replaced by the pipeline - "permissions": { - "keys": [], - "secrets": [ - "Get" - ], - "certificates": [] - } - }, - { - "tenantId": "<>", - "objectId": "<>", // dependency access - "permissions": { - "keys": [ - "all" - ], - "secrets": [ - "all" - ], - "certificates": [ - "all" - ] - } - } - ] - }, - "enablePurgeProtection": { - "value": false - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json deleted file mode 100644 index dcc6d27337..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-kv-x-pe" - }, - "accessPolicies": { - "value": [ - { - "tenantId": "<>", - "objectId": "<>", // The object ID of the deployed MSI. Replaced by the pipeline - "permissions": { - "keys": [], - "secrets": [ - "Get" - ], - "certificates": [] - } - }, - { - "tenantId": "<>", - "objectId": "<>", // dependency access - "permissions": { - "keys": [ - "all" - ], - "secrets": [ - "all" - ], - "certificates": [ - "all" - ] - } - } - ] - }, - "enablePurgeProtection": { - "value": false - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json deleted file mode 100644 index 9751b549d1..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-kv-x-sqlmi" - }, - "accessPolicies": { - "value": [ - { - "tenantId": "<>", - "objectId": "bab643ad-2988-4560-9f2b-c8282ba345f0", // Backup Management Service needs access to back up the keys and secrets, along with the associated VMs - "permissions": { - "keys": [ - "Get", - "List", - "Backup" - ], - "secrets": [ - "Get", - "List", - "Backup" - ], - "certificates": [] - } - }, - { - "tenantId": "<>", - "objectId": "<>", // The object ID of the deployed MSI. Replaced by the pipeline - "permissions": { - "keys": [ - "Get", - "WrapKey", - "UnwrapKey" - ], - "secrets": [ - "Get" - ], - "certificates": [] - } - }, - { - "tenantId": "<>", - "objectId": "<>", // dependency access - "permissions": { - "keys": [ - "all" - ], - "secrets": [ - "all" - ], - "certificates": [ - "all" - ] - } - } - ] - }, - "enablePurgeProtection": { - "value": false - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json deleted file mode 100644 index 8b8ad00f81..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-msi-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json deleted file mode 100644 index 41195db46f..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-asg-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/loadBalancers/parameters/internal.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/loadBalancers/parameters/internal.parameters.json deleted file mode 100644 index 341c6db81b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/loadBalancers/parameters/internal.parameters.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-lb-internal-001" - }, - "loadBalancerSku": { - "value": "Standard" - }, - "frontendIPConfigurations": { - "value": [ - { - "name": "privateIPConfig1", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001/subnets/<>-az-subnet-x-001" - } - ] - }, - "backendAddressPools": { - "value": [ - { - "name": "servers" - } - ] - }, - "probes": { - "value": [ - { - "name": "probe1", - "protocol": "Tcp", - "port": "62000", - "intervalInSeconds": 5, - "numberOfProbes": 2 - } - ] - }, - "loadBalancingRules": { - "value": [ - { - "name": "privateIPLBRule1", - "frontendIPConfigurationName": "privateIPConfig1", - "frontendPort": 0, - "backendPort": 0, - "enableFloatingIP": true, - "idleTimeoutInMinutes": 4, - "protocol": "All", - "loadDistribution": "Default", - "probeName": "probe1", - "disableOutboundSnat": true, - "enableTcpReset": false, - "backendAddressPoolName": "servers" - } - ] - }, - "inboundNatRules": { - "value": [ - { - "name": "inboundNatRule1", - "frontendIPConfigurationName": "privateIPConfig1", - "frontendPort": 443, - "backendPort": 443, - "enableFloatingIP": false, - "idleTimeoutInMinutes": 4, - "protocol": "Tcp", - "enableTcpReset": false - }, - { - "name": "inboundNatRule2", - "frontendIPConfigurationName": "privateIPConfig1", - "frontendPort": 3389, - "backendPort": 3389 - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/loadBalancers/parameters/pls.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/loadBalancers/parameters/pls.parameters.json deleted file mode 100644 index 4317a8864b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/loadBalancers/parameters/pls.parameters.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-lb-pls-001" - }, - "loadBalancerSku": { - "value": "Standard" - }, - "frontendIPConfigurations": { - "value": [ - { - "name": "frontend-pls-min", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001/subnets/<>-az-subnet-x-001" - }, - { - "name": "frontend-pls", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001/subnets/<>-az-subnet-x-001" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/aadds.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/aadds.parameters.json deleted file mode 100644 index e7c687711c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/aadds.parameters.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-nsg-aadds-001" - }, - "securityRules": { - "value": [ - { - "name": "AllowSyncWithAzureAD", - "properties": { - "protocol": "Tcp", - "sourcePortRange": "*", - "destinationPortRange": "443", - "sourceAddressPrefix": "AzureActiveDirectoryDomainServices", - "destinationAddressPrefix": "*", - "access": "Allow", - "priority": 101, - "direction": "Inbound" - } - }, - { - "name": "AllowPSRemoting", - "properties": { - "protocol": "Tcp", - "sourcePortRange": "*", - "destinationPortRange": "5986", - "sourceAddressPrefix": "AzureActiveDirectoryDomainServices", - "destinationAddressPrefix": "*", - "access": "Allow", - "priority": 301, - "direction": "Inbound" - } - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json deleted file mode 100644 index 7060b4934e..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-nsg-x-apgw" - }, - "securityRules": { - "value": [ - { - "name": "AllowPortsForAppGateway", - "properties": { - "protocol": "*", - "sourcePortRange": "*", - "sourceAddressPrefix": "GatewayManager", - "destinationPortRange": "65200-65535", - "destinationAddressPrefix": "*", - "access": "Allow", - "priority": 1000, - "direction": "Inbound" - } - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json deleted file mode 100644 index 0431b2fc3b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-nsg-x-ase" - }, - "securityRules": { - "value": [ - { - "name": "AllowPortsForASE", - "properties": { - "protocol": "*", - "sourcePortRange": "*", - "sourceAddressPrefix": "AppServiceManagement", - "destinationPortRange": "454-455", - "destinationAddressPrefix": "10.0.7.0/24", - "access": "Allow", - "priority": 1010, - "direction": "Inbound" - } - }, - { - "name": "AllowPortsForASE2", - "properties": { - "protocol": "*", - "sourcePortRange": "*", - "sourceAddressPrefix": "AppServiceManagement", - "destinationPortRange": "454-455", - "destinationAddressPrefix": "10.0.9.0/24", - "access": "Allow", - "priority": 1020, - "direction": "Inbound" - } - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json deleted file mode 100644 index 9ee4174403..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-nsg-x-bastion" - }, - "securityRules": { - "value": [ - { - "name": "AllowHttpsInBound", - "properties": { - "protocol": "Tcp", - "sourcePortRange": "*", - "sourceAddressPrefix": "Internet", - "destinationPortRange": "443", - "destinationAddressPrefix": "*", - "access": "Allow", - "priority": 100, - "direction": "Inbound" - } - }, - { - "name": "AllowGatewayManagerInBound", - "properties": { - "protocol": "Tcp", - "sourcePortRange": "*", - "sourceAddressPrefix": "GatewayManager", - "destinationPortRange": "443", - "destinationAddressPrefix": "*", - "access": "Allow", - "priority": 110, - "direction": "Inbound" - } - }, - { - "name": "AllowLoadBalancerInBound", - "properties": { - "protocol": "Tcp", - "sourcePortRange": "*", - "sourceAddressPrefix": "AzureLoadBalancer", - "destinationPortRange": "443", - "destinationAddressPrefix": "*", - "access": "Allow", - "priority": 120, - "direction": "Inbound" - } - }, - { - "name": "AllowBastionHostCommunicationInBound", - "properties": { - "protocol": "*", - "sourcePortRange": "*", - "sourceAddressPrefix": "VirtualNetwork", - "destinationPortRanges": [ - "8080", - "5701" - ], - "destinationAddressPrefix": "VirtualNetwork", - "access": "Allow", - "priority": 130, - "direction": "Inbound" - } - }, - { - "name": "DenyAllInBound", - "properties": { - "protocol": "*", - "sourcePortRange": "*", - "sourceAddressPrefix": "*", - "destinationPortRange": "*", - "destinationAddressPrefix": "*", - "access": "Deny", - "priority": 1000, - "direction": "Inbound" - } - }, - { - "name": "AllowSshRdpOutBound", - "properties": { - "protocol": "Tcp", - "sourcePortRange": "*", - "sourceAddressPrefix": "*", - "destinationPortRanges": [ - "22", - "3389" - ], - "destinationAddressPrefix": "VirtualNetwork", - "access": "Allow", - "priority": 100, - "direction": "Outbound" - } - }, - { - "name": "AllowAzureCloudCommunicationOutBound", - "properties": { - "protocol": "Tcp", - "sourcePortRange": "*", - "sourceAddressPrefix": "*", - "destinationPortRange": "443", - "destinationAddressPrefix": "AzureCloud", - "access": "Allow", - "priority": 110, - "direction": "Outbound" - } - }, - { - "name": "AllowBastionHostCommunicationOutBound", - "properties": { - "protocol": "*", - "sourcePortRange": "*", - "sourceAddressPrefix": "VirtualNetwork", - "destinationPortRanges": [ - "8080", - "5701" - ], - "destinationAddressPrefix": "VirtualNetwork", - "access": "Allow", - "priority": 120, - "direction": "Outbound" - } - }, - { - "name": "AllowGetSessionInformationOutBound", - "properties": { - "protocol": "*", - "sourcePortRange": "*", - "sourceAddressPrefix": "*", - "destinationAddressPrefix": "Internet", - "destinationPortRanges": [ - "80", - "443" - ], - "access": "Allow", - "priority": 130, - "direction": "Outbound" - } - }, - { - "name": "DenyAllOutBound", - "properties": { - "protocol": "*", - "sourcePortRange": "*", - "destinationPortRange": "*", - "sourceAddressPrefix": "*", - "destinationAddressPrefix": "*", - "access": "Deny", - "priority": 1000, - "direction": "Outbound" - } - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json deleted file mode 100644 index 44cb6f9b2b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-nsg-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json deleted file mode 100644 index 20bdc60e57..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-nsg-x-sqlmi" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json deleted file mode 100644 index 759abd816f..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-nw-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/automation.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/automation.parameters.json deleted file mode 100644 index 01cb8446be..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/automation.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.azure-automation.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azconfig.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azconfig.parameters.json deleted file mode 100644 index 0464d8018c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azconfig.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.azconfig.io" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurecr.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurecr.parameters.json deleted file mode 100644 index 2453a7ac55..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurecr.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.azurecr.io" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azureml.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azureml.parameters.json deleted file mode 100644 index cdb043d6a6..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azureml.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.api.azureml.ms" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurestaticapps.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurestaticapps.parameters.json deleted file mode 100644 index d6d1cebc94..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurestaticapps.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.azurestaticapps.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azuresynapse.plh.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azuresynapse.plh.parameters.json deleted file mode 100644 index 8140cb0ad4..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azuresynapse.plh.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.azuresynapse.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azuresynapse.workspace.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azuresynapse.workspace.parameters.json deleted file mode 100644 index b7f7380b74..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azuresynapse.workspace.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.sql.azuresynapse.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurewebsites.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurewebsites.parameters.json deleted file mode 100644 index 024248c75f..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/azurewebsites.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.azurewebsites.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/batch.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/batch.parameters.json deleted file mode 100644 index 69a4be6480..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/batch.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.batch.azure.com" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/blob.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/blob.parameters.json deleted file mode 100644 index c237e8670f..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/blob.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.blob.core.windows.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/cognitiveservices.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/cognitiveservices.parameters.json deleted file mode 100644 index 3f8fcc5a1e..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/cognitiveservices.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.cognitiveservices.azure.com" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/database.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/database.parameters.json deleted file mode 100644 index f0bc8da126..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/database.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.database.windows.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/datafactory.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/datafactory.parameters.json deleted file mode 100644 index 899004224e..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/datafactory.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.datafactory.azure.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/eventgrid.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/eventgrid.parameters.json deleted file mode 100644 index 6ceec9448f..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/eventgrid.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.eventgrid.azure.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/file.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/file.parameters.json deleted file mode 100644 index 144bb8f44b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/file.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.file.core.windows.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/monitor.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/monitor.parameters.json deleted file mode 100644 index 46e102bd1f..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/monitor.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.monitor.azure.com" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/postgres.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/postgres.parameters.json deleted file mode 100644 index 5f01ef9534..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/postgres.parameters.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "<>.postgres.database.azure.com" - }, - "virtualNetworkLinks": { - "value": [ - { - "name": "<>-vnet-link", - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-postgres", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/queue.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/queue.parameters.json deleted file mode 100644 index a96643d104..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/queue.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.queue.core.windows.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/redis.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/redis.parameters.json deleted file mode 100644 index de87cdf6d8..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/redis.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.redis.cache.windows.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/servicebus.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/servicebus.parameters.json deleted file mode 100644 index 68c52e0909..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/servicebus.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.servicebus.windows.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/siterecovery.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/siterecovery.parameters.json deleted file mode 100644 index f5433f4f94..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/siterecovery.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.siterecovery.windowsazure.com" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/table.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/table.parameters.json deleted file mode 100644 index 24299da81c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/table.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.table.core.windows.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/vaultcore.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/vaultcore.parameters.json deleted file mode 100644 index c3fca02928..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/vaultcore.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.vaultcore.azure.net" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/webpubsub.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/webpubsub.parameters.json deleted file mode 100644 index dc6edc7eea..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/webpubsub.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "privatelink.webpubsub.azure.com" - }, - "virtualNetworkLinks": { - "value": [ - { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<>-az-vnet-x-001", - "registrationEnabled": false - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json deleted file mode 100644 index a06a3001c1..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-pip-x-apgw" - }, - "skuName": { - "value": "Standard" - }, - "publicIPAllocationMethod": { - "value": "Static" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.additional.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.additional.parameters.json deleted file mode 100644 index 594a7b8e4d..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.additional.parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-pip-additional-bas" - }, - "skuName": { - "value": "Standard" - }, - "publicIPAllocationMethod": { - "value": "Static" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json deleted file mode 100644 index 052c46e291..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-pip-x-bas" - }, - "skuName": { - "value": "Standard" - }, - "publicIPAllocationMethod": { - "value": "Static" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/fw.additional.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/fw.additional.parameters.json deleted file mode 100644 index a0ef66e43d..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/fw.additional.parameters.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-pip-additional-fw" - }, - "skuName": { - "value": "Standard" - }, - "publicIPAllocationMethod": { - "value": "Static" - }, - "zones": { - "value": [ - "1", - "2", - "3" - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/fw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/fw.parameters.json deleted file mode 100644 index af1153fc71..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/fw.parameters.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-pip-x-fw" - }, - "skuName": { - "value": "Standard" - }, - "publicIPAllocationMethod": { - "value": "Static" - }, - "zones": { - "value": [ - "1", - "2", - "3" - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.min.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.min.parameters.json deleted file mode 100644 index c84f3a5b4c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.min.parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-pip-min-lb" - }, - "skuName": { - "value": "Standard" - }, - "publicIPAllocationMethod": { - "value": "Static" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json deleted file mode 100644 index c7714a2a9b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-pip-x-lb" - }, - "skuName": { - "value": "Standard" - }, - "publicIPAllocationMethod": { - "value": "Static" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json deleted file mode 100644 index 9ef6675102..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-udr-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json deleted file mode 100644 index b2219d533c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-udr-x-sqlmi" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json deleted file mode 100644 index 6ff2a91282..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-002" - }, - "addressPrefixes": { - "value": [ - "10.1.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "AzureBastionSubnet", // Bastion subnet - "addressPrefix": "10.1.5.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-bastion" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/10.azfw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/10.azfw.parameters.json deleted file mode 100644 index 3deaf0704c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/10.azfw.parameters.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-add-azfw" - }, - "addressPrefixes": { - "value": [ - "10.4.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "AzureFirewallSubnet", - "addressPrefix": "10.4.4.0/24" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/11.azfw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/11.azfw.parameters.json deleted file mode 100644 index 1da923fe1c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/11.azfw.parameters.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-custompip-azfw" - }, - "addressPrefixes": { - "value": [ - "10.4.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "AzureFirewallSubnet", - "addressPrefix": "10.4.4.0/24" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/12.bastion.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/12.bastion.parameters.json deleted file mode 100644 index 7885ac351b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/12.bastion.parameters.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-add-bas" - }, - "addressPrefixes": { - "value": [ - "10.1.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "AzureBastionSubnet", // Bastion subnet - "addressPrefix": "10.1.5.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-bastion" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/13.bastion.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/13.bastion.parameters.json deleted file mode 100644 index b2b9d23eeb..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/13.bastion.parameters.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-custompip-bas" - }, - "addressPrefixes": { - "value": [ - "10.1.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "AzureBastionSubnet", // Bastion subnet - "addressPrefix": "10.1.5.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-bastion" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/14.postgres.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/14.postgres.parameters.json deleted file mode 100644 index c5c672024b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/14.postgres.parameters.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-postgres" - }, - "addressPrefixes": { - "value": [ - "10.6.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "<>-az-subnet-x-postgres", // PostGreSQL subnet - "addressPrefix": "10.6.0.0/24", - "delegations": [ - { - "name": "Microsoft.DBforPostgreSQL.flexibleServers", - "properties": { - "serviceName": "Microsoft.DBforPostgreSQL/flexibleServers" - } - } - ] - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/15.vnetGateway.parameters.json.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/15.vnetGateway.parameters.json.json deleted file mode 100644 index 86c5f1e024..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/15.vnetGateway.parameters.json.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-vgw-002" - }, - "addressPrefixes": { - "value": [ - "10.0.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "GatewaySubnet", - "addressPrefix": "10.0.255.0/24" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json deleted file mode 100644 index e4aeef2dab..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-peer01" - }, - "addressPrefixes": { - "value": [ - "10.2.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "<>-az-subnet-x-001", - "addressPrefix": "10.2.0.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json deleted file mode 100644 index c1c9c89081..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-peer02" - }, - "addressPrefixes": { - "value": [ - "10.3.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "<>-az-subnet-x-001", - "addressPrefix": "10.3.0.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json deleted file mode 100644 index a58573f85b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-azfw" - }, - "addressPrefixes": { - "value": [ - "10.4.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "AzureFirewallSubnet", - "addressPrefix": "10.4.4.0/24" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json deleted file mode 100644 index 46e3add32f..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-aks" - }, - "addressPrefixes": { - "value": [ - "10.5.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "Primary", - "addressPrefix": "10.5.0.0/18", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001" - }, - { - "name": "Secondary", - "addressPrefix": "10.5.64.0/18", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001" - }, - { - "name": "Tertiary", - "addressPrefix": "10.5.128.0/18", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json deleted file mode 100644 index a508b1a325..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-sqlmi" - }, - "addressPrefixes": { - "value": [ - "10.6.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "<>-az-subnet-x-sqlmi", // SQLMi subnet - "addressPrefix": "10.6.0.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-sqlmi", - "routeTableId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/routeTables/adp-<>-az-udr-x-sqlmi", - "delegations": [ - { - "name": "managedInstanceDelegation", - "properties": { - "serviceName": "Microsoft.Sql/managedInstances" - } - } - ] - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/7.virtualHubConnection.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/7.virtualHubConnection.parameters.json deleted file mode 100644 index 15dd746673..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/7.virtualHubConnection.parameters.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-vhub" - }, - "addressPrefixes": { - "value": [ - "10.7.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "default", // Hub connection subnet - "addressPrefix": "10.7.0.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/8.aadds.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/8.aadds.parameters.json deleted file mode 100644 index 1dfd8b5449..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/8.aadds.parameters.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-aadds-001" - }, - "addressPrefixes": { - "value": [ - "10.8.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "AADDSSubnet", // AADDS - "addressPrefix": "10.8.0.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-aadds-001" - } - ] - }, - "dnsServers": { - "value": [ - "10.0.1.4", - "10.0.1.5" - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/9.azfw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/9.azfw.parameters.json deleted file mode 100644 index a91a19541b..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/9.azfw.parameters.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-min-azfw" - }, - "addressPrefixes": { - "value": [ - "10.4.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "AzureFirewallSubnet", - "addressPrefix": "10.4.4.0/24" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json deleted file mode 100644 index 66377e9cb5..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-vnet-x-001" - }, - "addressPrefixes": { - "value": [ - "10.0.0.0/16" - ] - }, - "subnets": { - "value": [ - { - "name": "GatewaySubnet", - "addressPrefix": "10.0.255.0/24" - }, - { - "name": "<>-az-subnet-x-001", // VM subnet - "addressPrefix": "10.0.0.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001", - "serviceEndpoints": [ - { - "service": "Microsoft.EventHub" - }, - { - "service": "Microsoft.Sql" - }, - { - "service": "Microsoft.Storage" - }, - { - "service": "Microsoft.KeyVault" - }, - { - "service": "Microsoft.CognitiveServices" - } - ] - }, - { - "name": "<>-az-subnet-x-002", // VMSS subnet - "addressPrefix": "10.0.1.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001", - "serviceEndpoints": [ - { - "service": "Microsoft.EventHub" - }, - { - "service": "Microsoft.Sql" - }, - { - "service": "Microsoft.Storage" - }, - { - "service": "Microsoft.KeyVault" - } - ] - }, - { - "name": "<>-az-subnet-x-003", // ServiceBus subnet - "addressPrefix": "10.0.2.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001", - "serviceEndpoints": [ - { - "service": "Microsoft.ServiceBus" - } - ] - }, - { - "name": "<>-az-subnet-x-004", // ANF subnet - "addressPrefix": "10.0.3.0/24", - "delegations": [ - { - "name": "netappDel", - "properties": { - "serviceName": "Microsoft.Netapp/volumes" - } - } - ] - }, - { - "name": "AzureBastionSubnet", // Bastion subnet - "addressPrefix": "10.0.5.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-bastion" - }, - { - "name": "<>-az-subnet-x-005-privateEndpoints", // PE subnet - "addressPrefix": "10.0.6.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-001", - "privateEndpointNetworkPolicies": "Disabled", // This property must be set to disabled for subnets that contain private endpoints. It confirms that NSGs rules will not apply to private endpoints (currently not supported). Default Value when not specified is "Enabled". - "privateLinkServiceNetworkPolicies": "Enabled" - }, - { - "name": "<>-az-subnet-x-006", // ASE subnet - "addressPrefix": "10.0.7.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-ase", - "delegations": [ - { - "name": "ase", - "properties": { - "serviceName": "Microsoft.Web/hostingEnvironments" - } - } - ] - }, - { - "name": "<>-az-subnet-x-007", // APGW subnet - "addressPrefix": "10.0.8.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-apgw" - }, - { - "name": "<>-az-subnet-x-008", // ASE subnet 2 - "addressPrefix": "10.0.9.0/24", - "networkSecurityGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-<>-az-nsg-x-ase", - "delegations": [ - { - "name": "ase", - "properties": { - "serviceName": "Microsoft.Web/hostingEnvironments" - } - } - ] - }, - { - "name": "<>-az-subnet-x-009", // PLS subnet 1 - "addressPrefix": "10.0.10.0/24", - "privateEndpointNetworkPolicies": "Disabled", - "privateLinkServiceNetworkPolicies": "Disabled" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json deleted file mode 100644 index 87b0ebfdc5..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-law-appi-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/aut.parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/aut.parameters.json deleted file mode 100644 index bf516996f8..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/aut.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-law-aut-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json deleted file mode 100644 index b371f4878a..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-law-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/sol.parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/sol.parameters.json deleted file mode 100644 index d8e7e24346..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/sol.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-law-sol-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json deleted file mode 100644 index 2fc18da584..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json +++ /dev/null @@ -1,264 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-rsv-x-001" - }, - "diagnosticLogsRetentionInDays": { - "value": 7 - }, - "backupPolicies": { - "value": [ - { - "name": "VMpolicy", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureIaasVM", - "instantRPDetails": {}, - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2019-11-07T07:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2019-11-07T07:00:00Z" - ], - "retentionDuration": { - "count": 180, - "durationType": "Days" - } - }, - "weeklySchedule": { - "daysOfTheWeek": [ - "Sunday" - ], - "retentionTimes": [ - "2019-11-07T07:00:00Z" - ], - "retentionDuration": { - "count": 12, - "durationType": "Weeks" - } - }, - "monthlySchedule": { - "retentionScheduleFormatType": "Weekly", - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Sunday" - ], - "weeksOfTheMonth": [ - "First" - ] - }, - "retentionTimes": [ - "2019-11-07T07:00:00Z" - ], - "retentionDuration": { - "count": 60, - "durationType": "Months" - } - }, - "yearlySchedule": { - "retentionScheduleFormatType": "Weekly", - "monthsOfYear": [ - "January" - ], - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Sunday" - ], - "weeksOfTheMonth": [ - "First" - ] - }, - "retentionTimes": [ - "2019-11-07T07:00:00Z" - ], - "retentionDuration": { - "count": 10, - "durationType": "Years" - } - } - }, - "instantRpRetentionRangeInDays": 2, - "timeZone": "UTC", - "protectedItemsCount": 0 - } - }, - { - "name": "sqlpolicy", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureWorkload", - "workLoadType": "SQLDataBase", - "settings": { - "timeZone": "UTC", - "issqlcompression": true, - "isCompression": true - }, - "subProtectionPolicy": [ - { - "policyType": "Full", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Weekly", - "scheduleRunDays": [ - "Sunday" - ], - "scheduleRunTimes": [ - "2019-11-07T22:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "weeklySchedule": { - "daysOfTheWeek": [ - "Sunday" - ], - "retentionTimes": [ - "2019-11-07T22:00:00Z" - ], - "retentionDuration": { - "count": 104, - "durationType": "Weeks" - } - }, - "monthlySchedule": { - "retentionScheduleFormatType": "Weekly", - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Sunday" - ], - "weeksOfTheMonth": [ - "First" - ] - }, - "retentionTimes": [ - "2019-11-07T22:00:00Z" - ], - "retentionDuration": { - "count": 60, - "durationType": "Months" - } - }, - "yearlySchedule": { - "retentionScheduleFormatType": "Weekly", - "monthsOfYear": [ - "January" - ], - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Sunday" - ], - "weeksOfTheMonth": [ - "First" - ] - }, - "retentionTimes": [ - "2019-11-07T22:00:00Z" - ], - "retentionDuration": { - "count": 10, - "durationType": "Years" - } - } - } - }, - { - "policyType": "Differential", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Weekly", - "scheduleRunDays": [ - "Monday" - ], - "scheduleRunTimes": [ - "2017-03-07T02:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "SimpleRetentionPolicy", - "retentionDuration": { - "count": 30, - "durationType": "Days" - } - } - }, - { - "policyType": "Log", - "schedulePolicy": { - "schedulePolicyType": "LogSchedulePolicy", - "scheduleFrequencyInMins": 120 - }, - "retentionPolicy": { - "retentionPolicyType": "SimpleRetentionPolicy", - "retentionDuration": { - "count": 15, - "durationType": "Days" - } - } - } - ], - "protectedItemsCount": 0 - } - }, - { - "name": "filesharepolicy", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureStorage", - "workloadType": "AzureFileShare", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2019-11-07T04:30:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2019-11-07T04:30:00Z" - ], - "retentionDuration": { - "count": 30, - "durationType": "Days" - } - } - }, - "timeZone": "UTC", - "protectedItemsCount": 0 - } - } - ] - }, - "backupStorageConfig": { - "value": { - "storageModelType": "GeoRedundant", - "crossRegionRestoreFlag": true - } - }, - "roleAssignments": { - "value": [ - { - "roleDefinitionIdOrName": "Reader", - "principalIds": [ - "<>" // The object ID of the deployed MSI. Replaced by the pipeline - ], - "principalType": "ServicePrincipal" - } - ] - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/locks.parameters.json b/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/locks.parameters.json deleted file mode 100644 index 3f6314121a..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/locks.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-locks-rg-001" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/validation.parameters.json b/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/validation.parameters.json deleted file mode 100644 index 41a0f84fdd..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/validation.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "validation-rg" - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json deleted file mode 100644 index 84e04a5686..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp<>azsafa001" - }, - "storageAccountKind": { - "value": "StorageV2" - }, - "storageAccountSku": { - "value": "Standard_LRS" - }, - "storageAccountAccessTier": { - "value": "Hot" - }, - "allowBlobPublicAccess": { - "value": false - }, - "requireInfrastructureEncryption": { - "value": false - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json deleted file mode 100644 index 382d6a0f1a..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp<>azsalaw001" - }, - "storageAccountKind": { - "value": "StorageV2" - }, - "storageAccountSku": { - "value": "Standard_LRS" - }, - "allowBlobPublicAccess": { - "value": false - }, - "requireInfrastructureEncryption": { - "value": false - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json deleted file mode 100644 index 49045fa97c..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp<>azsax001" - }, - "storageAccountKind": { - "value": "StorageV2" - }, - "storageAccountSku": { - "value": "Standard_LRS" - }, - "storageAccountAccessTier": { - "value": "Hot" - }, - "allowBlobPublicAccess": { - "value": false - }, - "requireInfrastructureEncryption": { - "value": false - }, - "blobServices": { - "value": { - "containers": [ - { - "name": "scripts", - "publicAccess": "None" - }, - { - "name": "vhds", - "publicAccess": "None" - } - ] - } - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/synapse01.parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/synapse01.parameters.json deleted file mode 100644 index 03e3fe47e8..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/synapse01.parameters.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp<>azsasynapse001" - }, - "enableHierarchicalNamespace": { - "value": true - }, - "blobServices": { - "value": { - "containers": [ - { - "name": "synapsews" - } - ] - } - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/synapse02.parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/synapse02.parameters.json deleted file mode 100644 index b4fd975cb4..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/synapse02.parameters.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp<>azsasynapse002" - }, - "enableHierarchicalNamespace": { - "value": true - }, - "networkAcls": { - "value": { - "bypass": "AzureServices", - "defaultAction": "Deny", - "virtualNetworkRules": [], - "ipRules": [] - } - }, - "blobServices": { - "value": { - "containers": [ - { - "name": "synapsews" - } - ] - } - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/uploads/scriptExtensionMasterInstaller.ps1 b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/uploads/scriptExtensionMasterInstaller.ps1 deleted file mode 100644 index 9d2891cee5..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/uploads/scriptExtensionMasterInstaller.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -[CmdletBinding()] -param( -) - -# This is a test script and purposfully empty diff --git a/utilities/pipelines/dependencies/Microsoft.Web/serverfarms/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Web/serverfarms/parameters/parameters.json deleted file mode 100644 index 3df84d3f3a..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Web/serverfarms/parameters/parameters.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-asp-x-001" - }, - "sku": { - "value": { - "name": "S1", - "tier": "Standard", - "size": "S1", - "family": "S", - "capacity": 1 - } - } - } -} diff --git a/utilities/pipelines/dependencies/Microsoft.Web/sites/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Web/sites/parameters/parameters.json deleted file mode 100644 index 2d8bb388f8..0000000000 --- a/utilities/pipelines/dependencies/Microsoft.Web/sites/parameters/parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "name": { - "value": "adp-<>-az-fa-001" - }, - "kind": { - "value": "functionapp" - }, - "serverFarmResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Web/serverFarms/adp-<>-az-asp-x-001" - } - } -} diff --git a/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploy.bicep b/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploy.bicep deleted file mode 100644 index 4a11853977..0000000000 --- a/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploy.bicep +++ /dev/null @@ -1,139 +0,0 @@ -targetScope = 'subscription' - -// ================ // -// Input Parameters // -// ================ // - -// RG parameters -@description('Optional. The name of the resource group to deploy') -param resourceGroupName string = '<>' - -// =========== // -// Deployments // -// =========== // - -// Deploy user managed identity -module userMsi '../../../../../modules/Microsoft.ManagedIdentity/userAssignedIdentities/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-userAssignedIdentity' - scope: resourceGroup(resourceGroupName) - params: { - name: 'adp-<>-az-msi-vhd-001' - } -} - -// Deploy role assignment -module roleAssignment '../../../../../modules/Microsoft.Authorization/roleAssignments/subscription/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-roleAssignment' - params: { - roleDefinitionIdOrName: 'Contributor' - principalId: userMsi.outputs.principalId - subscriptionId: subscription().subscriptionId - } -} - -// Deploy destination storage account -module destinationStorageAccount '../../../../../modules/Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-storageAccounts' - scope: resourceGroup(resourceGroupName) - params: { - name: 'adp<>azsavhd001' - allowBlobPublicAccess: false - blobServices: { - containers: [ - { - name: 'vhds' - } - ] - } - } -} - -// Deploy image template -module imageTemplate '../../../../../modules/Microsoft.VirtualMachineImages/imageTemplates/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-imageTemplates' - scope: resourceGroup(resourceGroupName) - params: { - customizationSteps: [ - { - restartTimeout: '30m' - type: 'WindowsRestart' - } - ] - imageSource: { - offer: 'Windows-10' - publisher: 'MicrosoftWindowsDesktop' - sku: '19h2-evd' - type: 'PlatformImage' - version: 'latest' - } - name: 'adp-<>-az-imgt-vhd-001' - userMsiName: userMsi.outputs.name - buildTimeoutInMinutes: 0 - osDiskSizeGB: 127 - unManagedImageName: 'adp-<>-az-umi-x-001' - vmSize: 'Standard_D2s_v3' - } -} - -// Trigger VHD creation -module triggerImageDeploymentScript '../../../../../modules/Microsoft.Resources/deploymentScripts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-triggerImageDeploymentScript' - scope: resourceGroup(resourceGroupName) - params: { - name: 'adp-<>-az-ds-vhd-triggerImageTemplate' - arguments: '-ImageTemplateName \\"${imageTemplate.outputs.name}\\" -ImageTemplateResourceGroup \\"${imageTemplate.outputs.resourceGroupName}\\"' - azPowerShellVersion: '6.4' - cleanupPreference: 'OnSuccess' - kind: 'AzurePowerShell' - retentionInterval: 'P1D' - runOnce: false - scriptContent: loadTextContent('deploymentScripts/Start-ImageTemplate.ps1') - timeout: 'PT30M' - userAssignedIdentities: { - '${userMsi.outputs.resourceId}': {} - } - } - dependsOn: [ roleAssignment ] -} - -// Copy VHD to destination storage account -module copyVhdDeploymentScript '../../../../../modules/Microsoft.Resources/deploymentScripts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-copyVhdDeploymentScript' - scope: resourceGroup(resourceGroupName) - params: { - name: 'adp-<>-az-ds-vhd-copyVhdToStorage' - arguments: '-ImageTemplateName \\"${imageTemplate.outputs.name}\\" -ImageTemplateResourceGroup \\"${imageTemplate.outputs.resourceGroupName}\\" -DestinationStorageAccountName \\"${destinationStorageAccount.outputs.name}\\" -VhdName \\"${imageTemplate.outputs.namePrefix}\\" -WaitForComplete' - azPowerShellVersion: '6.4' - cleanupPreference: 'OnSuccess' - kind: 'AzurePowerShell' - retentionInterval: 'P1D' - runOnce: false - scriptContent: loadTextContent('deploymentScripts/Copy-VhdToStorageAccount.ps1') - timeout: 'PT30M' - userAssignedIdentities: { - '${userMsi.outputs.resourceId}': {} - } - } - dependsOn: [ triggerImageDeploymentScript ] -} - -// Remove image template -module removeImageTemplate '../../../../../modules/Microsoft.Resources/deploymentScripts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-removeImageTemplate' - scope: resourceGroup(resourceGroupName) - params: { - name: 'adp-<>-az-ds-vhd-removeImageTemplate' - arguments: '-ImageTemplateName \\"${imageTemplate.outputs.name}\\" -ImageTemplateResourceGroup \\"${imageTemplate.outputs.resourceGroupName}\\"' - azPowerShellVersion: '6.4' - cleanupPreference: 'OnSuccess' - kind: 'AzurePowerShell' - retentionInterval: 'P1D' - runOnce: false - scriptContent: loadTextContent('deploymentScripts/Remove-ImageTemplate.ps1') - timeout: 'PT30M' - userAssignedIdentities: { - '${userMsi.outputs.resourceId}': {} - } - } - dependsOn: [ copyVhdDeploymentScript ] -} diff --git a/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Copy-VhdToStorageAccount.ps1 b/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Copy-VhdToStorageAccount.ps1 deleted file mode 100644 index 89d44b2b27..0000000000 --- a/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Copy-VhdToStorageAccount.ps1 +++ /dev/null @@ -1,122 +0,0 @@ -<# - .SYNOPSIS - Copy a VHD baked from a given image template to a given destination storage account blob container - - .DESCRIPTION - Copy a VHD baked from a given image template to a given destination storage account blob container - - .PARAMETER ImageTemplateName - Mandatory. The name of the image template - - .PARAMETER ImageTemplateResourceGroup - Mandatory. The resource group name of the image template - - .PARAMETER DestinationStorageAccountName - Mandatory. The name of the destination storage account - - .PARAMETER DestinationContainerName - Optional. The name of the existing destination blob container - - .PARAMETER VhdName - Optional. Specify a different name for the destination VHD file - - .PARAMETER WaitForComplete - Optional. Run the command synchronously. Wait for the completion of the copy. - - .EXAMPLE - Copy-VhdToStorageAccount -ImageTemplateName 'vhd-img-template-001-2022-07-29-15-54-01' -ImageTemplateResourceGroup 'validation-rg' -DestinationStorageAccountName 'vhdstorage001' - - Copy a VHD created by image template 'vhd-img-template-001-2022-07-29-15-54-01' in resource group 'validation-rg' to destination storage account 'vhdstorage001' in blob container named 'vhds'. Save the VHD file as 'vhd-img-template-001-2022-07-29-15-54-01.vhd'. - - .EXAMPLE - Copy-VhdToStorageAccount -ImageTemplateName 'vhd-img-template-001-2022-07-29-15-54-01' -ImageTemplateResourceGroup 'validation-rg' -DestinationStorageAccountName 'vhdstorage001' -VhdName 'vhd-img-template-001' -WaitForComplete - - Copy a VHD baked by image template 'vhd-img-template-001-2022-07-29-15-54-01' in resource group 'validation-rg' to destination storage account 'vhdstorage001' in a blob container named 'vhds' and wait for the completion of the copy. Save the VHD file as 'vhd-img-template-001.vhd'. -#> - -[CmdletBinding(SupportsShouldProcess)] -param ( - [Parameter(Mandatory = $true)] - [string] $ImageTemplateName, - - [Parameter(Mandatory = $true)] - [string] $ImageTemplateResourceGroup, - - [Parameter(Mandatory = $true)] - [string] $DestinationStorageAccountName, - - [Parameter(Mandatory = $false)] - [string] $DestinationContainerName = 'vhds', - - [Parameter(Mandatory = $false)] - [string] $VhdName = $ImageTemplateName, - - [Parameter(Mandatory = $false)] - [switch] $WaitForComplete -) - -begin { - Write-Debug ('{0} entered' -f $MyInvocation.MyCommand) - - # Install required modules - $currentVerbosePreference = $VerbosePreference - $VerbosePreference = 'SilentlyContinue' - $requiredModules = @( - 'Az.ImageBuilder', - 'Az.Storage' - ) - foreach ($moduleName in $requiredModules) { - if (-not ($installedModule = Get-Module $moduleName -ListAvailable)) { - Install-Module $moduleName -Repository 'PSGallery' -Force -Scope 'CurrentUser' - if ($installed = Get-Module -Name $moduleName -ListAvailable) { - Write-Verbose ('Installed module [{0}] with version [{1}]' -f $installed.Name, $installed.Version) -Verbose - } - } else { - Write-Verbose ('Module [{0}] already installed in version [{1}]' -f $installedModule[0].Name, $installedModule[0].Version) -Verbose - } - } - $VerbosePreference = $currentVerbosePreference -} - -process { - # Retrieving and initializing parameters before the blob copy - Write-Verbose 'Initializing source storage account parameters before the blob copy' -Verbose - $imgtRunOutput = Get-AzImageBuilderTemplateRunOutput -ImageTemplateName $imageTemplateName -ResourceGroupName $imageTemplateResourceGroup | Where-Object ArtifactUri -NE $null - $sourceUri = $imgtRunOutput.ArtifactUri - $sourceStorageAccountName = $sourceUri.Split('//')[1].Split('.')[0] - $storageAccountList = Get-AzStorageAccount - $sourceStorageAccount = $storageAccountList | Where-Object StorageAccountName -EQ $sourceStorageAccountName - $sourceStorageAccountContext = $sourceStorageAccount.Context - $sourceStorageAccountRGName = $sourceStorageAccount.ResourceGroupName - Write-Verbose ('Retrieving artifact uri [{0}] stored in resource group [{1}]' -f $sourceUri, $sourceStorageAccountRGName) -Verbose - - Write-Verbose 'Initializing destination storage account parameters before the blob copy' -Verbose - $destinationStorageAccount = $storageAccountList | Where-Object StorageAccountName -EQ $destinationStorageAccountName - $destinationStorageAccountContext = $destinationStorageAccount.Context - $destinationBlobName = "$vhdName.vhd" - Write-Verbose ('Planning for destination blob name [{0}] in container [{1}] and storage account [{2}]' -f $destinationBlobName, $destinationContainerName, $destinationStorageAccountName) -Verbose - - # Copying the VHD to a destination blob container - $resourceActionInputObject = @{ - AbsoluteUri = $sourceUri - Context = $sourceStorageAccountContext - DestContext = $destinationStorageAccountContext - DestBlob = $destinationBlobName - DestContainer = $destinationContainerName - Force = $true - } - - if ($PSCmdlet.ShouldProcess('Storage blob copy of VHD [{0}]' -f $destinationBlobName, 'Start')) { - $destBlob = Start-AzStorageBlobCopy @resourceActionInputObject - Write-Verbose ('Copied/initialized copy of VHD from URI [{0}] to container [{1}] in storage account [{2}]' -f $sourceUri, $destinationContainerName, $destinationStorageAccountName) -Verbose - } - - if ($WaitForComplete) { - $destBlob | Get-AzStorageBlobCopyState -WaitForComplete - } -} - -end { - Write-Debug ('{0} exited' -f $MyInvocation.MyCommand) -} - diff --git a/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Remove-ImageTemplate.ps1 b/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Remove-ImageTemplate.ps1 deleted file mode 100644 index 60278b3ba1..0000000000 --- a/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Remove-ImageTemplate.ps1 +++ /dev/null @@ -1,79 +0,0 @@ -<# - .SYNOPSIS - Delete a virtual machine image template - - .DESCRIPTION - Delete a virtual machine image template and its temporary generated resource group - - .PARAMETER ImageTemplateName - Mandatory. The name of the image template - - .PARAMETER ImageTemplateResourceGroup - Mandatory. The resource group name of the image template - - .PARAMETER NoWait - Optional. Run the command asynchronously - - .EXAMPLE - Remove-ImageTemplate -ImageTemplateName 'vhd-img-template-001-2022-07-29-15-54-01' -ImageTemplateResourceGroup 'validation-rg' - - Delete the image template 'vhd-img-template-001-2022-07-29-15-54-01' from resource group 'validation-rg' and wait for its completion - - .EXAMPLE - Remove-ImageTemplate -ImageTemplateName 'vhd-img-template-001-2022-07-29-15-54-01' -ImageTemplateResourceGroup 'validation-rg' -NoWait - - Start the deletion of the image template 'vhd-img-template-001-2022-07-29-15-54-01' from resource group 'validation-rg' and do not wait for its completion -#> - -[CmdletBinding(SupportsShouldProcess)] -param ( - [Parameter(Mandatory = $true)] - [string] $ImageTemplateName, - - [Parameter(Mandatory = $true)] - [string] $ImageTemplateResourceGroup, - - [Parameter(Mandatory = $false)] - [switch] $NoWait -) - -begin { - Write-Debug ('{0} entered' -f $MyInvocation.MyCommand) - - # Install required modules - $currentVerbosePreference = $VerbosePreference - $VerbosePreference = 'SilentlyContinue' - $requiredModules = @( - 'Az.ImageBuilder' - ) - foreach ($moduleName in $requiredModules) { - if (-not ($installedModule = Get-Module $moduleName -ListAvailable)) { - Install-Module $moduleName -Repository 'PSGallery' -Force -Scope 'CurrentUser' - if ($installed = Get-Module -Name $moduleName -ListAvailable) { - Write-Verbose ('Installed module [{0}] with version [{1}]' -f $installed.Name, $installed.Version) -Verbose - } - } else { - Write-Verbose ('Module [{0}] already installed in version [{1}]' -f $installedModule[0].Name, $installedModule[0].Version) -Verbose - } - } - $VerbosePreference = $currentVerbosePreference -} - -process { - # Remove artifacts from existing image template - $resourceActionInputObject = @{ - ImageTemplateName = $imageTemplateName - ResourceGroupName = $imageTemplateResourceGroup - } - if ($NoWait) { - $resourceActionInputObject['NoWait'] = $true - } - if ($PSCmdlet.ShouldProcess('Image template [{0}]' -f $imageTemplateName, 'Remove')) { - $null = Remove-AzImageBuilderTemplate @resourceActionInputObject - Write-Verbose ('Removed image template [{0}] from resource group [{1}]' -f $imageTemplateName, $imageTemplateResourceGroup) -Verbose - } -} - -end { - Write-Debug ('{0} exited' -f $MyInvocation.MyCommand) -} diff --git a/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Start-ImageTemplate.ps1 b/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Start-ImageTemplate.ps1 deleted file mode 100644 index 9118832ea3..0000000000 --- a/utilities/pipelines/dependencies/constructs/StoreVhdToStorage/deploymentScripts/Start-ImageTemplate.ps1 +++ /dev/null @@ -1,79 +0,0 @@ -<# - .SYNOPSIS - Create image artifacts from a given image template - - .DESCRIPTION - Create image artifacts from a given image template - - .PARAMETER ImageTemplateName - Mandatory. The name of the image template - - .PARAMETER ImageTemplateResourceGroup - Mandatory. The resource group name of the image template - - .PARAMETER NoWait - Optional. Run the command asynchronously - - .EXAMPLE - Start-AzImageBuilderTemplate -ImageTemplateName 'vhd-img-template-001-2022-07-29-15-54-01' -ImageTemplateResourceGroup 'validation-rg' - - Create image artifacts from image template 'vhd-img-template-001-2022-07-29-15-54-01' in resource group 'validation-rg' and wait for their completion - - .EXAMPLE - Start-AzImageBuilderTemplate -ImageTemplateName 'vhd-img-template-001-2022-07-29-15-54-01' -ImageTemplateResourceGroup 'validation-rg' -NoWait - - Start the creation of artifacts from image template 'vhd-img-template-001-2022-07-29-15-54-01' in resource group 'validation-rg' and do not wait for their completion -#> - -[CmdletBinding(SupportsShouldProcess)] -param ( - [Parameter(Mandatory = $true)] - [string] $ImageTemplateName, - - [Parameter(Mandatory = $true)] - [string] $ImageTemplateResourceGroup, - - [Parameter(Mandatory = $false)] - [switch] $NoWait -) - -begin { - Write-Debug ('{0} entered' -f $MyInvocation.MyCommand) - - # Install required modules - $currentVerbosePreference = $VerbosePreference - $VerbosePreference = 'SilentlyContinue' - $requiredModules = @( - 'Az.ImageBuilder' - ) - foreach ($moduleName in $requiredModules) { - if (-not ($installedModule = Get-Module $moduleName -ListAvailable)) { - Install-Module $moduleName -Repository 'PSGallery' -Force -Scope 'CurrentUser' - if ($installed = Get-Module -Name $moduleName -ListAvailable) { - Write-Verbose ('Installed module [{0}] with version [{1}]' -f $installed.Name, $installed.Version) -Verbose - } - } else { - Write-Verbose ('Module [{0}] already installed in version [{1}]' -f $installedModule[0].Name, $installedModule[0].Version) -Verbose - } - } - $VerbosePreference = $currentVerbosePreference -} - -process { - # Create image artifacts from existing image template - $resourceActionInputObject = @{ - ImageTemplateName = $imageTemplateName - ResourceGroupName = $imageTemplateResourceGroup - } - if ($NoWait) { - $resourceActionInputObject['NoWait'] = $true - } - if ($PSCmdlet.ShouldProcess('Image template [{0}]' -f $imageTemplateName, 'Start')) { - $null = Start-AzImageBuilderTemplate @resourceActionInputObject - Write-Verbose ('Created/initialized creation of image artifacts from image template [{0}] in resource group [{1}]' -f $imageTemplateName, $imageTemplateResourceGroup) -Verbose - } -} - -end { - Write-Debug ('{0} exited' -f $MyInvocation.MyCommand) -} From 22516732b7ba04463f3c117e87f80bce8d892667 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 8 Nov 2022 11:39:50 +0100 Subject: [PATCH 02/20] token replacement --- .../jobs.validateModuleDeployment.yml | 11 ----------- .../templates/validateModuleDeployment/action.yml | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml index 7297d60866..bce2fa0045 100644 --- a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml +++ b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml @@ -183,17 +183,6 @@ jobs: # Invoke Token Replacement Functionality [For Module] $null = Convert-TokensInFileList @ConvertTokensInputs - # Get target files for modules dependencies - $DependencyParameterFilePaths = [System.Collections.ArrayList]@() - $DependencyParameterFolders = Get-ChildItem -Path (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'dependencies') -Recurse -Filter 'parameters' -Directory - foreach ($FolderPath in $DependencyParameterFolders.FullName) { - $DependencyParameterFilePaths += Get-ChildItem -Path $FolderPath -Recurse -Filter '*.json' - } - $ConvertTokensInputs.FilePathList = $DependencyParameterFilePaths - - # Invoke Token Replacement Functionality [For Dependencies] - $null = Convert-TokensInFileList @ConvertTokensInputs - # [Validation] task(s) #--------------------- - task: AzurePowerShell@5 diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index abdab684d0..6387a25a86 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -185,17 +185,6 @@ runs: # Invoke Token Replacement Functionality [For Module] $null = Convert-TokensInFileList @ConvertTokensInputs - # Get target files for modules dependencies - $DependencyParameterFilePaths = [System.Collections.ArrayList]@() - $DependencyParameterFolders = Get-ChildItem -Path (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'dependencies') -Recurse -Filter 'parameters' -Directory - foreach ($FolderPath in $DependencyParameterFolders.FullName) { - $DependencyParameterFilePaths += Get-ChildItem -Path $FolderPath -Recurse -Filter '*.json' - } - $ConvertTokensInputs.FilePathList = $DependencyParameterFilePaths - - # Invoke Token Replacement Functionality [For Dependencies] - $null = Convert-TokensInFileList @ConvertTokensInputs - Write-Output '::endgroup::' # [Deployment validation] task(s) From cece20fce5389be9a2592c0098b5ec1d6f200430 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 8 Nov 2022 11:49:04 +0100 Subject: [PATCH 03/20] wiki - known issues --- docs/wiki/Known issues.md | 46 --------------------------------------- 1 file changed, 46 deletions(-) diff --git a/docs/wiki/Known issues.md b/docs/wiki/Known issues.md index cf3b5c2380..77f7af83d5 100644 --- a/docs/wiki/Known issues.md +++ b/docs/wiki/Known issues.md @@ -6,20 +6,13 @@ This section provides an overview of the most impactful limitations and known is - [Module specific](#module-specific) - [Microsoft.AAD/DomainServices](#microsoftaaddomainservices) - - [Microsoft.KubernetesConfiguration/extensions](#microsoftkubernetesconfigurationextensions) - - [Microsoft.KubernetesConfiguration/fluxConfigurations](#microsoftkubernetesconfigurationfluxconfigurations) - [Microsoft.Management/managementGroups](#microsoftmanagementmanagementgroups) - - [Microsoft.Network/vpnGateways](#microsoftnetworkvpngateways) - - [Microsoft.Network/virtualHubs](#microsoftnetworkvirtualhubs) - - [Microsoft.Network/vpnSites](#microsoftnetworkvpnsites) - - [Microsoft.Network/connections](#microsoftnetworkconnections) - [CI environment specific](#ci-environment-specific) - [Static validation](#static-validation) - [Deployment validation](#deployment-validation) - [Limited module test file set](#limited-module-test-file-set) - [Limited job execution time](#limited-job-execution-time) - [Publishing](#publishing) - - [Dependencies pipeline](#dependencies-pipeline) --- @@ -38,19 +31,6 @@ Therefore, the module was manually tested in a dedicated environment. For the general prerequisites, please refer to the [official docs](https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-create-instance#prerequisites). -## Microsoft.KubernetesConfiguration/extensions - -The module has a dependency on a pre-existing AKS cluster (managed cluster) which we don't have deployed using the dependencies pipeline for cost reasons. - -## Microsoft.KubernetesConfiguration/fluxConfigurations - -The module has a dependency on - -- a pre-existing AKS cluster (managed cluster) -- a pre-existing Kubernetes Configuration extension deployment - -which we don't have deployed using the dependencies pipeline for cost reasons. - ## Microsoft.Management/managementGroups The Management Group module does not currently include the role assignments extension resource. @@ -61,22 +41,6 @@ A related issue has been opened to the Bicep board [#6832](https://github.com/Az Further details are also provided in issue [#1342](https://github.com/Azure/ResourceModules/issues/1342). -## Microsoft.Network/vpnGateways - -The module has a dependency on a pre-existing Virtual Hub which we don't have deployed using the dependencies pipeline for cost reasons. - -## Microsoft.Network/virtualHubs - -The module has a dependency on a pre-existing Virtual WAN which we don't have deployed using the dependencies pipeline for cost reasons. - -## Microsoft.Network/vpnSites - -The module has a dependency on a pre-existing Virtual WAN which we don't have deployed using the dependencies pipeline for cost reasons. - -## Microsoft.Network/connections - -The module has a dependency on pre-existing Virtual Network Gateways which we don't have deployed using the dependencies pipeline for cost reasons. - --- # CI environment specific @@ -109,14 +73,4 @@ For modules that can take more than 6 hours to deploy, this restriction applies. This section outlines known issues that currently affect the CI environment publishing step. -## Dependencies pipeline - -The dependencies pipeline currently fails on the Disk Encryption Set resource creation when deployed more than once. - -In the majority of cases you will only need to run the dependencies pipeline just once, as a prerequisite before using the module pipelines. It is then possible you will not experience this problem. - -> **Workaround**: In case you need to rerun the dependencies pipeline on top of existing resources created by the first run, please delete the Disk Encription Set resource before the rerun. - -Further details are tracked in issue [#1727](https://github.com/Azure/ResourceModules/issues/1727). - --- From efbf5ca1ba56db79aabbb1a3ecc126ab4f4a1569 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 8 Nov 2022 12:03:16 +0100 Subject: [PATCH 04/20] wiki - ci env --- ... CI environment - Deployment validation.md | 6 +- .../The CI environment - Pipeline design.md | 178 ------------------ .../The CI environment - Pipeline usage.md | 30 --- 3 files changed, 2 insertions(+), 212 deletions(-) diff --git a/docs/wiki/The CI environment - Deployment validation.md b/docs/wiki/The CI environment - Deployment validation.md index fa741f7f82..65f440267e 100644 --- a/docs/wiki/The CI environment - Deployment validation.md +++ b/docs/wiki/The CI environment - Deployment validation.md @@ -29,11 +29,9 @@ The intention of this test is to **fail fast**, before getting to the later depl # Azure deployment validation -This step performs the actual Azure deployments using each available & configured module module test file. The purpose of this step is to prove the module can be deployed in different configurations based on the different parameters provided. Deployments for the different variants happen in parallel. +This step performs the actual Azure deployments using each available & configured module test file. The purpose of this step is to prove the module can be deployed in different configurations based on the different parameters provided. Deployments for the different variants happen in parallel. -If any of these parallel deployments require multiple/different/specific resource instances already present, these resources are deployed by the [dependencies pipeline](./The%20CI%20environment%20-%20Pipeline%20design#dependencies-pipeline). E.g., for the Azure Firewall to be tested with multiple configurations, the dependencies pipeline deploys multiple VNET instances, with a dedicated "AzureFirewallSubnet" in each. - -> NOTE: Once the issue [1583](https://github.com/Azure/ResourceModules/issues/1583) is resolved, the deployment of these dependencies will be moved into the module test files. You can find additional information about this effort [here](./The%20library%20-%20Module%20design#module-test-files). +If any of these parallel deployments require multiple/different/specific resource instances already present, these resources are deployed by the module test files before the module to validate. You can find additional information about this effort [here](./The%20library%20-%20Module%20design#module-test-files). The module test files used in this stage should ideally cover as many configurations as possible to validate the template flexibility, i.e., to verify that the module can cover multiple scenarios in which the given Azure resource may be used. Using the example of the CosmosDB module, we may want to have one module test file for the minimum amount of required parameters, one module test file for each CosmosDB type to test individual configurations, and at least one module test file testing the supported extension resources such as RBAC & diagnostic settings. diff --git a/docs/wiki/The CI environment - Pipeline design.md b/docs/wiki/The CI environment - Pipeline design.md index 9b8bd774b0..4be6ae2195 100644 --- a/docs/wiki/The CI environment - Pipeline design.md +++ b/docs/wiki/The CI environment - Pipeline design.md @@ -9,15 +9,6 @@ This section provides an overview of the design principles applied to the CARML - [DevOps-Tool-specific design](#devops-tool-specific-design) - [Module pipeline inputs](#module-pipeline-inputs) - [Platform pipelines](#platform-pipelines) - - [Dependencies pipeline](#dependencies-pipeline) - - [Dependencies pipeline inputs](#dependencies-pipeline-inputs) - - [Resources deployed by the dependencies pipeline](#resources-deployed-by-the-dependencies-pipeline) - - [**1st level resources**](#1st-level-resources) - - [**2nd level resources**](#2nd-level-resources) - - [**3rd level resources**](#3rd-level-resources) - - [**4th level resources**](#4th-level-resources) - - [**5th level resources**](#5th-level-resources) - - [Required secrets and keys](#required-secrets-and-keys) - [ReadMe pipeline](#readme-pipeline) - [Wiki pipeline](#wiki-pipeline) @@ -112,178 +103,9 @@ Each module pipeline comes with the following runtime parameters: In addition to module pipelines, the repository includes several platform pipelines covering further tasks as described below. -- [Dependencies pipeline](#dependencies-pipeline) - [ReadMe pipeline](#readme-pipeline) - [Wiki pipeline](#wiki-pipeline) -## Dependencies pipeline - -> NOTE: The dependencies deployed as part of this pipeline will be moved to the individual modules that depend on them once issue [1583](https://github.com/Azure/ResourceModules/issues/1583) is resolved. You can find further information about this effort [here](./The%20library%20-%20Module%20design#module-test-files). - -In order to successfully run module pipelines to validate and publish CARML modules to the target environment, certain Azure resources may need to be deployed beforehand. - -For example, any instance of the \[Virtual Machine] module needs an existing virtual network to be connected to and a Key Vault hosting its required local admin credentials to be referenced. - -The dependencies pipeline covers this requirement and is intended to be run before using the module pipelines. - -The pipeline leverages resource parameters from the `utilities\pipelines\dependencies` subfolder and either one of the following pipelines: -- GitHub workflow: [`.github\workflows\platform.dependencies.yml`](https://github.com/Azure/ResourceModules/blob/main/.github\workflows\platform.dependencies.yml) -- Azure DevOps pipeline: [`.azuredevops\platformPipelines\platform.dependencies.yml`](https://github.com/Azure/ResourceModules/blob/main/.azuredevops\platformPipelines\platform.dependencies.yml) - -### Dependencies pipeline inputs - -The dependencies pipeline comes with the following runtime parameters: - -- `'Branch' dropdown`: A dropdown to select the branch to run the pipeline from. -- `'Enable SqlMI dependency deployment' switch`: Can be enabled or disabled and controls whether the dependencies for the \[SQL managed instance] module are configured during deployment. It is disabled by default. -- `'Enable deployment of a vhd stored in a blob container' switch`: Can be enabled or disabled and controls whether including the baking of a VHD and subsequent backup to a target storage blob container during the deployment. This is a dependency for the \[Compute Images] and \[Compute Disks] modules. This task requires up to two hours completion and is disabled by default. - - Dependencies Pipeline Input - -### Resources deployed by the dependencies pipeline - -The resources deployed by the dependencies pipeline need to be in place before testing all the modules. - -> Note: Some dependency resources (e.g., \[storage account], \[Key Vault] and \[event hub namespace]) require a globally unique resource name. By default, the parameter files make use of the placeholder token `'<>'` to make all resource names specific to an environment. Refer to [Parameter File Tokens Design](./The%20CI%20environment%20-%20Token%20replacement) for more details. - -Since also dependency resources are in turn subject to dependencies with each other, resources are deployed in the following grouped order. - -#### **1st level resources** - - 1. Resource Group: leveraged by all modules. - - '_validation-rg_': The resource group to which resources are deployed by default during the test deployment phase. This same resource group is also the one hosting the dependencies. - - '_adp-\<>-az-locks-rg-001_': Dedicated resource group to be leveraged by the \[authorization locks] resource. - -#### **2nd level resources** - -This group of resources has a dependency only on the resource group which will host them. Resources in this group can be deployed in parallel. - - 1. Storage account: This resource is leveraged by all resources supporting diagnostic settings on a storage account. - >**Note**: This resource needs a global scope name. - Multiple instances are deployed: - - '_adp\<>azsax001_' : Default Storage. - - '_adp\<>azsafa001_' : Function App Data Storage. - - '_adp\<>azsalaw001_' : Diagnostic Storage. - - '_adp\<>azsasynapse001_' : Synapse DataLake Gen2 #1. - - '_adp\<>azsasynapse002_' : Synapse DataLake Gen2 #2. - 1. Event hub namespace and Event hub: This resource is leveraged by all resources supporting diagnostic settings on an event hub. - >**Note**: This resource has a global scope name. - 1. Log analytics workspaces: These resources are leveraged by all resources supporting diagnostic settings on LAW. Multiple instances are deployed: - - '_adp-\<>-az-law-x-001_': Default LAW. - - '_adp-\<>-az-law-aut-001_': Dedicated LAW to be leveraged by the \[automation account] resource. - - '_adp-\<>-az-law-appi-001_': Dedicated LAW to be leveraged by the \[application insights] resource. - - '_adp-\<>-az-law-sol-001_': Dedicated LAW to be leveraged by the \[operations management solutions] resource. - 1. User assigned identity: This resource is leveraged by the \[role assignment], \[Key Vault] and \[recovery services vault] dependency resources. - > **Note**: The object ID of the \[user assigned identity] is needed by several dependency parameter files. However, before running the dependencies pipeline for the first time, the \[user assigned identity] resource does not exist yet, thus its object ID is unknown. For this reason, instead of the object ID value, some dependency parameter files contain the `"<>"` token, for which the correct value is retrieved and replaced by the pipeline at runtime. - 1. Shared image gallery and definition: These resources are leveraged by the \[image template] resource. - 1. Route table: This resource is leveraged by the virtual network subnet dedicated to test \[SQL managed instance]. - >**Note**: This resource is deployed and configured only if SQL-MI dependency resources are enabled. - 1. Route table: This resource is leveraged by a test subnet deployment of the \[Virtual Network] module. - 1. Action group: This resource is leveraged by \[activity log alert] and \[metric alert] resources. - 1. Application security group: This resource is leveraged by the \[network security group] resource. - 1. Policy assignment: This resource is leveraged by the \[policy exemption] resource. - 1. Proximity placement group: This resource is leveraged by a test deployment of the \[Availability set] module. - -#### **3rd level resources** - -This group of resources has a dependency on one or more resources in the group above. Resources in this group can be deployed in parallel. - - 1. Storage Account Upload: An upload job to populate the storage account configured in `parameters.json` with a test script that can be referenced - 1. AVD host pool: This resource supports monitoring, hence it has a dependency on the \[storage account], \[log analytics workspace] and \[event hub] deployed in the group above. This resource is leveraged by the \[AVD application group] resource. - 1. Network Security Groups: This resource supports monitoring, hence it has a dependency on the \[storage account], \[log analytics workspace] and \[event hub] deployed in the group above. This resource is leveraged by different virtual network subnets. Multiple instances are deployed: - - '_adp-\<>-az-nsg-x-apgw_': NSG with required network security rules to be leveraged by the \[application gateway] subnet. - - '_adp-\<>-az-nsg-x-ase_': NSG with required network security rules to be leveraged by the \[app service environment] subnet. - - '_adp-\<>-az-nsg-x-bastion_': NSG with required network security rules to be leveraged by the \[bastion host] subnet. - - '_adp-\<>-az-nsg-x-sqlmi_': NSG with required network security rules to be leveraged by the \[SQL managed instance] subnet. - >**Note**: This resource is deployed and configured only if sqlmi dependency resources are enabled. - - '_adp-\<>-az-nsg-x-001_': default NSG leveraged by all other subnets. - 1. Application insight: This resource supports monitoring, hence it has a dependency on the \[storage account], \[log analytics workspace] and \[event hub] deployed in the group above. This resource is leveraged by the \[machine learning service] resource. - 1. Automation account: This resource supports monitoring, hence it has a dependency on the \[storage account], \[log analytics workspace] and \[event hub] deployed in the group above. This resource is leveraged by the \[log analytics workspace] resource. - 1. Public IP addresses: This resource supports monitoring, hence it has a dependency on the \[storage account], \[log analytics workspace] and \[event hub] deployed in the group above. Multiple instances are deployed: - - '_adp-\<>-az-pip-x-apgw_': Leveraged by the \[application gateway] resource. - - '_adp-\<>-az-pip-x-bas_': Leveraged by the \[bastion host] resource. - - '_adp-\<>-az-pip-x-lb_': Leveraged by the \[load balancer] resource. - - '_adp-\<>-az-pip-min-lb_': Leveraged by the \[load balancer] resource. - - '_adp-\<>-az-pip-x-fw_': Leveraged by the \[Azure firewall] resource. - 1. Role assignment: This resource assigns the '_Contributor_' role on the subscription to the \[user assigned identity] deployed as part of the group above. This is needed by the \[image template] deployment. - 1. Key Vault: This resource supports monitoring, hence it has a dependency on the \[storage account], \[log analytics workspace] and \[event hub] deployed in the group above. Multiple instances are deployed: - - '_adp-\<>-az-kv-x-001_': KV with required secrets, keys, certificates and access policies to be leveraged by all resources requiring access to a Key Vault key, secret and/or certificate, i.e., \[application gateway], \[azure NetApp file], \[azure SQL server], \[disk encryption set], \[machine learning service], \[virtual machine], \[virtual machine scale set], \[virtual network gateway connection]. - - '_adp-\<>-az-kv-x-pe_': KV to be leveraged by the \[private endpoint] resource. - - '_adp-\<>-az-kv-x-sqlmi_': KV with required secrets, keys and access policies to be leveraged by the \[SQL managed instance] resource. - >**Note**: This resource is deployed and configured only if SQL-MI dependency resources are enabled. - >**Note**: This resource has a global scope name. - 1. Recovery services vault: This resource supports monitoring, hence it has a dependency on the \[storage account], \[log analytics workspace] and \[event hub] deployed in the group above. This resource is leveraged by the \[virtual machine] resource when backup is enabled. - -#### **4th level resources** - -This group of resources has a dependency on one or more resources in the groups above. Resources in this group can be deployed in parallel. - - 1. AVD application group: This resource is leveraged by the \[AVD workspace] resource. - 1. Virtual Networks: This resource is depending on the route table and network security groups deployed above. Multiple instances are deployed: - - '_adp-\<>-az-vnet-x-peer01_': Leveraged by the \[virtual network peering] resource. - - '_adp-\<>-az-vnet-x-peer02_': Leveraged by the \[virtual network peering] resource. - - '_adp-\<>-az-vnet-x-azfw_': Leveraged by the \[azure firewall] resource. - - '_adp-\<>-az-vnet-x-aks_': Leveraged by the \[azure kubernetes service] resource. - - '_adp-\<>-az-vnet-x-sqlmi_': Leveraged by the \[SQL managed instance] resource. - >**Note**: This resource is deployed and configured only if sqlmi dependency resources are enabled. - - '_adp-\<>-az-vnet-x-001_': Hosting multiple subnets to be leveraged by \[virtual machine], \[virtual machine scale set], \[service bus], \[azure NetApp files], \[azure bastion], \[private endpoints], \[app service environment] and \[application gateway] resources. - 1. Azure Image Builder template: This resource triggers the build and distribution of a VHD in a storage account. The VHD file is copied to a known storage account blob container and leveraged by \[compute disks] and \[compute images] resources. - >**Note**: This resource is deployed and configured only if the 'Enable deployment of a VHD stored in a blob container' option is selected. - 1. Disk Encryption Set: This resource is leveraged by the \[Managed Cluster] resource. - -#### **5th level resources** - -This group of resources has a dependency on one or more resources in the groups above. - - 1. Virtual Machine: This resource is depending on the \[virtual networks] and \[Key Vault] deployed above. This resource is leveraged by the \[network watcher] resource. - 1. Private DNS zones: This resource is depending on the \[virtual networks] deployed above. This resource is leveraged by the \[private endpoint] resource which is cross-referenced from all modules providing a private endpoint connection. Multiple instances are deployed: - - '_privatelink.azconfig.io_': Leveraged by the \[configuration store] resource. - - '_privatelink.azure-automation.net_': Leveraged by the \[automation account] resource. - - '_privatelink.batch.azure.com_': Leveraged by the \[batch account] resource. - - '_privatelink.redis.cache.windows.net_': Leveraged by the \[redis cache] resource. - - '_privatelink.cognitiveservices.azure.com_': Leveraged by the \[cognitive services account] resource. - - '_privatelink.azurecr.io_': Leveraged by the \[azure container registry] resource. - - '_privatelink.datafactory.azure.net_': Leveraged by the \[data factory] resource. - - '_privatelink.eventgrid.azure.net_': Leveraged by the \[event grid topic] resource. - - '_privatelink.servicebus.windows.net_': Leveraged by the \[service bus and event hub] resources. - - '_privatelink.monitor.azure.com_': Leveraged by the \[private link scope] resource. - - '_privatelink.api.azureml.ms_': Leveraged by the \[machine learning workspace] resource. - - '_privatelink.siterecovery.windowsazure.com_': Leveraged by the \[recovery services vault] resource. - - '_privatelink.azuresynapse.net_': Leveraged by the \[synapse private link hub] resource. - - '_privatelink.sql.azuresynapse.net_': Leveraged by the \[synapse workspace] resource. - - '_privatelink.database.windows.net_': Leveraged by the \[sql server] resource. - - '_privatelink.azurewebsites.net_': Leveraged by the \[web site] resource. - - '_privatelink.azurestaticapps.net_': Leveraged by the \[web static site] resource. - - '_privatelink.blob.azure.com_': Leveraged by the \[storage account (blob)] resource. - - '_privatelink.file.azure.com_': Leveraged by the \[storage account (file)] resource. - - '_privatelink.queue.azure.com_': Leveraged by the \[storage account (queue)] resource. - - '_privatelink.table.azure.com_': Leveraged by the \[storage account (table)] resource. - - '_privatelink.vaultcore.azure.net_': Leveraged by the \[key vault] resource. - - '_privatelink.webpubsub.azure.net_': Leveraged by the \[web pubsub] resource. - -### Required secrets and keys - -In addition to the above resources, the following secrets, keys and certificates are created in the Key Vaults deployed by the dependencies pipeline. - -- Shared Key Vault '_adp-\<>-az-kv-x-001_' - 1. Key Vault secrets: - - _administratorLogin_: For \[azure SQL server] . - - _administratorLoginPassword_: For \[azure SQL server]. - - _vpnSharedKey_: For \[virtual network gateway connection]. - - _adminUserName_: For \[virtual machine]. - - _adminPassword_: For \[virtual machine]. - 1. Key Vault keys: - - _keyEncryptionKey_: For \[disk encryption set]. - 1. Key Vault certificate: - - _applicationGatewaySslCertificate_: For \[application gateway]. - -- SQL Mi Key Vault '_adp-\<>-az-kv-x-sqlmi_' - 1. Key Vault secrets: - - _administratorLogin_: For \[SQL managed instance]. - - _administratorLoginPassword_: For \[SQL managed instance]. - 1. Key Vault keys: - - _keyEncryptionKeySqlMi_: For \[SQL managed instance]. - ## ReadMe pipeline The repository includes two major ReadMe files that should stay in sync with the available modules. diff --git a/docs/wiki/The CI environment - Pipeline usage.md b/docs/wiki/The CI environment - Pipeline usage.md index e270ab982b..5f45571e88 100644 --- a/docs/wiki/The CI environment - Pipeline usage.md +++ b/docs/wiki/The CI environment - Pipeline usage.md @@ -6,8 +6,6 @@ This section provides a guideline on how to use the CARML CI environment pipelin - [Operate the module pipelines](#operate-the-module-pipelines) - [Add a new module pipeline](#add-a-new-module-pipeline) -- [Operate the dependencies pipeline](#operate-the-dependencies-pipeline) - - [Add a new dependency](#add-a-new-dependency) - [DevOps-Tool-specific guidance](#devops-tool-specific-guidance) - [GitHub workflows](#github-workflows) - [Trigger a workflow](#trigger-a-workflow) @@ -39,34 +37,6 @@ Pipeline logs are available for troubleshooting and provide detailed information To add a new module pipeline, we recommend to create a copy of a currently existing module pipeline and adjust all module-specific properties, e.g., triggers and module paths. The registration of the pipeline depends on the [DevOps platform](#devops-tool-specific-guidance) you're using. -# Operate the dependencies pipeline - -The dependencies pipeline must be triggered manually. This deploys a set of resources we reference as part of the module tests (e.g., Virtual Networks, Log Analytics Workspace, Key Vaults). - -To run the dependencies pipeline you can perform the following steps: - -1. Before running the pipeline for the first time make sure to update the following values: - - | File | Parameter | Description | - | - | - | - | - | `utilities\pipelines\.. ..dependencies\Microsoft.KeyVault\.. ..vaults\parameters\parameters.json` | `accessPolicies.value[0].objectId` | The 'Backup Management Service' needs access to back up the keys and secrets, along with the associated VMs. The Enterprise Application's object ID is unique per tenant. | -1. (Optionally) Verify if you are satisfied with the dependency resource names by checking dependency parameter files stored in path `utilities\pipelines\dependencies`. If not, make the necessary updates to you local branch and push the local changes to the repository. - > **Note:** If you want to rename any dependency resources, make sure to update any references to their name in the module parameter files too. -1. On the DevOps platform, navigate to the dependencies pipeline. -1. Select the branch you intend to run. -1. (Optionally) Enable the `'Enable SqlMI dependency deployment'` switch to include the deployment of the dependencies for the \[SQL managed instance] module. -1. (Optionally) Enable the `'Enable deployment of a vhd stored in a blob container'` switch to include the deployment of the dependencies for the \[Compute Images] and \[Compute Disks] modules. - > **Note**: This option requires up to two hours to complete. -1. Trigger the pipeline. - -By default, i.e., by keeping the optional flags disables, the dependencies pipeline may take up to 30 minutes to run. - -> **Note:** For details about the dependencies pipeline design, please refer to the dedicated [Dependencies pipeline design](./The%20CI%20environment%20-%20Pipeline%20design#dependencies-pipeline) section. - -## Add a new dependency - -Depending on what you want to test in your module pipeline, you may want to include additional resources to your dependencies pipeline. If so, make sure to include an additional parameter file for each service you require under `utilities/pipelines/dependencies`. Once done, you need to add the deployment to the pipeline itself making sure to deploy the new resources in the correct order. The implementation depends on the [DevOps platform](#devops-tool-specific-guidance) you're using. - --- # DevOps-Tool-specific guidance From 0313e5ce00fe2b45ad051c407d7c8d1505d66667 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 8 Nov 2022 12:45:12 +0100 Subject: [PATCH 05/20] wiki - getting started --- ... 2 Onboard module library and CI environment.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md b/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md index f06d57e5b8..1a233acb13 100644 --- a/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md +++ b/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md @@ -369,24 +369,16 @@ Each `./azuredevops/modulePipelines` YAML pipeline already calls [`/.azuredevops In order to successfully deploy and test all modules in your desired environment, some modules require resources to be deployed beforehand. -The repository comes with a platform pipeline, i.e., the '*dependencies pipeline*', that deploys a set of Azure services such as Virtual Networks and Key Vaults (along with dummy secrets) to be used by the module pipeline tests. +Those resources are generally deployed by the module test files before the module to validate, so that you don't need to worry about setting up dependencies for each test and clean them up afterwards. -Run the dependencies pipeline by following instructions provided in the specific [Dependencies pipeline usage](./The%20CI%20environment%20-%20Pipeline%20usage#operate-the-dependencies-pipeline) section. - -> **Note**: For details about the dependencies pipeline design, please refer to the dedicated [Dependencies pipeline design](./The%20CI%20environment%20-%20Pipeline%20design#dependencies-pipeline) section. - -## 4.1 Manual Dependencies - -In special cases, manual actions may be required to provision certain resources that are not covered by the dependencies pipeline. In the following, you can find an overview of these resources, for which modules you need them and what you need to do: +In special cases, manual actions may be required to provision certain resources whose deployment is not covered by the module test files. In the following, you can find an overview of which modules require special attention before being validated: ### Microsoft.Web/sites -To successfully deploy the sites module using the `fa.parameters.json` parameter file, you need to create an Azure Active Directory App with its API endpoint enabled (e.g., `api://`) and add a secret. The secret value needs then to be stored in a Key Vault secret. +To successfully deploy the sites module using the `FunctionAppCommon/deploy.test.bicep` test, you need to create an Azure Active Directory App with its API endpoint enabled (e.g., `api://`) and add a secret. The secret value needs then to be stored in a Key Vault secret. # 5. Update module test files -Once the required dependencies are deployed, there is one more step left to get as many module pipelines running as possible. - Several module parameters reference resources with unique values. For example, if a module references a Key Vault key, its version identifier will only be available once the dependencies pipeline ran once. For this reason, make sure to update the references in the following modules once the dependencies pipeline concluded: From c0a3fe695ade1a6d98237a7c9816e193c4f4c504 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 22 Nov 2022 11:43:55 +0100 Subject: [PATCH 06/20] align new module --- .../modulePipelines/ms.maintenance.maintenanceconfigurations.yml | 1 - .github/workflows/ms.maintenance.maintenanceconfigurations.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.azuredevops/modulePipelines/ms.maintenance.maintenanceconfigurations.yml b/.azuredevops/modulePipelines/ms.maintenance.maintenanceconfigurations.yml index ca5076934a..e2db410007 100644 --- a/.azuredevops/modulePipelines/ms.maintenance.maintenanceconfigurations.yml +++ b/.azuredevops/modulePipelines/ms.maintenance.maintenanceconfigurations.yml @@ -24,7 +24,6 @@ trigger: - '/modules/Microsoft.Maintenance/maintenanceConfigurations/*' - '/utilities/pipelines/*' exclude: - - '/utilities/pipelines/dependencies/*' - '/**/*.md' variables: diff --git a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml index 5b2fd589f9..e0c096488a 100644 --- a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml +++ b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml @@ -21,7 +21,6 @@ on: - '.github/workflows/ms.maintenance.maintenanceconfigurations.yml' - 'modules/Microsoft.Maintenance/maintenanceConfigurations/**' - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' - '!*/**/readme.md' env: From d4955c17e43c78dc02f97692a7c029b34cfcae04 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 19:34:14 +0100 Subject: [PATCH 07/20] remove deployment output --- .../jobs.validateModuleDeployment.yml | 1 - .../validateModuleDeployment/action.yml | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml index bce2fa0045..c32597b904 100644 --- a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml +++ b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml @@ -330,7 +330,6 @@ jobs: $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 Write-Verbose "Deployment output: $deploymentOutput" -Verbose - Write-Output "##vso[task.setvariable variable=deploymentOutput;isOutput=true]$deploymentOutput" if ($res.ContainsKey('exception')) { # Happens only if there is an exception diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index a97c75dfdc..8d02e6ea1b 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -25,18 +25,6 @@ ## |=====================================================================================================================================================================================| ## ######################################################### -## -##----------------------------------------## -## ACTION OUTPUTS ## -##----------------------------------------## -## -## |================================================================| -## | Output | Description | -## |------------------|---------------------------------------------| -## | deploymentOutput | The module deployment output in json format | -## |================================================================| -## -##---------------------------------------------## name: 'Deploy module' description: 'Deploy module' @@ -68,11 +56,6 @@ inputs: default: 'true' required: false -outputs: - deploymentOutput: - description: 'The module deployment output in json format' - value: ${{ steps.deploy_step.outputs.deploymentOutput }} - runs: using: 'composite' steps: @@ -346,7 +329,6 @@ runs: $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 Write-Verbose "Deployment output: $deploymentOutput" -Verbose - Write-Output ('{0}={1}' -f 'deploymentOutput', $deploymentOutput) >> $env:GITHUB_OUTPUT if ($res.ContainsKey('exception')) { # Happens only if there is an exception From 59d30c93305428c2d21119fe3cf5030af27443fb Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 19:38:36 +0100 Subject: [PATCH 08/20] update removal --- .../helper/Get-DependencyResourceNameList.ps1 | 64 ------------------- .../helper/Remove-Deployment.ps1 | 10 ++- 2 files changed, 4 insertions(+), 70 deletions(-) delete mode 100644 utilities/pipelines/resourceRemoval/helper/Get-DependencyResourceNameList.ps1 diff --git a/utilities/pipelines/resourceRemoval/helper/Get-DependencyResourceNameList.ps1 b/utilities/pipelines/resourceRemoval/helper/Get-DependencyResourceNameList.ps1 deleted file mode 100644 index b1d10bd762..0000000000 --- a/utilities/pipelines/resourceRemoval/helper/Get-DependencyResourceNameList.ps1 +++ /dev/null @@ -1,64 +0,0 @@ -<# -.SYNOPSIS -Get a list of all dependency resources specified in the dependencies parameter files - -.DESCRIPTION -Get a list of all dependency resources specified in the dependencies parameter files -Note: It only considers resources that use the 'name' parameter - -.PARAMETER DependencyParameterPath -Optional. The path the the dependency parameters parent folder. Defaults to 'utilities/pipelines/dependencies' - -.EXAMPLE -Get-DependencyResourceNameList - -Get the list of all dependency names from the current set of parameter files -#> -function Get-DependencyResourceNameList { - - [CmdletBinding()] - param ( - [Parameter(Mandatory = $false)] - [string] $DependencyParameterPath = (Join-Path (Get-Item $PSScriptRoot).Parent.Parent.FullName 'dependencies') - ) - - # Load used function - $repoRootPath = (Get-Item $PSScriptRoot).Parent.Parent.Parent.Parent.FullName - . (Join-Path $repoRootPath 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFileList.ps1') - - # Get target files - $parameterFolders = Get-ChildItem -Path $dependencyParameterPath -Recurse -Filter 'parameters' -Directory - $parameterFilePaths = [System.Collections.ArrayList]@() - foreach ($parameterFolderPath in $parameterFolders.FullName) { - $parameterFilePaths += Get-ChildItem -Path $parameterFolderPath -Recurse -Filter '*.json' - } - - # Replace tokens in dependency parameter files - $GlobalVariablesObject = Get-Content -Path (Join-Path $repoRootPath 'settings.yml') | ConvertFrom-Yaml -ErrorAction Stop | Select-Object -ExpandProperty variables - - # Construct Token Configuration Input - $tokenConfiguration = @{ - FilePathList = $parameterFilePaths - Tokens = @{} - TokenPrefix = $GlobalVariablesObject | Select-Object -ExpandProperty tokenPrefix - TokenSuffix = $GlobalVariablesObject | Select-Object -ExpandProperty tokenSuffix - Verbose = $false - } - - $null = Convert-TokensInFileList @tokenConfiguration - - $dependencyResourceNames = [System.Collections.ArrayList]@() - foreach ($parameterFilePath in $parameterFilePaths) { - $paramFileContent = ConvertFrom-Json (Get-Content -Path $parameterFilePath -Raw) - if ($nameParam = $paramFileContent.parameters.name.value) { - $dependencyResourceNames += $nameParam - } - } - - if ($Settings.parameterFileTokens.localTokens) { - Write-Verbose 'Restoring Tokens' - $null = Convert-TokensInFileList @tokenConfiguration -SwapValueWithName $true - } - - return $dependencyResourceNames -} diff --git a/utilities/pipelines/resourceRemoval/helper/Remove-Deployment.ps1 b/utilities/pipelines/resourceRemoval/helper/Remove-Deployment.ps1 index e79672715b..6204561b12 100644 --- a/utilities/pipelines/resourceRemoval/helper/Remove-Deployment.ps1 +++ b/utilities/pipelines/resourceRemoval/helper/Remove-Deployment.ps1 @@ -69,7 +69,6 @@ function Remove-Deployment { . (Join-Path (Split-Path $PSScriptRoot -Parent) 'helper' 'Get-DeploymentTargetResourceList.ps1') . (Join-Path (Split-Path $PSScriptRoot -Parent) 'helper' 'Get-ResourceIdsAsFormattedObjectList.ps1') . (Join-Path (Split-Path $PSScriptRoot -Parent) 'helper' 'Get-OrderedResourcesList.ps1') - . (Join-Path (Split-Path $PSScriptRoot -Parent) 'helper' 'Get-DependencyResourceNameList.ps1') . (Join-Path (Split-Path $PSScriptRoot -Parent) 'helper' 'Remove-ResourceList.ps1') } @@ -115,9 +114,8 @@ function Remove-Deployment { return } - # Filter all dependency resources - # =============================== - $dependencyResourceNames = Get-DependencyResourceNameList + # Filter resources + # ================ # Resource IDs in the below list are ignored by the removal $resourceIdsToIgnore = @( @@ -136,12 +134,12 @@ function Remove-Deployment { [regex] $ignorePrefix_regex = '(?i)^(' + (($resourceIdPrefixesToIgnore | ForEach-Object { [regex]::escape($_) }) –join '|') + ')' - if ($resourcesToIgnore = $resourcesToRemove | Where-Object { (Split-Path $_.resourceId -Leaf) -in $dependencyResourceNames -or $_.resourceId -in $resourceIdsToIgnore -or $_.resourceId -match $ignorePrefix_regex }) { + if ($resourcesToIgnore = $resourcesToRemove | Where-Object { $_.resourceId -in $resourceIdsToIgnore -or $_.resourceId -match $ignorePrefix_regex }) { Write-Verbose 'Resources excluded from removal:' -Verbose $resourcesToIgnore | ForEach-Object { Write-Verbose ('- Ignore [{0}]' -f $_.resourceId) -Verbose } } - [array] $resourcesToRemove = $resourcesToRemove | Where-Object { (Split-Path $_.resourceId -Leaf) -notin $dependencyResourceNames -and $_.resourceId -notin $resourceIdsToIgnore -and $_.resourceId -notmatch $ignorePrefix_regex } + [array] $resourcesToRemove = $resourcesToRemove | Where-Object { $_.resourceId -notin $resourceIdsToIgnore -and $_.resourceId -notmatch $ignorePrefix_regex } Write-Verbose ('Total number of deployments after filtering all dependency resources [{0}]' -f $resourcesToRemove.Count) -Verbose # Order resources From 5f4d28b71b042c59ed23dd8fa1e756a83e7e4734 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 19:43:42 +0100 Subject: [PATCH 09/20] Remove update parameter files --- ...rio 2 Module library and CI environment.md | 5 ++-- ...board module library and CI environment.md | 23 +++---------------- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md b/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md index 776343754a..f3cba8c604 100644 --- a/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md +++ b/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md @@ -11,9 +11,8 @@ The update process is the following: - [3. (Optional) Convert library to ARM](#3-optional-convert-library-to-arm) - [4. Apply specific settings to files](#4-apply-specific-settings-to-files) - [5. (Optional) Customize modules and CI environment](#5-optional-customize-modules-and-ci-environment) -- [6. Update module test files](#6-update-module-test-files) -- [7. Run dependencies pipeline](#7-run-dependencies-pipeline) -- [8. Test and publish modules](#8-test-and-publish-modules) +- [6. Run dependencies pipeline](#7-run-dependencies-pipeline) +- [7. Test and publish modules](#8-test-and-publish-modules) # 1. Backup your local copy of the library diff --git a/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md b/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md index 7824231dd0..df6e95f591 100644 --- a/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md +++ b/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md @@ -6,7 +6,6 @@ This requires several steps: 1. [Fork/clone the repository into your DevOps environment](#2-forkclone-the-repository-into-your-devops-environment) 1. [Configure the CI environment](#3-configure-the-ci-environment) 1. [Deploy dependencies](#4-deploy-dependencies) -1. [Update module test files](#5-update-module-test-files) 1. [(Optional) Convert library to ARM](#6-optional-convert-library-to-arm) Depending on the DevOps environment you choose (GitHub or Azure DevOps), make sure you also account for the specific requirements outlined below. @@ -371,11 +370,11 @@ In order to successfully deploy and test all modules in your desired environment Those resources are generally deployed by the module test files before the module to validate, so that you don't need to worry about setting up dependencies for each test and clean them up afterwards. -In special cases, manual actions may be required to provision certain resources whose deployment is not covered by the module test files. In the following, you can find an overview of which modules require special attention before being validated: +In special cases, manual actions may be required to provision certain resources whose deployment is not covered by the module test files. In the following, you can find an overview of which modules require special attention before being validated. ### Microsoft.Web/sites -To successfully deploy the sites module using the `FunctionAppCommon/deploy.test.bicep` test, you need to create an Azure Active Directory App with its API endpoint enabled (e.g., `api://`) and add a secret. The secret value needs then to be stored in a Key Vault secret. +To successfully deploy the sites module using the `functionAppCommon/deploy.test.bicep` test, you need to create an Azure Active Directory App with its API endpoint enabled (e.g., `api://`) and add a secret. The secret value needs then to be stored in a Key Vault secret. Finally, the elements described above must further be configured in the following files: @@ -385,24 +384,8 @@ Finally, the elements described above must further be configured in the followin | `modules\Microsoft.Web\sites\.test\common\deploy.bicep` | `authSettingV2Configuration.identityProviders.azureActiveDirectory.registration.clientId` | App ID from the Azure Active Directory App (e.g., '11111111-1111-1111-1111-11111111111') | | `modules\Microsoft.Web\sites\.test\common\deploy.bicep` | `authSettingV2Configuration.identityProviders.azureActiveDirectory.validation.allowedAudiences` | API endpoint from the Azure Active Directory app (e.g., 'api://11111111-1111-1111-1111-11111111111') | -# 5. Update module test files - -Several module parameters reference resources with unique values. For example, if a module references a Key Vault key, its version identifier will only be available once the dependencies pipeline ran once. - -For this reason, make sure to update the references in the following modules once the dependencies pipeline concluded: - -| File | Parameter | Notes | -| - | - | - | -| `modules\Microsoft.CognitiveServices\accounts\.test\encr.parameters.json` | `encryption.value.keyVaultProperties.identityClientId` | | -| `modules\Microsoft.Compute\virtualMachines\.test\linux.parameters.json` | `extensionDiskEncryptionConfig.value.settings.KeyEncryptionKeyURL` | | -| `modules\Microsoft.Compute\virtualMachines\.test\windows.parameters.json` | `extensionDiskEncryptionConfig.value.settings.KeyEncryptionKeyURL` | | -| `modules\Microsoft.Compute\virtualMachineScaleSets\.test\linux.parameters.json` | `extensionDiskEncryptionConfig.value.settings.KeyEncryptionKeyURL` | | -| `modules\Microsoft.Compute\virtualMachineScaleSets\.test\windows.parameters.json` | `extensionDiskEncryptionConfig.value.settings.KeyEncryptionKeyURL` | | -| `modules\Microsoft.Sql\managedInstances\.test\parameters.json` | `keys.value.uri` | | -| `modules\Microsoft.Network\applicationGateways\.test\parameters.json` | `sslCertificates.value.properties.keyVaultSecretId` | | - -# 6. (Optional) Convert library to ARM +# 5. (Optional) Convert library to ARM Note that in case you don't want to use Bicep, you always have the option to use the utility `ConvertTo-ARMTemplate` we provide in path `utilities/tools` to convert the repository to an ARM-only repository. Due to the way Bicep works and the CI environment is set up, you should be able to use it with ARM templates in the same way as you would when using Bicep. For further information on how to use the tool, please refer to the tool-specific [documentation](./Interoperability%20-%20Bicep%20to%20ARM%20conversion). From c6b3311b9316de0404c3e8b33389d8d9c35ca3d6 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 19:46:16 +0100 Subject: [PATCH 10/20] wiki Removal update --- docs/wiki/The CI environment - Deployment validation.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment validation.md b/docs/wiki/The CI environment - Deployment validation.md index 148c578e44..f74280076c 100644 --- a/docs/wiki/The CI environment - Deployment validation.md +++ b/docs/wiki/The CI environment - Deployment validation.md @@ -69,7 +69,6 @@ The removal process will delete all resources created by the deployment. The lis - `Microsoft.Security/pricings` - `Microsoft.Security/securityContacts` - `Microsoft.Security/workspaceSettings` - 1. Dependencies for different modules (e.g., the commonly used Log Analytics workspace). 1. Moving specific resource types to the top of the list (if a certain order is required). For example, `diagnosticSettings` need to be removed before the resource to which they are applied, even though they are no child-resources. After a resource is removed (this happens after each resource in the list), if defined, the script will perform a **post removal operation**. This can be used for those resource types that require post-processing, like purging a soft-deleted Key Vault. From 90f12da5762655419ce09056d046aca3ff688569 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 20:22:48 +0100 Subject: [PATCH 11/20] fix ado cleanup --- .../modulePipelines/ms.authorization.policyassignments.yml | 1 + .../modulePipelines/ms.authorization.roleassignments.yml | 1 + .../modulePipelines/ms.automation.automationaccounts.yml | 1 + .azuredevops/modulePipelines/ms.batch.batchaccounts.yml | 1 + .azuredevops/modulePipelines/ms.cache.redis.yml | 1 + .azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml | 1 + .azuredevops/modulePipelines/ms.compute.availabilitysets.yml | 1 + .azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml | 1 + .azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml | 1 + .azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml | 1 + .azuredevops/modulePipelines/ms.network.applicationgateways.yml | 1 + .azuredevops/modulePipelines/ms.network.azurefirewalls.yml | 1 + 12 files changed, 12 insertions(+) diff --git a/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml b/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml index 1a24354aaa..4e4da9e102 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Authorization/policyAssignments/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml b/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml index 0b9668be2f..222bd82c84 100644 --- a/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml +++ b/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Authorization/roleAssignments/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml b/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml index b9cd9a11a3..c996d96503 100644 --- a/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml +++ b/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Automation/automationAccounts/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml b/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml index b085ce7068..c3efb484b2 100644 --- a/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml +++ b/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Batch/batchAccounts/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.cache.redis.yml b/.azuredevops/modulePipelines/ms.cache.redis.yml index 761d850596..163c298839 100644 --- a/.azuredevops/modulePipelines/ms.cache.redis.yml +++ b/.azuredevops/modulePipelines/ms.cache.redis.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Cache/Redis/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml b/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml index 5a1030849e..f55b3b522b 100644 --- a/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml +++ b/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.CognitiveServices/accounts/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml b/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml index 1821e0c160..f43da9d07d 100644 --- a/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml +++ b/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Compute/availabilitySets/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml b/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml index 0b5afc70ab..af5b7a4d34 100644 --- a/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml +++ b/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.DocumentDB/databaseAccounts/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml b/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml index e736940ddd..ff4cff5632 100644 --- a/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml +++ b/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.EventGrid/systemTopics/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml b/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml index 009da825ec..64d15f7046 100644 --- a/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml +++ b/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Insights/diagnosticSettings/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.network.applicationgateways.yml b/.azuredevops/modulePipelines/ms.network.applicationgateways.yml index f5f5159dba..0598fd93ab 100644 --- a/.azuredevops/modulePipelines/ms.network.applicationgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.applicationgateways.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Network/applicationGateways/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' diff --git a/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml b/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml index 30d3b1c5b6..e072131a7e 100644 --- a/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml +++ b/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml @@ -24,6 +24,7 @@ trigger: - '/modules/Microsoft.Network/azureFirewalls/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' variables: - template: '../../settings.yml' From ea597a13c4b29afd631a079b82a767de2184ae11 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 20:27:01 +0100 Subject: [PATCH 12/20] fix hb --- .azuredevops/modulePipelines/ms.healthbot.healthbots.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml b/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml index e62ae969f2..12ec38c76d 100644 --- a/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml +++ b/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml @@ -24,6 +24,10 @@ trigger: - '/modules/Microsoft.HealthBot/healthBots/*' - '/utilities/pipelines/*' exclude: + - '/**/*.md' + +variables: + - template: '../../settings.yml' - group: 'PLATFORM_VARIABLES' - name: modulePath value: '/modules/Microsoft.HealthBot/healthBots' From d61c1962fd503380026819096a87c7e527373073 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 20:31:00 +0100 Subject: [PATCH 13/20] fix ra new line --- .github/workflows/ms.authorization.roleassignments.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index bb5a084695..094195af13 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.Authorization/roleAssignments/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/roleAssignments' From b3b8b656fdc6c7a820e76ddf58d3a7f460d0fe62 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 20:32:09 +0100 Subject: [PATCH 14/20] fix des --- .github/workflows/ms.compute.diskencryptionsets.yml | 2 ++ .github/workflows/ms.compute.disks.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index 5a54b9ea0a..51c128ead2 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -22,6 +22,8 @@ on: - 'modules/Microsoft.Compute/diskEncryptionSets/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + +env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/diskEncryptionSets' workflowPath: '.github/workflows/ms.compute.diskencryptionsets.yml' diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index 46c11668d8..5c058ff86a 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.Compute/disks/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/disks' From 923d0a2837b6e0a2b1d2d1f31094c2213a714050 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 20:33:51 +0100 Subject: [PATCH 15/20] fix gh new lines --- .github/workflows/ms.compute.images.yml | 1 + .github/workflows/ms.compute.proximityplacementgroups.yml | 1 + .github/workflows/ms.consumption.budgets.yml | 1 + .github/workflows/ms.eventgrid.topics.yml | 1 + .github/workflows/ms.insights.metricalerts.yml | 1 + .github/workflows/ms.machinelearningservices.workspaces.yml | 1 + .github/workflows/ms.netapp.netappaccounts.yml | 1 + .github/workflows/ms.network.networkwatchers.yml | 1 + .github/workflows/ms.network.privatednszones.yml | 1 + 9 files changed, 9 insertions(+) diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index caf127afb0..55b3fe0c58 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.Compute/images/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/images' diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 86c890b847..e66297b108 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.Compute/proximityPlacementGroups/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/proximityPlacementGroups' diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index f2f0fe1ecd..2794a6f0be 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.Consumption/budgets/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Consumption/budgets' diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index dba211749a..85b1ff0ba1 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.EventGrid/topics/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/topics' diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index 298ab80067..ba92589523 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.Insights/metricAlerts/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/metricAlerts' diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index af993505b9..6aadd70d24 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.MachineLearningServices/workspaces/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.MachineLearningServices/workspaces' diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index 4c070fd3cd..77a8358716 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.NetApp/netAppAccounts/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.NetApp/netAppAccounts' diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index fb4bde1dc3..5a8d893a4a 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.Network/networkWatchers/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkWatchers' diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index 074771340b..0879955098 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -22,6 +22,7 @@ on: - 'modules/Microsoft.Network/privateDnsZones/**' - 'utilities/pipelines/**' - '!*/**/readme.md' + env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/privateDnsZones' From 1ff3335a0c1ac7f94dc067365243ccb043485553 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 26 Nov 2022 15:59:24 +0100 Subject: [PATCH 16/20] manual dependencies --- ... Scenario 2 Onboard module library and CI environment.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md b/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md index ba8f0308fd..1d2637456b 100644 --- a/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md +++ b/docs/wiki/Getting started - Scenario 2 Onboard module library and CI environment.md @@ -5,8 +5,8 @@ This requires several steps: 1. [Configure your Azure environment](#1-configure-your-azure-environment) 1. [Fork/clone the repository into your DevOps environment](#2-forkclone-the-repository-into-your-devops-environment) 1. [Configure the CI environment](#3-configure-the-ci-environment) -1. [Deploy dependencies](#4-deploy-dependencies) -1. [(Optional) Convert library to ARM](#6-optional-convert-library-to-arm) +1. [Manual dependencies](#4-manual-dependencies) +1. [(Optional) Convert library to ARM](#5-optional-convert-library-to-arm) Depending on the DevOps environment you choose (GitHub or Azure DevOps), make sure you also account for the specific requirements outlined below. @@ -367,7 +367,7 @@ Each `./azuredevops/modulePipelines` YAML pipeline already calls [`/.azuredevops

-# 4. Deploy dependencies +# 4. Manual dependencies In order to successfully deploy and test all modules in your desired environment, some modules require resources to be deployed beforehand. From f45f77583bf76f522c2b41d9c7d5acca7e420b3a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 26 Nov 2022 16:14:55 +0100 Subject: [PATCH 17/20] fetch s2 toc --- ...rio 2 Module library and CI environment.md | 40 ++++++++----------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md b/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md index f3cba8c604..f47cff4821 100644 --- a/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md +++ b/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md @@ -4,15 +4,13 @@ Depending on the DevOps environment you are using (GitHub or Azure DevOps) the n The update process is the following: -### _Navigation_ - -- [1. Backup your local copy of the library](#1-backup-your-local-copy-of-the-library) -- [2. Sync your copy of the library](#1-sync-your-copy-of-the-library) -- [3. (Optional) Convert library to ARM](#3-optional-convert-library-to-arm) -- [4. Apply specific settings to files](#4-apply-specific-settings-to-files) -- [5. (Optional) Customize modules and CI environment](#5-optional-customize-modules-and-ci-environment) -- [6. Run dependencies pipeline](#7-run-dependencies-pipeline) -- [7. Test and publish modules](#8-test-and-publish-modules) +1. [Backup your local copy of the library](#1-backup-your-local-copy-of-the-library) +1. [Sync your copy of the library](#2-sync-your-copy-of-the-library) +1. [Apply specific settings to files](#3-apply-specific-settings-to-files) +1. [(Optional) Convert library to ARM](#4-optional-convert-library-to-arm) +1. [Manual dependencies](#5-manual-dependencies) +1. [(Optional) Customize modules and CI environment](#6-optional-customize-modules-and-ci-environment) +1. [Test and publish modules](#7-test-and-publish-modules) # 1. Backup your local copy of the library @@ -51,32 +49,28 @@ Clone/download CARML repository to create a local copy of it, as explained in Az

-# 3. (Optional) Convert library to ARM - -Follow instructions in [(Optional) Convert library to ARM](./Getting%20started%20-%20Scenario%201%20Consume%20library#2-optional-convert-library-to-arm) - -# 4. Apply specific settings to files +# 3. Apply specific settings to files Personalize files with your specific settings: 1. [Update default name prefix](./Getting%20started%20-%20Scenario%202%20Onboard%20module%20library%20and%20CI%20environment#31-update-default-nameprefix) 1. Update settings file ([`settings.yml`](https://github.com/Azure/ResourceModules/blob/main/settings.yml)) as explained in [Set up variables file](./Getting%20started%20-%20Scenario%202%20Onboard%20module%20library%20and%20CI%20environment#322-set-up-variables-file) -# 5. (Optional) Customize modules and CI environment +# 4. (Optional) Convert library to ARM -The backup folder from step 1, can be used to compare your local copy with your synced copy coming from the latest version. For example, the `'Compare selected'` [function](https://vscode.one/diff-vscode/) in Visual Studio Code can be leveraged for that purpose. +Follow instructions in [(Optional) Convert library to ARM](./Getting%20started%20-%20Scenario%201%20Consume%20library#2-optional-convert-library-to-arm) -If your copy deviates from the upstream version due to customizations you applied to the code, you'll have to re-apply those customizations to the updated code. This process may be automated, by script or CI, if customization tasks are repeatable. +# 5. Manual dependencies -> **Note**: If customizations are general improvements which may be useful for the public, the recommendation is to [contribute](./Contribution%20guide) to the public CARML repository so that your updates can improve the public library. This way, your changes will already be available the next time you fetch from upstream, as modules would already been tested, and would not conflict with your customizations. +In special cases, manual actions may be required to provision certain resources whose deployment is not covered by the module test files. Based on the modules you require to test, follow the [Manual dependencies](./Getting%20started%20-%20Scenario%202%20Onboard%20module%20library%20and%20CI%20environment#4-manual-dependencies) guidance. -# 6. Update module test files +# 6. (Optional) Customize modules and CI environment -Follow the [Update module test files](./Getting%20started%20-%20Scenario%202%20Onboard%20module%20library%20and%20CI%20environment#5-update-module-test-files) procedure +The backup folder from step 1, can be used to compare your local copy with your synced copy coming from the latest version. For example, the `'Compare selected'` [function](https://vscode.one/diff-vscode/) in Visual Studio Code can be leveraged for that purpose. -# 7. Run dependencies pipeline +If your copy deviates from the upstream version due to customizations you applied to the code, you'll have to re-apply those customizations to the updated code. This process may be automated, by script or CI, if customization tasks are repeatable. -Refer to the [Deploy dependencies](././Getting%20started%20-%20Scenario%202%20Onboard%20module%20library%20and%20CI%20environment#4-deploy-dependencies) section to run the '*dependencies pipeline*' and update dependencies configuration in your environment. +> **Note**: If customizations are general improvements which may be useful for the public, the recommendation is to [contribute](./Contribution%20guide) to the public CARML repository so that your updates can improve the public library. This way, your changes will already be available the next time you fetch from upstream, as modules would already been tested, and would not conflict with your customizations. -# 8. Test and publish modules +# 7. Test and publish modules Push the updated local code to your remote repository. If actions are enabled, test and publishing of modules will start automatically. From 52d2fd67029aaf537bcbcbe8a00fdc8d5c22fb25 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 26 Nov 2022 16:15:56 +0100 Subject: [PATCH 18/20] start s1 toc --- docs/wiki/Getting started - Scenario 1 Consume library.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/wiki/Getting started - Scenario 1 Consume library.md b/docs/wiki/Getting started - Scenario 1 Consume library.md index b17355409b..229a667770 100644 --- a/docs/wiki/Getting started - Scenario 1 Consume library.md +++ b/docs/wiki/Getting started - Scenario 1 Consume library.md @@ -1,9 +1,9 @@ In case you want to simply consume the modules of the library to build a solution, you only have to perform a few simple steps: -- [1. Download the library](#1-download-the-library) -- [2. (Optional) Convert library to ARM](#2-optional-convert-library-to-arm) -- [3. Test and publish modules](#3-test-and-publish-modules) -- [4. Build a solution](#4-build-a-solution) +1. [Download the library](#1-download-the-library) +1. [(Optional) Convert library to ARM](#2-optional-convert-library-to-arm) +1. [Test and publish modules](#3-test-and-publish-modules) +1. [Build a solution](#4-build-a-solution) # 1. Download the library From 8a85bcd3f955a5f77032430b4c4ec8bfceb424e4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 26 Nov 2022 16:17:45 +0100 Subject: [PATCH 19/20] fetch s1 toc --- ...ng latest changes - Scenario 1 Consume library.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/wiki/Fetching latest changes - Scenario 1 Consume library.md b/docs/wiki/Fetching latest changes - Scenario 1 Consume library.md index 9fa7ac0d04..68a55684f2 100644 --- a/docs/wiki/Fetching latest changes - Scenario 1 Consume library.md +++ b/docs/wiki/Fetching latest changes - Scenario 1 Consume library.md @@ -4,13 +4,11 @@ Modules can be stored in an accessible location like local, Template Specs, Bice The update process is the following: -### _Navigation_ - -- [1. Backup your local copy of the library](#1-backup-your-local-copy-of-the-library) -- [2. Download the library](#2-download-the-library) -- [3. (Optional) Convert library to ARM](#3-optional-convert-library-to-arm) -- [4. (Optional) Customize modules](#4-optional-customize-modules) -- [5. Test and publish modules](#5-test-and-publish-modules) +1. [Backup your local copy of the library](#1-backup-your-local-copy-of-the-library) +1. [Download the library](#2-download-the-library) +1. [(Optional) Convert library to ARM](#3-optional-convert-library-to-arm) +1. [(Optional) Customize modules](#4-optional-customize-modules) +1. [Test and publish modules](#5-test-and-publish-modules) # 1. Backup your local copy of the library From a86e3fe37789d71f3910307a61491854f5b79bb8 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 26 Nov 2022 16:23:31 +0100 Subject: [PATCH 20/20] command-line --- ...st changes - Scenario 2 Module library and CI environment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md b/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md index f47cff4821..f7ee95d28a 100644 --- a/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md +++ b/docs/wiki/Fetching latest changes - Scenario 2 Module library and CI environment.md @@ -23,7 +23,7 @@ Rename your local repository. Assuming the local repository location is `'D:\Res You have a public fork of public CARML source repository in your target organization. -1. Keep your fork synced to the fork upstream repository, on the GitHub web UI or through the GitHub CLI or the command line, as explaind in [Syncing a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) documentation. +1. Keep your fork synced to the fork upstream repository, on the GitHub web UI or through the GitHub CLI or the command-line, as explaind in [Syncing a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) documentation. 1. Sync your local copy of the fork taking care of eventual customizations you can have in place.