From a8030e2c497283c6ecf36ebfa9d7332aa5219f17 Mon Sep 17 00:00:00 2001 From: Erika Gressi <56914614+eriqua@users.noreply.github.com> Date: Sat, 14 Dec 2024 11:47:59 +0100 Subject: [PATCH] ci: Move utilities folder out of avm folder (#3803) ## Description Closes #3905 'avm' 'utilities' -> 'utilities' avm\utilities -> utilities avm/utilities -> utilities ../../../../../../utilities/ -> ../../../../../../../utilities/ Remove one nesting: $RepoRoot = (Get-Item -Path $PSScriptRoot).parent -> $RepoRoot = (Get-Item -Path $PSScriptRoot) $RepoRootPath = (Get-Item $PSScriptRoot).Parent -> $RepoRootPath = (Get-Item -Path $PSScriptRoot) ## Pipeline Reference | Pipeline (e2e validation) | | -------- | | [![avm.res.compute.availability-set](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.availability-set.yml/badge.svg?event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.availability-set.yml) | | Pipeline (static only) | | -------- | | [![avm.ptn.aca-lza.hosting-environment](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.aca-lza.hosting-environment.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.aca-lza.hosting-environment.yml) [![avm.ptn.ai-platform.baseline](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.ai-platform.baseline.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.ai-platform.baseline.yml) [![avm.ptn.authorization.policy-assignment](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.authorization.policy-assignment.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.authorization.policy-assignment.yml) [![avm.ptn.authorization.resource-role-assignment](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.authorization.resource-role-assignment.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.authorization.resource-role-assignment.yml) [![avm.ptn.authorization.role-assignment](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.authorization.role-assignment.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.authorization.role-assignment.yml) [![avm.ptn.azd.acr-container-app](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.acr-container-app.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.acr-container-app.yml) [![avm.ptn.azd.aks](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.aks.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.aks.yml) [![avm.ptn.azd.apim-api](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.apim-api.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.apim-api.yml) [![avm.ptn.azd.container-app-upsert](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.container-app-upsert.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.container-app-upsert.yml) [![avm.ptn.azd.container-apps-stack](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.container-apps-stack.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.container-apps-stack.yml) [![avm.ptn.azd.insights-dashboard](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.insights-dashboard.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.insights-dashboard.yml) [![avm.ptn.azd.ml-ai-environment](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.ml-ai-environment.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.ml-ai-environment.yml) [![avm.ptn.azd.ml-hub-dependencies](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.ml-hub-dependencies.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.ml-hub-dependencies.yml) [![avm.ptn.azd.ml-project](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.ml-project.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.ml-project.yml) [![avm.ptn.azd.monitoring](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.monitoring.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.azd.monitoring.yml) [![avm.ptn.data.private-analytical-workspace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.data.private-analytical-workspace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.data.private-analytical-workspace.yml) [![avm.ptn.deployment-script.import-image-to-acr](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.deployment-script.import-image-to-acr.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.deployment-script.import-image-to-acr.yml) [![avm.ptn.dev-ops.cicd-agents-and-runners](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.dev-ops.cicd-agents-and-runners.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.dev-ops.cicd-agents-and-runners.yml) [![avm.ptn.finops-toolkit.finops-hub](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.finops-toolkit.finops-hub.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.finops-toolkit.finops-hub.yml) [![avm.ptn.lz.sub-vending](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.lz.sub-vending.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.lz.sub-vending.yml) [![avm.ptn.network.hub-networking](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.network.hub-networking.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.network.hub-networking.yml) [![avm.ptn.network.private-link-private-dns-zones](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.network.private-link-private-dns-zones.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.network.private-link-private-dns-zones.yml) [![avm.ptn.policy-insights.remediation](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.policy-insights.remediation.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.policy-insights.remediation.yml) [![avm.ptn.security.security-center](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.security.security-center.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.security.security-center.yml) [![avm.ptn.virtual-machine-images.azure-image-builder](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.virtual-machine-images.azure-image-builder.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.ptn.virtual-machine-images.azure-image-builder.yml) [![avm.res.aad.domain-service](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.aad.domain-service.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.aad.domain-service.yml) [![avm.res.alerts-management.action-rule](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.alerts-management.action-rule.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.alerts-management.action-rule.yml) [![avm.res.analysis-services.server](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.analysis-services.server.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.analysis-services.server.yml) [![avm.res.api-management.service](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.api-management.service.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.api-management.service.yml) [![avm.res.app-configuration.configuration-store](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.app-configuration.configuration-store.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.app-configuration.configuration-store.yml) [![avm.res.app.container-app](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.app.container-app.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.app.container-app.yml) [![avm.res.app.job](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.app.job.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.app.job.yml) [![avm.res.app.managed-environment](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.app.managed-environment.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.app.managed-environment.yml) [![avm.res.automation.automation-account](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.automation.automation-account.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.automation.automation-account.yml) [![avm.res.batch.batch-account](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.batch.batch-account.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.batch.batch-account.yml) [![avm.res.cache.redis](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.cache.redis.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.cache.redis.yml) [![avm.res.cdn.profile](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.cdn.profile.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.cdn.profile.yml) [![avm.res.cognitive-services.account](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.cognitive-services.account.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.cognitive-services.account.yml) [![avm.res.communication.communication-service](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.communication.communication-service.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.communication.communication-service.yml) [![avm.res.communication.email-service](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.communication.email-service.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.communication.email-service.yml) [![avm.res.compute.availability-set](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.availability-set.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.availability-set.yml) [![avm.res.compute.disk-encryption-set](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.disk-encryption-set.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.disk-encryption-set.yml) [![avm.res.compute.disk](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.disk.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.disk.yml) [![avm.res.compute.gallery](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.gallery.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.gallery.yml) [![avm.res.compute.image](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.image.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.image.yml) [![avm.res.compute.proximity-placement-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.proximity-placement-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.proximity-placement-group.yml) [![avm.res.compute.ssh-public-key](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.ssh-public-key.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.ssh-public-key.yml) [![avm.res.compute.virtual-machine-scale-set](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.virtual-machine-scale-set.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.virtual-machine-scale-set.yml) [![avm.res.compute.virtual-machine](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.virtual-machine.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.compute.virtual-machine.yml) [![avm.res.consumption.budget](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.consumption.budget.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.consumption.budget.yml) [![avm.res.container-instance.container-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.container-instance.container-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.container-instance.container-group.yml) [![avm.res.container-registry.registry](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.container-registry.registry.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.container-registry.registry.yml) [![avm.res.container-service.managed-cluster](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.container-service.managed-cluster.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.container-service.managed-cluster.yml) [![avm.res.data-factory.factory](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.data-factory.factory.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.data-factory.factory.yml) [![avm.res.data-protection.backup-vault](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.data-protection.backup-vault.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.data-protection.backup-vault.yml) [![avm.res.databricks.access-connector](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.databricks.access-connector.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.databricks.access-connector.yml) [![avm.res.databricks.workspace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.databricks.workspace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.databricks.workspace.yml) [![avm.res.db-for-my-sql.flexible-server](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.db-for-my-sql.flexible-server.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.db-for-my-sql.flexible-server.yml) [![avm.res.db-for-postgre-sql.flexible-server](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.db-for-postgre-sql.flexible-server.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.db-for-postgre-sql.flexible-server.yml) [![avm.res.desktop-virtualization.application-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.desktop-virtualization.application-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.desktop-virtualization.application-group.yml) [![avm.res.desktop-virtualization.host-pool](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.desktop-virtualization.host-pool.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.desktop-virtualization.host-pool.yml) [![avm.res.desktop-virtualization.scaling-plan](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.desktop-virtualization.scaling-plan.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.desktop-virtualization.scaling-plan.yml) [![avm.res.desktop-virtualization.workspace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.desktop-virtualization.workspace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.desktop-virtualization.workspace.yml) [![avm.res.dev-ops-infrastructure.pool](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.dev-ops-infrastructure.pool.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.dev-ops-infrastructure.pool.yml) [![avm.res.dev-test-lab.lab](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.dev-test-lab.lab.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.dev-test-lab.lab.yml) [![avm.res.digital-twins.digital-twins-instance](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.digital-twins.digital-twins-instance.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.digital-twins.digital-twins-instance.yml) [![avm.res.document-db.database-account](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.document-db.database-account.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.document-db.database-account.yml) [![avm.res.document-db.mongo-cluster](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.document-db.mongo-cluster.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.document-db.mongo-cluster.yml) [![avm.res.event-grid.domain](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-grid.domain.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-grid.domain.yml) [![avm.res.event-grid.namespace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-grid.namespace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-grid.namespace.yml) [![avm.res.event-grid.system-topic](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-grid.system-topic.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-grid.system-topic.yml) [![avm.res.event-grid.topic](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-grid.topic.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-grid.topic.yml) [![avm.res.event-hub.namespace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-hub.namespace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.event-hub.namespace.yml) [![avm.res.fabric.capacity](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.fabric.capacity.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.fabric.capacity.yml) [![avm.res.health-bot.health-bot](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.health-bot.health-bot.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.health-bot.health-bot.yml) [![avm.res.healthcare-apis.workspace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.healthcare-apis.workspace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.healthcare-apis.workspace.yml) [![avm.res.hybrid-compute.machine](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.hybrid-compute.machine.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.hybrid-compute.machine.yml) [![avm.res.insights.action-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.action-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.action-group.yml) [![avm.res.insights.activity-log-alert](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.activity-log-alert.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.activity-log-alert.yml) [![avm.res.insights.component](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.component.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.component.yml) [![avm.res.insights.data-collection-endpoint](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.data-collection-endpoint.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.data-collection-endpoint.yml) [![avm.res.insights.data-collection-rule](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.data-collection-rule.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.data-collection-rule.yml) [![avm.res.insights.diagnostic-setting](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.diagnostic-setting.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.diagnostic-setting.yml) [![avm.res.insights.metric-alert](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.metric-alert.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.metric-alert.yml) [![avm.res.insights.private-link-scope](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.private-link-scope.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.private-link-scope.yml) [![avm.res.insights.scheduled-query-rule](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.scheduled-query-rule.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.scheduled-query-rule.yml) [![avm.res.insights.webtest](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.webtest.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.webtest.yml) [![avm.res.key-vault.vault](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.key-vault.vault.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.key-vault.vault.yml) [![avm.res.kubernetes-configuration.extension](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.kubernetes-configuration.extension.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.kubernetes-configuration.extension.yml) [![avm.res.kubernetes-configuration.flux-configuration](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.kubernetes-configuration.flux-configuration.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.kubernetes-configuration.flux-configuration.yml) [![avm.res.kusto.cluster](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.kusto.cluster.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.kusto.cluster.yml) [![avm.res.load-test-service.load-test](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.load-test-service.load-test.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.load-test-service.load-test.yml) [![avm.res.logic.workflow](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.logic.workflow.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.logic.workflow.yml) [![avm.res.machine-learning-services.workspace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.machine-learning-services.workspace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.machine-learning-services.workspace.yml) [![avm.res.maintenance.maintenance-configuration](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.maintenance.maintenance-configuration.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.maintenance.maintenance-configuration.yml) [![avm.res.managed-identity.user-assigned-identity](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.managed-identity.user-assigned-identity.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.managed-identity.user-assigned-identity.yml) [![avm.res.managed-services.registration-definition](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.managed-services.registration-definition.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.managed-services.registration-definition.yml) [![avm.res.management.management-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.management.management-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.management.management-group.yml) [![avm.res.net-app.net-app-account](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.net-app.net-app-account.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.net-app.net-app-account.yml) [![avm.res.network.application-gateway-web-application-firewall-policy](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.application-gateway-web-application-firewall-policy.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.application-gateway-web-application-firewall-policy.yml) [![avm.res.network.application-gateway](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.application-gateway.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.application-gateway.yml) [![avm.res.network.application-security-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.application-security-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.application-security-group.yml) [![avm.res.network.azure-firewall](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.azure-firewall.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.azure-firewall.yml) [![avm.res.network.bastion-host](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.bastion-host.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.bastion-host.yml) [![avm.res.network.connection](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.connection.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.connection.yml) [![avm.res.network.ddos-protection-plan](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.ddos-protection-plan.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.ddos-protection-plan.yml) [![avm.res.network.dns-forwarding-ruleset](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.dns-forwarding-ruleset.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.dns-forwarding-ruleset.yml) [![avm.res.network.dns-resolver](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.dns-resolver.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.dns-resolver.yml) [![avm.res.network.dns-zone](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.dns-zone.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.dns-zone.yml) [![avm.res.network.express-route-circuit](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.express-route-circuit.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.express-route-circuit.yml) [![avm.res.network.express-route-gateway](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.express-route-gateway.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.express-route-gateway.yml) [![avm.res.network.firewall-policy](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.firewall-policy.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.firewall-policy.yml) [![avm.res.network.front-door-web-application-firewall-policy](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.front-door-web-application-firewall-policy.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.front-door-web-application-firewall-policy.yml) [![avm.res.network.front-door](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.front-door.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.front-door.yml) [![avm.res.network.ip-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.ip-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.ip-group.yml) [![avm.res.network.load-balancer](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.load-balancer.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.load-balancer.yml) [![avm.res.network.local-network-gateway](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.local-network-gateway.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.local-network-gateway.yml) [![avm.res.network.nat-gateway](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.nat-gateway.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.nat-gateway.yml) [![avm.res.network.network-interface](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.network-interface.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.network-interface.yml) [![avm.res.network.network-manager](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.network-manager.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.network-manager.yml) [![avm.res.network.network-security-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.network-security-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.network-security-group.yml) [![avm.res.network.network-watcher](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.network-watcher.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.network-watcher.yml) [![avm.res.network.private-dns-zone](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.private-dns-zone.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.private-dns-zone.yml) [![avm.res.network.private-endpoint](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.private-endpoint.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.private-endpoint.yml) [![avm.res.network.private-link-service](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.private-link-service.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.private-link-service.yml) [![avm.res.network.public-ip-address](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.public-ip-address.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.public-ip-address.yml) [![avm.res.network.public-ip-prefix](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.public-ip-prefix.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.public-ip-prefix.yml) [![avm.res.network.route-table](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.route-table.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.route-table.yml) [![avm.res.network.service-endpoint-policy](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.service-endpoint-policy.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.service-endpoint-policy.yml) [![avm.res.network.trafficmanagerprofile](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.trafficmanagerprofile.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.trafficmanagerprofile.yml) [![avm.res.network.virtual-hub](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.virtual-hub.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.virtual-hub.yml) [![avm.res.network.virtual-network-gateway](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.virtual-network-gateway.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.virtual-network-gateway.yml) [![avm.res.network.virtual-network](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.virtual-network.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.virtual-network.yml) [![avm.res.network.virtual-wan](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.virtual-wan.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.virtual-wan.yml) [![avm.res.network.vpn-gateway](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.vpn-gateway.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.vpn-gateway.yml) [![avm.res.network.vpn-server-configuration](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.vpn-server-configuration.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.vpn-server-configuration.yml) [![avm.res.network.vpn-site](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.vpn-site.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.network.vpn-site.yml) [![avm.res.operational-insights.workspace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.operational-insights.workspace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.operational-insights.workspace.yml) [![avm.res.operations-management.solution](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.operations-management.solution.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.operations-management.solution.yml) [![avm.res.portal.dashboard](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.portal.dashboard.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.portal.dashboard.yml) [![avm.res.power-bi-dedicated.capacity](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.power-bi-dedicated.capacity.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.power-bi-dedicated.capacity.yml) [![avm.res.purview.account](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.purview.account.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.purview.account.yml) [![avm.res.recovery-services.vault](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.recovery-services.vault.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.recovery-services.vault.yml) [![avm.res.relay.namespace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.relay.namespace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.relay.namespace.yml) [![avm.res.resource-graph.query](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.resource-graph.query.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.resource-graph.query.yml) [![avm.res.resources.deployment-script](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.resources.deployment-script.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.resources.deployment-script.yml) [![avm.res.resources.resource-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.resources.resource-group.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.resources.resource-group.yml) [![avm.res.search.search-service](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.search.search-service.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.search.search-service.yml) [![avm.res.service-bus.namespace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.service-bus.namespace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.service-bus.namespace.yml) [![avm.res.service-fabric.cluster](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.service-fabric.cluster.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.service-fabric.cluster.yml) [![avm.res.service-networking.traffic-controller](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.service-networking.traffic-controller.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.service-networking.traffic-controller.yml) [![avm.res.signal-r-service.signal-r](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.signal-r-service.signal-r.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.signal-r-service.signal-r.yml) [![avm.res.signal-r-service.web-pub-sub](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.signal-r-service.web-pub-sub.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.signal-r-service.web-pub-sub.yml) [![avm.res.sql.instance-pool](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.sql.instance-pool.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.sql.instance-pool.yml) [![avm.res.sql.managed-instance](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.sql.managed-instance.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.sql.managed-instance.yml) [![avm.res.sql.server](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.sql.server.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.sql.server.yml) [![avm.res.storage.storage-account](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.storage.storage-account.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.storage.storage-account.yml) [![avm.res.synapse.private-link-hub](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.synapse.private-link-hub.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.synapse.private-link-hub.yml) [![avm.res.synapse.workspace](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.synapse.workspace.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.synapse.workspace.yml) [![avm.res.virtual-machine-images.image-template](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.virtual-machine-images.image-template.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.virtual-machine-images.image-template.yml) [![avm.res.web.connection](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.connection.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.connection.yml) [![avm.res.web.hosting-environment](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.hosting-environment.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.hosting-environment.yml) [![avm.res.web.serverfarm](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.serverfarm.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.serverfarm.yml) [![avm.res.web.site](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.site.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.site.yml) [![avm.res.web.static-site](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.static-site.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.web.static-site.yml) [![avm.utl.types.avm-common-types](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.utl.types.avm-common-types.yml/badge.svg?branch=move-utilities&event=workflow_dispatch)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.utl.types.avm-common-types.yml) | ## Type of Change - [ ] Update to CI Environment or utilities (Non-module affecting changes) - [ ] Azure Verified Module updates: - [ ] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [ ] Update to documentation ## Checklist - [ ] I'm sure there are no other open Pull Requests for the same update/change - [ ] I have run `Set-AVMModule` locally to generate the supporting module files. - [ ] My corresponding pipelines / checks run clean and green without any errors or warnings --------- Co-authored-by: Alexander Sehr --- .../templates/avm-getWorkflowInput/action.yml | 2 +- .../templates/avm-publishModule/action.yml | 4 +- .../templates/avm-setEnvironment/action.yml | 2 +- .../avm-validateModuleDeployment/action.yml | 14 +- .../avm-validateModulePSRule/action.yml | 6 +- .../avm-validateModulePester/action.yml | 4 +- .../avm.ptn.aca-lza.hosting-environment.yml | 4 +- .../avm.ptn.ai-platform.baseline.yml | 4 +- ...vm.ptn.authorization.policy-assignment.yml | 4 +- ...authorization.resource-role-assignment.yml | 4 +- .../avm.ptn.authorization.role-assignment.yml | 4 +- .../avm.ptn.azd.acr-container-app.yml | 4 +- .github/workflows/avm.ptn.azd.aks.yml | 4 +- .../avm.ptn.azd.container-app-upsert.yml | 4 +- .../avm.ptn.azd.container-apps-stack.yml | 4 +- .../avm.ptn.azd.insights-dashboard.yml | 6 +- .../avm.ptn.azd.ml-ai-environment.yml | 6 +- .../avm.ptn.azd.ml-hub-dependencies.yml | 6 +- .github/workflows/avm.ptn.azd.ml-project.yml | 6 +- .github/workflows/avm.ptn.azd.monitoring.yml | 6 +- ....ptn.data.private-analytical-workspace.yml | 4 +- ....deployment-script.import-image-to-acr.yml | 4 +- ...vm.ptn.dev-ops.cicd-agents-and-runners.yml | 4 +- .../avm.ptn.finops-toolkit.finops-hub.yml | 4 +- .github/workflows/avm.ptn.lz.sub-vending.yml | 4 +- .../avm.ptn.network.hub-networking.yml | 4 +- ...network.private-link-private-dns-zones.yml | 4 +- .../avm.ptn.policy-insights.remediation.yml | 6 +- .../avm.ptn.security.security-center.yml | 4 +- ...ual-machine-images.azure-image-builder.yml | 4 +- .../workflows/avm.res.aad.domain-service.yml | 4 +- .../avm.res.alerts-management.action-rule.yml | 4 +- .../avm.res.analysis-services.server.yml | 4 +- .../avm.res.api-management.service.yml | 4 +- ....app-configuration.configuration-store.yml | 4 +- .../workflows/avm.res.app.container-app.yml | 4 +- .github/workflows/avm.res.app.job.yml | 4 +- .../avm.res.app.managed-environment.yml | 4 +- .../avm.res.automation.automation-account.yml | 4 +- .../workflows/avm.res.batch.batch-account.yml | 4 +- .github/workflows/avm.res.cache.redis.yml | 4 +- .github/workflows/avm.res.cdn.profile.yml | 4 +- .../avm.res.cognitive-services.account.yml | 4 +- ...es.communication.communication-service.yml | 4 +- .../avm.res.communication.email-service.yml | 4 +- .../avm.res.compute.availability-set.yml | 4 +- .../avm.res.compute.disk-encryption-set.yml | 4 +- .github/workflows/avm.res.compute.disk.yml | 4 +- .github/workflows/avm.res.compute.gallery.yml | 4 +- .github/workflows/avm.res.compute.image.yml | 4 +- ....res.compute.proximity-placement-group.yml | 4 +- .../avm.res.compute.ssh-public-key.yml | 4 +- ....res.compute.virtual-machine-scale-set.yml | 4 +- .../avm.res.compute.virtual-machine.yml | 4 +- .../workflows/avm.res.consumption.budget.yml | 4 +- ...res.container-instance.container-group.yml | 4 +- .../avm.res.container-registry.registry.yml | 4 +- ....res.container-service.managed-cluster.yml | 4 +- .../avm.res.data-factory.factory.yml | 4 +- .../avm.res.data-protection.backup-vault.yml | 4 +- .../avm.res.databricks.access-connector.yml | 4 +- .../avm.res.databricks.workspace.yml | 4 +- .../avm.res.db-for-my-sql.flexible-server.yml | 4 +- ...res.db-for-postgre-sql.flexible-server.yml | 4 +- ...sktop-virtualization.application-group.yml | 4 +- ...m.res.desktop-virtualization.host-pool.yml | 4 +- ...es.desktop-virtualization.scaling-plan.yml | 4 +- ...m.res.desktop-virtualization.workspace.yml | 4 +- .../avm.res.dev-ops-infrastructure.pool.yml | 4 +- .../workflows/avm.res.dev-test-lab.lab.yml | 4 +- ...s.digital-twins.digital-twins-instance.yml | 4 +- .../avm.res.document-db.database-account.yml | 4 +- .../avm.res.document-db.mongo-cluster.yml | 4 +- .../avm.res.elastic-san.elastic-san.yml | 4 +- .../workflows/avm.res.event-grid.domain.yml | 4 +- .../avm.res.event-grid.namespace.yml | 4 +- .../avm.res.event-grid.system-topic.yml | 4 +- .../workflows/avm.res.event-grid.topic.yml | 4 +- .../workflows/avm.res.event-hub.namespace.yml | 4 +- .github/workflows/avm.res.fabric.capacity.yml | 4 +- .../avm.res.health-bot.health-bot.yml | 4 +- .../avm.res.healthcare-apis.workspace.yml | 4 +- .../avm.res.hybrid-compute.machine.yml | 4 +- .../avm.res.insights.action-group.yml | 4 +- .../avm.res.insights.activity-log-alert.yml | 4 +- .../workflows/avm.res.insights.component.yml | 4 +- ....res.insights.data-collection-endpoint.yml | 4 +- .../avm.res.insights.data-collection-rule.yml | 4 +- .../avm.res.insights.diagnostic-setting.yml | 4 +- .../avm.res.insights.metric-alert.yml | 4 +- .../avm.res.insights.private-link-scope.yml | 4 +- .../avm.res.insights.scheduled-query-rule.yml | 4 +- .../workflows/avm.res.insights.webtest.yml | 4 +- .github/workflows/avm.res.key-vault.vault.yml | 4 +- ...res.kubernetes-configuration.extension.yml | 4 +- ...netes-configuration.flux-configuration.yml | 4 +- .github/workflows/avm.res.kusto.cluster.yml | 4 +- .../avm.res.load-test-service.load-test.yml | 4 +- .github/workflows/avm.res.logic.workflow.yml | 4 +- ...es.machine-learning-services.workspace.yml | 4 +- ....maintenance.maintenance-configuration.yml | 4 +- ...anaged-identity.user-assigned-identity.yml | 4 +- ...naged-services.registration-definition.yml | 4 +- .../avm.res.management.management-group.yml | 4 +- .../avm.res.net-app.net-app-account.yml | 4 +- ...ateway-web-application-firewall-policy.yml | 4 +- .../avm.res.network.application-gateway.yml | 4 +- ...res.network.application-security-group.yml | 4 +- .../avm.res.network.azure-firewall.yml | 4 +- .../avm.res.network.bastion-host.yml | 4 +- .../workflows/avm.res.network.connection.yml | 4 +- .../avm.res.network.ddos-protection-plan.yml | 4 +- ...avm.res.network.dns-forwarding-ruleset.yml | 4 +- .../avm.res.network.dns-resolver.yml | 4 +- .../workflows/avm.res.network.dns-zone.yml | 4 +- .../avm.res.network.express-route-circuit.yml | 4 +- .../avm.res.network.express-route-gateway.yml | 4 +- .../avm.res.network.firewall-policy.yml | 4 +- ...t-door-web-application-firewall-policy.yml | 4 +- .../workflows/avm.res.network.front-door.yml | 4 +- .../workflows/avm.res.network.ip-group.yml | 4 +- .../avm.res.network.load-balancer.yml | 4 +- .../avm.res.network.local-network-gateway.yml | 4 +- .../workflows/avm.res.network.nat-gateway.yml | 4 +- .../avm.res.network.network-interface.yml | 4 +- .../avm.res.network.network-manager.yml | 4 +- ...avm.res.network.network-security-group.yml | 4 +- .../avm.res.network.network-watcher.yml | 4 +- .../avm.res.network.private-dns-zone.yml | 4 +- .../avm.res.network.private-endpoint.yml | 4 +- .../avm.res.network.private-link-service.yml | 4 +- .../avm.res.network.public-ip-address.yml | 4 +- .../avm.res.network.public-ip-prefix.yml | 4 +- .../workflows/avm.res.network.route-table.yml | 4 +- ...vm.res.network.service-endpoint-policy.yml | 4 +- .../avm.res.network.trafficmanagerprofile.yml | 4 +- .../workflows/avm.res.network.virtual-hub.yml | 4 +- ...vm.res.network.virtual-network-gateway.yml | 4 +- .../avm.res.network.virtual-network.yml | 4 +- .../workflows/avm.res.network.virtual-wan.yml | 4 +- .../workflows/avm.res.network.vpn-gateway.yml | 4 +- ...m.res.network.vpn-server-configuration.yml | 4 +- .../workflows/avm.res.network.vpn-site.yml | 4 +- ...avm.res.operational-insights.workspace.yml | 4 +- ...avm.res.operations-management.solution.yml | 4 +- .../workflows/avm.res.portal.dashboard.yml | 4 +- .../avm.res.power-bi-dedicated.capacity.yml | 4 +- .github/workflows/avm.res.purview.account.yml | 4 +- .../avm.res.recovery-services.vault.yml | 4 +- .github/workflows/avm.res.relay.namespace.yml | 4 +- .../avm.res.resource-graph.query.yml | 4 +- .../avm.res.resources.deployment-script.yml | 4 +- .../avm.res.resources.resource-group.yml | 4 +- .../avm.res.search.search-service.yml | 4 +- .../avm.res.service-bus.namespace.yml | 4 +- .../avm.res.service-fabric.cluster.yml | 4 +- ....service-networking.traffic-controller.yml | 4 +- .../avm.res.signal-r-service.signal-r.yml | 4 +- .../avm.res.signal-r-service.web-pub-sub.yml | 4 +- .../workflows/avm.res.sql.instance-pool.yml | 4 +- .../avm.res.sql.managed-instance.yml | 4 +- .github/workflows/avm.res.sql.server.yml | 4 +- .../avm.res.storage.storage-account.yml | 4 +- .../avm.res.synapse.private-link-hub.yml | 4 +- .../workflows/avm.res.synapse.workspace.yml | 4 +- ....virtual-machine-images.image-template.yml | 4 +- .github/workflows/avm.res.web.connection.yml | 4 +- .../avm.res.web.hosting-environment.yml | 4 +- .github/workflows/avm.res.web.serverfarm.yml | 4 +- .github/workflows/avm.res.web.site.yml | 4 +- .github/workflows/avm.res.web.static-site.yml | 4 +- .github/workflows/avm.template.module.yml | 8 +- .../avm.utl.types.avm-common-types.yml | 4 +- .github/workflows/platform.check.psrule.yml | 8 +- .github/workflows/platform.ci-tests.yml | 6 +- .../platform.deployment.history.cleanup.yml | 4 +- .../platform.manage-workflow-issue.yml | 2 +- .../platform.publish-module-index-json.yml | 2 +- .github/workflows/platform.publish-tag.yml | 4 +- ...form.set-avm-github-issue-owner-config.yml | 2 +- .../platform.set-avm-github-pr-labels.yml | 2 +- .../platform.sync-avm-modules-list.yml | 2 +- .../platform.toggle-avm-workflows.yml | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/no-addons/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../e2e/deployOnlyImage/dependencies.bicep | 2 +- .../tests/e2e/waf-aligned/dependencies.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../server/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../service/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/dependencies.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../cache/redis/tests/e2e/max/main.test.bicep | 2 +- .../dependencies1.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../account/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../disk/tests/e2e/import/dependencies.bicep | 4 +- .../tests/e2e/defaults/dependencies.bicep | 4 +- .../image/tests/e2e/max/dependencies.bicep | 4 +- .../tests/e2e/waf-aligned/dependencies.bicep | 4 +- .../tests/e2e/max/dependencies.bicep | 2 +- .../tests/e2e/waf-aligned/dependencies.bicep | 2 +- .../e2e/linux.defaults/dependencies.bicep | 2 +- .../tests/e2e/linux.max/dependencies.bicep | 4 +- .../tests/e2e/linux.max/main.test.bicep | 2 +- .../tests/e2e/linux.ssecmk/dependencies.bicep | 2 +- .../tests/e2e/windows.max/dependencies.bicep | 2 +- .../tests/e2e/windows.max/main.test.bicep | 2 +- .../windows.waf-aligned/dependencies.bicep | 2 +- .../e2e/windows.waf-aligned/main.test.bicep | 2 +- .../tests/e2e/atmg/dependencies.bicep | 2 +- .../e2e/linux.defaults/dependencies.bicep | 2 +- .../tests/e2e/linux.max/dependencies.bicep | 4 +- .../tests/e2e/linux.max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/dependencies.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../e2e/windows.hostpool/dependencies.bicep | 2 +- .../tests/e2e/windows.max/dependencies.bicep | 2 +- .../tests/e2e/windows.max/main.test.bicep | 2 +- .../tests/unit/avm.core.team.tests.ps1 | 2 +- .../registry/tests/e2e/max/dependencies.bicep | 2 +- .../registry/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/dependencies.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/azure/main.test.bicep | 2 +- .../tests/e2e/kubenet/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../factory/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../workspace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/dependencies1.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/private/main.test.bicep | 2 +- .../tests/e2e/public/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../host-pool/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../workspace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/dependencies.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../elastic-san/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../domain/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../namespace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/defaults/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../topic/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../namespace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../workspace/tests/e2e/max/main.test.bicep | 2 +- .../component/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/defaults/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../vault/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../workflow/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../workspace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/dependencies.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/dependencies.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/custompip/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/custompip/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../front-door/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/defaults/main.test.bicep | 2 +- .../tests/e2e/external/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../nat-gateway/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/unit/avm.core.team.tests.ps1 | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 8 +- .../tests/e2e/waf-aligned/main.test.bicep | 8 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../workspace/tests/e2e/adv/main.test.bicep | 2 +- .../workspace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../account/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../vault/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../namespace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../namespace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/defaults/dependencies.bicep | 2 +- .../tests/e2e/waf-aligned/dependencies.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../sql/server/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../workspace/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/max/dependencies.bicep | 2 +- .../tests/e2e/max/dependencies.bicep | 2 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/dependencies.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../serverfarm/tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../tests/e2e/functionApp.max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- .../site/tests/e2e/webApp.max/main.test.bicep | 2 +- .../tests/e2e/webAppLinux.max/main.test.bicep | 2 +- .../compliance/helper/helper.psm1 | 328 ------------------ .../e2e-template-assets/scripts/.gitignore | 0 .../scripts/Copy-VhdToStorageAccount.ps1 | 0 .../scripts/Get-HostPoolRegistrationKey.ps1 | 0 .../scripts/Get-PairedRegion.ps1 | 0 .../scripts/New-SSHKey.ps1 | 0 .../scripts/Set-BlobContent.ps1 | 0 .../scripts/Set-CertificateInKeyVault.ps1 | 0 .../scripts/Set-PfxCertificateInKeyVault.ps1 | 0 .../Set-StorageContainerContentByEnvVar.ps1 | 0 .../scripts/Start-ImageTemplate.ps1 | 0 .../scripts/Wait-ForImageBuild.ps1 | 0 .../templates/diagnostic.dependencies.bicep | 0 .../Get-AvailableResourceLocation.ps1 | 4 +- .../New-TemplateDeployment.ps1 | 4 +- .../Test-TemplateDeployment.ps1 | 4 +- .../Initialize-DeploymentRemoval.ps1 | 0 .../Get-DeploymentTargetResourceList.ps1 | 0 .../helper/Get-OrderedResourcesList.ps1 | 0 .../Get-ResourceIdsAsFormattedObjectList.ps1 | 0 .../helper/Invoke-ResourceLockRemoval.ps1 | 0 .../helper/Invoke-ResourceLockRetrieval.ps1 | 0 .../helper/Invoke-ResourcePostRemoval.ps1 | 0 .../helper/Invoke-ResourceRemoval.ps1 | 0 .../helper/Remove-Deployment.ps1 | 0 .../helper/Remove-ResourceList.ps1 | 0 .../Invoke-AvmJsonModuleIndexGeneration.ps1 | 0 .../platform/Publish-ModuleFromTagToPBR.ps1 | 6 +- .../Set-AvmGitHubIssueOwnerConfig.ps1 | 6 +- .../platform/Set-AvmGitHubPrLabels.ps1 | 8 +- .../Set-AvmGithubIssueForWorkflow.ps1 | 6 +- .../platform/Switch-WorkflowState.ps1 | 0 .../platform/Sync-AvmModulesList.ps1 | 6 +- ...Clear-ManagementGroupDeploymentHistory.ps1 | 0 .../Clear-SubscriptionDeploymentHistory.ps1 | 0 .../helper/Add-GithubIssueToProject.ps1 | 0 .../platform/helper/Get-AvmCsvData.ps1 | 0 ...Get-GithubPrRequestedReviewerTeamNames.ps1 | 0 .../helper/Get-GithubTeamMembersLogin.ps1 | 0 .../pipelines/platform/helper/Split-Array.ps1 | 0 .../publish/Confirm-ModuleIsPublished.ps1 | 0 .../publish/Publish-ModuleFromPathToPBR.ps1 | 14 +- .../publish/helper/Get-ModuleReadmeLink.ps1 | 0 .../helper/Get-ModuleTargetPatchVersion.ps1 | 0 .../helper/Get-ModuleTargetVersion.ps1 | 0 .../helper/Get-ModuleVersionChange.ps1 | 0 .../publish/helper/Get-ModulesToPublish.ps1 | 2 +- .../publish/helper/New-ModuleReleaseTag.ps1 | 0 .../sharedScripts/Add-YamlListToFile.ps1 | 0 .../sharedScripts/Get-BRMRepositoryName.ps1 | 0 .../Get-GitHubWorkflowDefaultInput.ps1 | 0 .../Get-LocallyReferencedFileList.ps1 | 0 .../sharedScripts/Get-NestedResourceList.ps1 | 0 .../sharedScripts/Get-PipelineFileName.ps1 | 0 .../sharedScripts/Get-ScopeOfTemplateFile.ps1 | 0 .../sharedScripts/Set-EnvironmentOnAgent.ps1 | 0 .../sharedScripts/Set-ModuleReadMe.ps1 | 2 +- .../helper/ConvertTo-OrderedHashtable.ps1 | 0 .../helper/Get-CrossReferencedModuleList.ps1 | 0 .../helper/Get-IsParameterRequired.ps1 | 0 .../helper/Get-SpecsAlignedResourceName.ps1 | 0 .../helper/Merge-FileWithNewContent.ps1 | 0 .../Convert-TokensInFileList.ps1 | 0 .../helper/Convert-TokenInFile.ps1 | 0 .../compliance/Set-PesterGitHubOutput.ps1 | 2 +- .../compliance/helper/helper.psm1 | 328 ++++++++++++++++++ .../compliance/module.tests.ps1 | 6 +- .../psrule/.ps-rule/cb-waf-security.Rule.yaml | 0 .../psrule/.ps-rule/dep-suppress.Rule.yaml | 0 .../psrule/.ps-rule/min-suppress.Rule.yaml | 0 .../psrule/.ps-rule/na-suppress.Rule.yaml | 0 .../psrule/Set-PSRuleGitHubOutput.ps1 | 0 .../staticValidation/psrule/ps-rule.yaml | 0 .../utilities => utilities}/tests/Test-CI.ps1 | 8 +- .../Get-OrderedResourcesList.tests.ps1 | 4 +- .../tools/Invoke-WorkflowsFailedJobsReRun.ps1 | 0 .../tools/Invoke-WorkflowsForBranch.ps1 | 2 +- .../tools/Set-AVMModule.ps1 | 0 .../tools/Test-ModuleLocally.ps1 | 4 +- .../helper/Get-TemplateDeploymentWhatIf.ps1 | 4 +- .../helper/Set-ModuleFileAndFolderSetup.ps1 | 0 .../tools/helper/src/src.child.main.bicep | 0 .../tools/helper/src/src.main.bicep | 0 .../tools/helper/src/src.main.test.bicep | 0 .../tools/helper/src/src.version.json | 0 438 files changed, 931 insertions(+), 931 deletions(-) delete mode 100644 avm/utilities/pipelines/staticValidation/compliance/helper/helper.psm1 rename {avm/utilities => utilities}/e2e-template-assets/scripts/.gitignore (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Get-HostPoolRegistrationKey.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Get-PairedRegion.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/New-SSHKey.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Set-BlobContent.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Set-PfxCertificateInKeyVault.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Start-ImageTemplate.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/scripts/Wait-ForImageBuild.ps1 (100%) rename {avm/utilities => utilities}/e2e-template-assets/templates/diagnostic.dependencies.bicep (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/regionSelector/Get-AvailableResourceLocation.ps1 (96%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceDeployment/New-TemplateDeployment.ps1 (99%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceDeployment/Test-TemplateDeployment.ps1 (98%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/Initialize-DeploymentRemoval.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Get-DeploymentTargetResourceList.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Get-OrderedResourcesList.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRemoval.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRetrieval.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourcePostRemoval.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceRemoval.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Remove-Deployment.ps1 (100%) rename {avm/utilities => utilities}/pipelines/e2eValidation/resourceRemoval/helper/Remove-ResourceList.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/Invoke-AvmJsonModuleIndexGeneration.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/Publish-ModuleFromTagToPBR.ps1 (93%) rename {avm/utilities => utilities}/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 (95%) rename {avm/utilities => utilities}/pipelines/platform/Set-AvmGitHubPrLabels.ps1 (89%) rename {avm/utilities => utilities}/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 (97%) rename {avm/utilities => utilities}/pipelines/platform/Switch-WorkflowState.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/Sync-AvmModulesList.ps1 (97%) rename {avm/utilities => utilities}/pipelines/platform/deploymentRemoval/Clear-ManagementGroupDeploymentHistory.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/deploymentRemoval/Clear-SubscriptionDeploymentHistory.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/helper/Add-GithubIssueToProject.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/helper/Get-AvmCsvData.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/helper/Get-GithubPrRequestedReviewerTeamNames.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/helper/Get-GithubTeamMembersLogin.ps1 (100%) rename {avm/utilities => utilities}/pipelines/platform/helper/Split-Array.ps1 (100%) rename {avm/utilities => utilities}/pipelines/publish/Confirm-ModuleIsPublished.ps1 (100%) rename {avm/utilities => utilities}/pipelines/publish/Publish-ModuleFromPathToPBR.ps1 (84%) rename {avm/utilities => utilities}/pipelines/publish/helper/Get-ModuleReadmeLink.ps1 (100%) rename {avm/utilities => utilities}/pipelines/publish/helper/Get-ModuleTargetPatchVersion.ps1 (100%) rename {avm/utilities => utilities}/pipelines/publish/helper/Get-ModuleTargetVersion.ps1 (100%) rename {avm/utilities => utilities}/pipelines/publish/helper/Get-ModuleVersionChange.ps1 (100%) rename {avm/utilities => utilities}/pipelines/publish/helper/Get-ModulesToPublish.ps1 (99%) rename {avm/utilities => utilities}/pipelines/publish/helper/New-ModuleReleaseTag.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Add-YamlListToFile.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Get-BRMRepositoryName.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Get-LocallyReferencedFileList.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Get-NestedResourceList.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Get-PipelineFileName.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Get-ScopeOfTemplateFile.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/Set-ModuleReadMe.ps1 (99%) rename {avm/utilities => utilities}/pipelines/sharedScripts/helper/ConvertTo-OrderedHashtable.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/helper/Get-CrossReferencedModuleList.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/helper/Get-IsParameterRequired.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/helper/Get-SpecsAlignedResourceName.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/helper/Merge-FileWithNewContent.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/tokenReplacement/Convert-TokensInFileList.ps1 (100%) rename {avm/utilities => utilities}/pipelines/sharedScripts/tokenReplacement/helper/Convert-TokenInFile.ps1 (100%) rename {avm/utilities => utilities}/pipelines/staticValidation/compliance/Set-PesterGitHubOutput.ps1 (99%) create mode 100644 utilities/pipelines/staticValidation/compliance/helper/helper.psm1 rename {avm/utilities => utilities}/pipelines/staticValidation/compliance/module.tests.ps1 (99%) rename {avm/utilities => utilities}/pipelines/staticValidation/psrule/.ps-rule/cb-waf-security.Rule.yaml (100%) rename {avm/utilities => utilities}/pipelines/staticValidation/psrule/.ps-rule/dep-suppress.Rule.yaml (100%) rename {avm/utilities => utilities}/pipelines/staticValidation/psrule/.ps-rule/min-suppress.Rule.yaml (100%) rename {avm/utilities => utilities}/pipelines/staticValidation/psrule/.ps-rule/na-suppress.Rule.yaml (100%) rename {avm/utilities => utilities}/pipelines/staticValidation/psrule/Set-PSRuleGitHubOutput.ps1 (100%) rename {avm/utilities => utilities}/pipelines/staticValidation/psrule/ps-rule.yaml (100%) rename {avm/utilities => utilities}/tests/Test-CI.ps1 (88%) rename {avm/utilities => utilities}/tests/pipelines/Get-OrderedResourcesList.tests.ps1 (98%) rename {avm/utilities => utilities}/tools/Invoke-WorkflowsFailedJobsReRun.ps1 (100%) rename {avm/utilities => utilities}/tools/Invoke-WorkflowsForBranch.ps1 (99%) rename {avm/utilities => utilities}/tools/Set-AVMModule.ps1 (100%) rename {avm/utilities => utilities}/tools/Test-ModuleLocally.ps1 (98%) rename {avm/utilities => utilities}/tools/helper/Get-TemplateDeploymentWhatIf.ps1 (98%) rename {avm/utilities => utilities}/tools/helper/Set-ModuleFileAndFolderSetup.ps1 (100%) rename {avm/utilities => utilities}/tools/helper/src/src.child.main.bicep (100%) rename {avm/utilities => utilities}/tools/helper/src/src.main.bicep (100%) rename {avm/utilities => utilities}/tools/helper/src/src.main.test.bicep (100%) rename {avm/utilities => utilities}/tools/helper/src/src.version.json (100%) diff --git a/.github/actions/templates/avm-getWorkflowInput/action.yml b/.github/actions/templates/avm-getWorkflowInput/action.yml index 8c686805d9..5bff62560f 100644 --- a/.github/actions/templates/avm-getWorkflowInput/action.yml +++ b/.github/actions/templates/avm-getWorkflowInput/action.yml @@ -79,7 +79,7 @@ runs: # Otherwise retrieve default values else { # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-GitHubWorkflowDefaultInput.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Get-GitHubWorkflowDefaultInput.ps1') $functionInput = @{ workflowPath = '${{ inputs.workflowPath }}' diff --git a/.github/actions/templates/avm-publishModule/action.yml b/.github/actions/templates/avm-publishModule/action.yml index cd2c53cd15..a623c8e8bb 100644 --- a/.github/actions/templates/avm-publishModule/action.yml +++ b/.github/actions/templates/avm-publishModule/action.yml @@ -55,7 +55,7 @@ runs: Write-Output '::group::Publish module to public bicep registry' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'publish' 'Publish-ModuleFromPathToPBR.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'publish' 'Publish-ModuleFromPathToPBR.ps1') $functionInput = @{ TemplateFilePath = Join-Path $env:GITHUB_WORKSPACE "${{ inputs.templateFilePath }}" @@ -85,7 +85,7 @@ runs: Write-Output '::group::Validate publish' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'publish' 'Confirm-ModuleIsPublished.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'publish' 'Confirm-ModuleIsPublished.ps1') $functionInput = @{ Version = "${{ steps.publish_step.outputs.version }}" diff --git a/.github/actions/templates/avm-setEnvironment/action.yml b/.github/actions/templates/avm-setEnvironment/action.yml index 65f0f84d35..5622135be6 100644 --- a/.github/actions/templates/avm-setEnvironment/action.yml +++ b/.github/actions/templates/avm-setEnvironment/action.yml @@ -41,7 +41,7 @@ runs: Write-Verbose "Caller job id: ${{ github.job }}" -Verbose # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') # Define PS modules to install on the runner $modules = @( diff --git a/.github/actions/templates/avm-validateModuleDeployment/action.yml b/.github/actions/templates/avm-validateModuleDeployment/action.yml index b272554729..391cc1bdd7 100644 --- a/.github/actions/templates/avm-validateModuleDeployment/action.yml +++ b/.github/actions/templates/avm-validateModuleDeployment/action.yml @@ -77,7 +77,7 @@ runs: Write-Output '::group::Get Recommended Regions' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'e2eValidation' 'regionSelector' 'Get-AvailableResourceLocation.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'e2eValidation' 'regionSelector' 'Get-AvailableResourceLocation.ps1') # Set function input parameters $functionInput = @{ @@ -111,8 +111,8 @@ runs: Write-Output '::group::Replace tokens in template file' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-LocallyReferencedFileList.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Get-LocallyReferencedFileList.ps1') $templateFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ inputs.templateFilePath }}' @@ -177,7 +177,7 @@ runs: Write-Output '::group::Validate template file' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'e2eValidation' 'resourceDeployment' 'Test-TemplateDeployment.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'e2eValidation' 'resourceDeployment' 'Test-TemplateDeployment.ps1') # Prepare general parameters # -------------------------- @@ -257,7 +257,7 @@ runs: Write-Output '::group::Deploy template file' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'e2eValidation' 'resourceDeployment' 'New-TemplateDeployment.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'e2eValidation' 'resourceDeployment' 'New-TemplateDeployment.ps1') # Prepare general parameters # -------------------------- @@ -349,7 +349,7 @@ runs: Write-Output '::group::Run Pester tests' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'staticValidation' 'compliance' 'Set-PesterGitHubOutput.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'staticValidation' 'compliance' 'Set-PesterGitHubOutput.ps1') # Set repo root path $repoRootPath = $env:GITHUB_WORKSPACE @@ -440,7 +440,7 @@ runs: Write-Output '::group::Remove deployed resources' # Load used function - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'e2eValidation' 'resourceRemoval' 'Initialize-DeploymentRemoval.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'e2eValidation' 'resourceRemoval' 'Initialize-DeploymentRemoval.ps1') $functionInput = @{ TemplateFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ inputs.templateFilePath }}' diff --git a/.github/actions/templates/avm-validateModulePSRule/action.yml b/.github/actions/templates/avm-validateModulePSRule/action.yml index ab29a6d245..6972fb3c59 100644 --- a/.github/actions/templates/avm-validateModulePSRule/action.yml +++ b/.github/actions/templates/avm-validateModulePSRule/action.yml @@ -46,8 +46,8 @@ runs: Write-Output '::group::Replace tokens in template file' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-LocallyReferencedFileList.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Get-LocallyReferencedFileList.ps1') $templateFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ inputs.templateFilePath }}' @@ -170,7 +170,7 @@ runs: Write-Output '::group::Parse CSV content' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'staticValidation' 'psrule' 'Set-PSRuleGitHubOutput.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'staticValidation' 'psrule' 'Set-PSRuleGitHubOutput.ps1') # Populate parameter input $ParameterInput = @{ diff --git a/.github/actions/templates/avm-validateModulePester/action.yml b/.github/actions/templates/avm-validateModulePester/action.yml index d1e6248922..28a347ddf0 100644 --- a/.github/actions/templates/avm-validateModulePester/action.yml +++ b/.github/actions/templates/avm-validateModulePester/action.yml @@ -30,7 +30,7 @@ inputs: moduleTestFilePath: description: "The path to the test file" required: true - default: "avm/utilities/pipelines/staticValidation/compliance/module.tests.ps1" + default: "utilities/pipelines/staticValidation/compliance/module.tests.ps1" runs: using: "composite" @@ -45,7 +45,7 @@ runs: Write-Output '::group::Run Pester tests' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'staticValidation' 'compliance' 'Set-PesterGitHubOutput.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'staticValidation' 'compliance' 'Set-PesterGitHubOutput.ps1') # Set repo root path $repoRootPath = $env:GITHUB_WORKSPACE diff --git a/.github/workflows/avm.ptn.aca-lza.hosting-environment.yml b/.github/workflows/avm.ptn.aca-lza.hosting-environment.yml index aed8ec0c1e..3d40a41806 100644 --- a/.github/workflows/avm.ptn.aca-lza.hosting-environment.yml +++ b/.github/workflows/avm.ptn.aca-lza.hosting-environment.yml @@ -31,8 +31,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.aca-lza.hosting-environment.yml" - "avm/ptn/aca-lza/hosting-environment/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.ai-platform.baseline.yml b/.github/workflows/avm.ptn.ai-platform.baseline.yml index d6317ad70b..7b8910f31d 100644 --- a/.github/workflows/avm.ptn.ai-platform.baseline.yml +++ b/.github/workflows/avm.ptn.ai-platform.baseline.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.ai-platform.baseline.yml" - "avm/ptn/ai-platform/baseline/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.authorization.policy-assignment.yml b/.github/workflows/avm.ptn.authorization.policy-assignment.yml index e1fff8c919..2ffeb679c5 100644 --- a/.github/workflows/avm.ptn.authorization.policy-assignment.yml +++ b/.github/workflows/avm.ptn.authorization.policy-assignment.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.authorization.policy-assignment.yml" - "avm/ptn/authorization/policy-assignment/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.authorization.resource-role-assignment.yml b/.github/workflows/avm.ptn.authorization.resource-role-assignment.yml index 3ac2e4bc8d..8f6c0ba7de 100644 --- a/.github/workflows/avm.ptn.authorization.resource-role-assignment.yml +++ b/.github/workflows/avm.ptn.authorization.resource-role-assignment.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.authorization.resource-role-assignment.yml" - "avm/ptn/authorization/resource-role-assignment/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.authorization.role-assignment.yml b/.github/workflows/avm.ptn.authorization.role-assignment.yml index 6a63d86aba..3bb40b87aa 100644 --- a/.github/workflows/avm.ptn.authorization.role-assignment.yml +++ b/.github/workflows/avm.ptn.authorization.role-assignment.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.authorization.role-assignment.yml" - "avm/ptn/authorization/role-assignment/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.azd.acr-container-app.yml b/.github/workflows/avm.ptn.azd.acr-container-app.yml index 04a83ea855..1346eba81a 100644 --- a/.github/workflows/avm.ptn.azd.acr-container-app.yml +++ b/.github/workflows/avm.ptn.azd.acr-container-app.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.acr-container-app.yml" - "avm/ptn/azd/acr-container-app/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.azd.aks.yml b/.github/workflows/avm.ptn.azd.aks.yml index 8197fd7c84..9fc8f54f15 100644 --- a/.github/workflows/avm.ptn.azd.aks.yml +++ b/.github/workflows/avm.ptn.azd.aks.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.aks.yml" - "avm/ptn/azd/aks/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.azd.container-app-upsert.yml b/.github/workflows/avm.ptn.azd.container-app-upsert.yml index a612a7c55c..373d924abe 100644 --- a/.github/workflows/avm.ptn.azd.container-app-upsert.yml +++ b/.github/workflows/avm.ptn.azd.container-app-upsert.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.container-app-upsert.yml" - "avm/ptn/azd/container-app-upsert/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.azd.container-apps-stack.yml b/.github/workflows/avm.ptn.azd.container-apps-stack.yml index 7a057fef70..c1ac14182e 100644 --- a/.github/workflows/avm.ptn.azd.container-apps-stack.yml +++ b/.github/workflows/avm.ptn.azd.container-apps-stack.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.container-apps-stack.yml" - "avm/ptn/azd/container-apps-stack/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.azd.insights-dashboard.yml b/.github/workflows/avm.ptn.azd.insights-dashboard.yml index a1df3a89d7..85fbe68bc4 100644 --- a/.github/workflows/avm.ptn.azd.insights-dashboard.yml +++ b/.github/workflows/avm.ptn.azd.insights-dashboard.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.insights-dashboard" - "avm/ptn/azd/insights-dashboard/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: @@ -85,4 +85,4 @@ jobs: moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/avm.ptn.azd.ml-ai-environment.yml b/.github/workflows/avm.ptn.azd.ml-ai-environment.yml index 2bf27870e8..6c558c0cc1 100644 --- a/.github/workflows/avm.ptn.azd.ml-ai-environment.yml +++ b/.github/workflows/avm.ptn.azd.ml-ai-environment.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.ml-ai-environment" - "avm/ptn/azd/ml-ai-environment/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: @@ -85,4 +85,4 @@ jobs: moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/avm.ptn.azd.ml-hub-dependencies.yml b/.github/workflows/avm.ptn.azd.ml-hub-dependencies.yml index fc862654f2..b71c02f7fb 100644 --- a/.github/workflows/avm.ptn.azd.ml-hub-dependencies.yml +++ b/.github/workflows/avm.ptn.azd.ml-hub-dependencies.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.ml-hub-dependencies" - "avm/ptn/azd/ml-hub-dependencies/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: @@ -85,4 +85,4 @@ jobs: moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/avm.ptn.azd.ml-project.yml b/.github/workflows/avm.ptn.azd.ml-project.yml index b2d2f60191..934f66f854 100644 --- a/.github/workflows/avm.ptn.azd.ml-project.yml +++ b/.github/workflows/avm.ptn.azd.ml-project.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.ml-project" - "avm/ptn/azd/ml-project/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: @@ -85,4 +85,4 @@ jobs: moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/avm.ptn.azd.monitoring.yml b/.github/workflows/avm.ptn.azd.monitoring.yml index bba2cd1314..71483555da 100644 --- a/.github/workflows/avm.ptn.azd.monitoring.yml +++ b/.github/workflows/avm.ptn.azd.monitoring.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.monitoring" - "avm/ptn/azd/monitoring/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: @@ -85,4 +85,4 @@ jobs: moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/avm.ptn.data.private-analytical-workspace.yml b/.github/workflows/avm.ptn.data.private-analytical-workspace.yml index c0521d0504..871d0d6675 100644 --- a/.github/workflows/avm.ptn.data.private-analytical-workspace.yml +++ b/.github/workflows/avm.ptn.data.private-analytical-workspace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.data.private-analytical-workspace.yml" - "avm/ptn/data/private-analytical-workspace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.deployment-script.import-image-to-acr.yml b/.github/workflows/avm.ptn.deployment-script.import-image-to-acr.yml index 6f0179678d..9deca6a54c 100644 --- a/.github/workflows/avm.ptn.deployment-script.import-image-to-acr.yml +++ b/.github/workflows/avm.ptn.deployment-script.import-image-to-acr.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.deployment-script.import-image-to-acr.yml" - "avm/ptn/deployment-script/import-image-to-acr/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.dev-ops.cicd-agents-and-runners.yml b/.github/workflows/avm.ptn.dev-ops.cicd-agents-and-runners.yml index b5e40f98ae..603b64ca26 100644 --- a/.github/workflows/avm.ptn.dev-ops.cicd-agents-and-runners.yml +++ b/.github/workflows/avm.ptn.dev-ops.cicd-agents-and-runners.yml @@ -26,8 +26,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.dev-ops.cicd-agents-and-runners" - "avm/ptn/dev-ops/cicd-agents-and-runners/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.finops-toolkit.finops-hub.yml b/.github/workflows/avm.ptn.finops-toolkit.finops-hub.yml index bf917035d2..bfb76eb09b 100644 --- a/.github/workflows/avm.ptn.finops-toolkit.finops-hub.yml +++ b/.github/workflows/avm.ptn.finops-toolkit.finops-hub.yml @@ -26,8 +26,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.finops-toolkit.finops-hub.yml" - "avm/ptn/finops-toolkit/finops-hub/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.lz.sub-vending.yml b/.github/workflows/avm.ptn.lz.sub-vending.yml index 061f26242c..5210f849a9 100644 --- a/.github/workflows/avm.ptn.lz.sub-vending.yml +++ b/.github/workflows/avm.ptn.lz.sub-vending.yml @@ -26,8 +26,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.lz.sub-vending" - "avm/ptn/lz/sub-vending/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.network.hub-networking.yml b/.github/workflows/avm.ptn.network.hub-networking.yml index 617646aa74..728bf8d033 100644 --- a/.github/workflows/avm.ptn.network.hub-networking.yml +++ b/.github/workflows/avm.ptn.network.hub-networking.yml @@ -29,8 +29,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.network.hub-networking.yml" - "avm/ptn/network/hub-networking/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: modulePath: "avm/ptn/network/hub-networking" diff --git a/.github/workflows/avm.ptn.network.private-link-private-dns-zones.yml b/.github/workflows/avm.ptn.network.private-link-private-dns-zones.yml index c758c16856..006a5c3887 100644 --- a/.github/workflows/avm.ptn.network.private-link-private-dns-zones.yml +++ b/.github/workflows/avm.ptn.network.private-link-private-dns-zones.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.network.private-link-private-dns-zones.yml" - "avm/ptn/network/private-link-private-dns-zones/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.policy-insights.remediation.yml b/.github/workflows/avm.ptn.policy-insights.remediation.yml index 0df67fe1cd..87f1f2c3ad 100644 --- a/.github/workflows/avm.ptn.policy-insights.remediation.yml +++ b/.github/workflows/avm.ptn.policy-insights.remediation.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.policy-insights.remediation.yml" - "avm.ptn.policy-insights.remediation/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: @@ -85,4 +85,4 @@ jobs: moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/avm.ptn.security.security-center.yml b/.github/workflows/avm.ptn.security.security-center.yml index d76a04034e..25c64a400c 100644 --- a/.github/workflows/avm.ptn.security.security-center.yml +++ b/.github/workflows/avm.ptn.security.security-center.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.security.security-center.yml" - "avm/ptn/security/security-center/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.virtual-machine-images.azure-image-builder.yml b/.github/workflows/avm.ptn.virtual-machine-images.azure-image-builder.yml index 445bdfa481..574b0115da 100644 --- a/.github/workflows/avm.ptn.virtual-machine-images.azure-image-builder.yml +++ b/.github/workflows/avm.ptn.virtual-machine-images.azure-image-builder.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.virtual-machine-images.azure-image-builder.yml" - "avm/ptn/virtual-machine-images/azure-image-builder/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.aad.domain-service.yml b/.github/workflows/avm.res.aad.domain-service.yml index f37a500577..a77b55ecc8 100644 --- a/.github/workflows/avm.res.aad.domain-service.yml +++ b/.github/workflows/avm.res.aad.domain-service.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.aad.domain-service.yml" - "avm/res/aad/domain-service/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.alerts-management.action-rule.yml b/.github/workflows/avm.res.alerts-management.action-rule.yml index 2cd453b624..faa9826270 100644 --- a/.github/workflows/avm.res.alerts-management.action-rule.yml +++ b/.github/workflows/avm.res.alerts-management.action-rule.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.alerts-management.action-rule.yml" - "avm/res/alerts-management/action-rule/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.analysis-services.server.yml b/.github/workflows/avm.res.analysis-services.server.yml index 80bdc29883..975a4f6613 100644 --- a/.github/workflows/avm.res.analysis-services.server.yml +++ b/.github/workflows/avm.res.analysis-services.server.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.analysis-services.server.yml" - "avm/res/analysis-services/server/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.api-management.service.yml b/.github/workflows/avm.res.api-management.service.yml index e785181b27..9386ee70cc 100644 --- a/.github/workflows/avm.res.api-management.service.yml +++ b/.github/workflows/avm.res.api-management.service.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.api-management.service.yml" - "avm/res/api-management/service/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.app-configuration.configuration-store.yml b/.github/workflows/avm.res.app-configuration.configuration-store.yml index f42f7a7aa0..d954a743d7 100644 --- a/.github/workflows/avm.res.app-configuration.configuration-store.yml +++ b/.github/workflows/avm.res.app-configuration.configuration-store.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.app-configuration.configuration-store.yml" - "avm/res/app-configuration/configuration-store/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.app.container-app.yml b/.github/workflows/avm.res.app.container-app.yml index bb5b23e9e3..d8089b9d16 100644 --- a/.github/workflows/avm.res.app.container-app.yml +++ b/.github/workflows/avm.res.app.container-app.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.app.container-app.yml" - "avm/res/app/container-app/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.app.job.yml b/.github/workflows/avm.res.app.job.yml index 2150ed69c2..345196ea51 100644 --- a/.github/workflows/avm.res.app.job.yml +++ b/.github/workflows/avm.res.app.job.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.app.job.yml" - "avm/res/app/job/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.app.managed-environment.yml b/.github/workflows/avm.res.app.managed-environment.yml index 3dce7555a4..1f0cea272e 100644 --- a/.github/workflows/avm.res.app.managed-environment.yml +++ b/.github/workflows/avm.res.app.managed-environment.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.app.managed-environment.yml" - "avm/res/app/managed-environment/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.automation.automation-account.yml b/.github/workflows/avm.res.automation.automation-account.yml index 6151a5fc7d..9d1de81acb 100644 --- a/.github/workflows/avm.res.automation.automation-account.yml +++ b/.github/workflows/avm.res.automation.automation-account.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.automation.automation-account.yml" - "avm/res/automation/automation-account/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.batch.batch-account.yml b/.github/workflows/avm.res.batch.batch-account.yml index b30e83d1f0..842498d8d5 100644 --- a/.github/workflows/avm.res.batch.batch-account.yml +++ b/.github/workflows/avm.res.batch.batch-account.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.batch.batch-account.yml" - "avm/res/batch/batch-account/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.cache.redis.yml b/.github/workflows/avm.res.cache.redis.yml index 65e72f2e37..3b7ce875c2 100644 --- a/.github/workflows/avm.res.cache.redis.yml +++ b/.github/workflows/avm.res.cache.redis.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.cache.redis.yml" - "avm/res/cache/redis/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.cdn.profile.yml b/.github/workflows/avm.res.cdn.profile.yml index 752ce2b1e4..bff8708b82 100644 --- a/.github/workflows/avm.res.cdn.profile.yml +++ b/.github/workflows/avm.res.cdn.profile.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.cdn.profile.yml" - "avm/res/cdn/profile/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.cognitive-services.account.yml b/.github/workflows/avm.res.cognitive-services.account.yml index 0884dd48f0..38c83352cd 100644 --- a/.github/workflows/avm.res.cognitive-services.account.yml +++ b/.github/workflows/avm.res.cognitive-services.account.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.cognitive-services.account.yml" - "avm/res/cognitive-services/account/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.communication.communication-service.yml b/.github/workflows/avm.res.communication.communication-service.yml index b4ec8662c0..724e081bc0 100644 --- a/.github/workflows/avm.res.communication.communication-service.yml +++ b/.github/workflows/avm.res.communication.communication-service.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.communication.communication-service.yml" - "avm/res/communication/communication-service/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.communication.email-service.yml b/.github/workflows/avm.res.communication.email-service.yml index 9e3aa0e418..d9858baae5 100644 --- a/.github/workflows/avm.res.communication.email-service.yml +++ b/.github/workflows/avm.res.communication.email-service.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.communication.email-service.yml" - "avm/res/communication/email-service/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.availability-set.yml b/.github/workflows/avm.res.compute.availability-set.yml index 05ae29ca87..0fdb1ab092 100644 --- a/.github/workflows/avm.res.compute.availability-set.yml +++ b/.github/workflows/avm.res.compute.availability-set.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.availability-set.yml" - "avm/res/compute/availability-set/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.disk-encryption-set.yml b/.github/workflows/avm.res.compute.disk-encryption-set.yml index e26c8f27ee..1d74c9a691 100644 --- a/.github/workflows/avm.res.compute.disk-encryption-set.yml +++ b/.github/workflows/avm.res.compute.disk-encryption-set.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.disk-encryption-set.yml" - "avm/res/compute/disk-encryption-set/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.disk.yml b/.github/workflows/avm.res.compute.disk.yml index 29acf5ee4f..6d9939ec8b 100644 --- a/.github/workflows/avm.res.compute.disk.yml +++ b/.github/workflows/avm.res.compute.disk.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.disk.yml" - "avm/res/compute/disk/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.gallery.yml b/.github/workflows/avm.res.compute.gallery.yml index 265fab1109..abe4d0c2ff 100644 --- a/.github/workflows/avm.res.compute.gallery.yml +++ b/.github/workflows/avm.res.compute.gallery.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.gallery.yml" - "avm/res/compute/gallery/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.image.yml b/.github/workflows/avm.res.compute.image.yml index 2de617ebe4..ee98faebcf 100644 --- a/.github/workflows/avm.res.compute.image.yml +++ b/.github/workflows/avm.res.compute.image.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.image.yml" - "avm/res/compute/image/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.proximity-placement-group.yml b/.github/workflows/avm.res.compute.proximity-placement-group.yml index 85261a960e..6fd1d31a23 100644 --- a/.github/workflows/avm.res.compute.proximity-placement-group.yml +++ b/.github/workflows/avm.res.compute.proximity-placement-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.proximity-placement-group.yml" - "avm/res/compute/proximity-placement-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.ssh-public-key.yml b/.github/workflows/avm.res.compute.ssh-public-key.yml index 93d6b44bf8..2604f037c1 100644 --- a/.github/workflows/avm.res.compute.ssh-public-key.yml +++ b/.github/workflows/avm.res.compute.ssh-public-key.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.ssh-public-key.yml" - "avm/res/compute/ssh-public-key/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.virtual-machine-scale-set.yml b/.github/workflows/avm.res.compute.virtual-machine-scale-set.yml index 89be65571b..945d5627ec 100644 --- a/.github/workflows/avm.res.compute.virtual-machine-scale-set.yml +++ b/.github/workflows/avm.res.compute.virtual-machine-scale-set.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.virtual-machine-scale-set.yml" - "avm/res/compute/virtual-machine-scale-set/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.compute.virtual-machine.yml b/.github/workflows/avm.res.compute.virtual-machine.yml index 119066ce8c..5eb6b12839 100644 --- a/.github/workflows/avm.res.compute.virtual-machine.yml +++ b/.github/workflows/avm.res.compute.virtual-machine.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.compute.virtual-machine.yml" - "avm/res/compute/virtual-machine/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.consumption.budget.yml b/.github/workflows/avm.res.consumption.budget.yml index 7ef5f3cb4e..96ec4e4931 100644 --- a/.github/workflows/avm.res.consumption.budget.yml +++ b/.github/workflows/avm.res.consumption.budget.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.consumption.budget.yml" - "avm/res/consumption/budget/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.container-instance.container-group.yml b/.github/workflows/avm.res.container-instance.container-group.yml index 6f249baa7b..1b8f4d3a52 100644 --- a/.github/workflows/avm.res.container-instance.container-group.yml +++ b/.github/workflows/avm.res.container-instance.container-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.container-instance.container-group.yml" - "avm/res/container-instance/container-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.container-registry.registry.yml b/.github/workflows/avm.res.container-registry.registry.yml index b1231be3bc..80449a04b3 100644 --- a/.github/workflows/avm.res.container-registry.registry.yml +++ b/.github/workflows/avm.res.container-registry.registry.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.container-registry.registry.yml" - "avm/res/container-registry/registry/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.container-service.managed-cluster.yml b/.github/workflows/avm.res.container-service.managed-cluster.yml index aae1ec01f4..c92c1ee31c 100644 --- a/.github/workflows/avm.res.container-service.managed-cluster.yml +++ b/.github/workflows/avm.res.container-service.managed-cluster.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.container-service.managed-cluster.yml" - "avm/res/container-service/managed-cluster/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.data-factory.factory.yml b/.github/workflows/avm.res.data-factory.factory.yml index 1dab275431..d55cba5edf 100644 --- a/.github/workflows/avm.res.data-factory.factory.yml +++ b/.github/workflows/avm.res.data-factory.factory.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.data-factory.factory.yml" - "avm/res/data-factory/factory/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.data-protection.backup-vault.yml b/.github/workflows/avm.res.data-protection.backup-vault.yml index de7e626f6d..4b6f27b374 100644 --- a/.github/workflows/avm.res.data-protection.backup-vault.yml +++ b/.github/workflows/avm.res.data-protection.backup-vault.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.data-protection.backup-vault.yml" - "avm/res/data-protection/backup-vault/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.databricks.access-connector.yml b/.github/workflows/avm.res.databricks.access-connector.yml index ffe4537554..639042c6b5 100644 --- a/.github/workflows/avm.res.databricks.access-connector.yml +++ b/.github/workflows/avm.res.databricks.access-connector.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.databricks.access-connector.yml" - "avm/res/databricks/access-connector/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.databricks.workspace.yml b/.github/workflows/avm.res.databricks.workspace.yml index eac50c10b6..44a3fba6a6 100644 --- a/.github/workflows/avm.res.databricks.workspace.yml +++ b/.github/workflows/avm.res.databricks.workspace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.databricks.workspace.yml" - "avm/res/databricks/workspace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.db-for-my-sql.flexible-server.yml b/.github/workflows/avm.res.db-for-my-sql.flexible-server.yml index 4523d863a8..aee8ec7d56 100644 --- a/.github/workflows/avm.res.db-for-my-sql.flexible-server.yml +++ b/.github/workflows/avm.res.db-for-my-sql.flexible-server.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.db-for-my-sql.flexible-server.yml" - "avm/res/db-for-my-sql/flexible-server/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.db-for-postgre-sql.flexible-server.yml b/.github/workflows/avm.res.db-for-postgre-sql.flexible-server.yml index ca1bfe02a0..af04aa38da 100644 --- a/.github/workflows/avm.res.db-for-postgre-sql.flexible-server.yml +++ b/.github/workflows/avm.res.db-for-postgre-sql.flexible-server.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.db-for-postgre-sql.flexible-server.yml" - "avm/res/db-for-postgre-sql/flexible-server/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.desktop-virtualization.application-group.yml b/.github/workflows/avm.res.desktop-virtualization.application-group.yml index 352ac038de..97d920314a 100644 --- a/.github/workflows/avm.res.desktop-virtualization.application-group.yml +++ b/.github/workflows/avm.res.desktop-virtualization.application-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.desktop-virtualization.application-group.yml" - "avm/res/desktop-virtualization/application-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.desktop-virtualization.host-pool.yml b/.github/workflows/avm.res.desktop-virtualization.host-pool.yml index 7a4b7cf5f0..df3cf0974f 100644 --- a/.github/workflows/avm.res.desktop-virtualization.host-pool.yml +++ b/.github/workflows/avm.res.desktop-virtualization.host-pool.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.desktop-virtualization.host-pool.yml" - "avm/res/desktop-virtualization/host-pool/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.desktop-virtualization.scaling-plan.yml b/.github/workflows/avm.res.desktop-virtualization.scaling-plan.yml index 914677d4bf..e0fa8995b6 100644 --- a/.github/workflows/avm.res.desktop-virtualization.scaling-plan.yml +++ b/.github/workflows/avm.res.desktop-virtualization.scaling-plan.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.desktop-virtualization.scaling-plan.yml" - "avm/res/desktop-virtualization/scaling-plan/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.desktop-virtualization.workspace.yml b/.github/workflows/avm.res.desktop-virtualization.workspace.yml index ae8ecd9b4d..e90dd901d9 100644 --- a/.github/workflows/avm.res.desktop-virtualization.workspace.yml +++ b/.github/workflows/avm.res.desktop-virtualization.workspace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.desktop-virtualization.workspace.yml" - "avm/res/desktop-virtualization/workspace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.dev-ops-infrastructure.pool.yml b/.github/workflows/avm.res.dev-ops-infrastructure.pool.yml index dac40abeb8..574c4adeca 100644 --- a/.github/workflows/avm.res.dev-ops-infrastructure.pool.yml +++ b/.github/workflows/avm.res.dev-ops-infrastructure.pool.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.dev-ops-infrastructure.pool.yml" - "avm/res/dev-ops-infrastructure/pool/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.dev-test-lab.lab.yml b/.github/workflows/avm.res.dev-test-lab.lab.yml index 6cbfc2e46f..96ce5ec353 100644 --- a/.github/workflows/avm.res.dev-test-lab.lab.yml +++ b/.github/workflows/avm.res.dev-test-lab.lab.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.dev-test-lab.lab.yml" - "avm/res/dev-test-lab/lab/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.digital-twins.digital-twins-instance.yml b/.github/workflows/avm.res.digital-twins.digital-twins-instance.yml index 88f43864af..19957c038a 100644 --- a/.github/workflows/avm.res.digital-twins.digital-twins-instance.yml +++ b/.github/workflows/avm.res.digital-twins.digital-twins-instance.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.digital-twins.digital-twins-instance.yml" - "avm/res/digital-twins/digital-twins-instance/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.document-db.database-account.yml b/.github/workflows/avm.res.document-db.database-account.yml index 7b55f4f785..08d1409e3f 100644 --- a/.github/workflows/avm.res.document-db.database-account.yml +++ b/.github/workflows/avm.res.document-db.database-account.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.document-db.database-account.yml" - "avm/res/document-db/database-account/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.document-db.mongo-cluster.yml b/.github/workflows/avm.res.document-db.mongo-cluster.yml index f7b513ae03..1982ab7d54 100644 --- a/.github/workflows/avm.res.document-db.mongo-cluster.yml +++ b/.github/workflows/avm.res.document-db.mongo-cluster.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.document-db.mongo-cluster.yml" - "avm/res/document-db/mongo-cluster/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.elastic-san.elastic-san.yml b/.github/workflows/avm.res.elastic-san.elastic-san.yml index e5ca6b9c9f..b092f24e3a 100644 --- a/.github/workflows/avm.res.elastic-san.elastic-san.yml +++ b/.github/workflows/avm.res.elastic-san.elastic-san.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.elastic-san.elastic-san.yml" - "avm/res/elastic-san/elastic-san/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.event-grid.domain.yml b/.github/workflows/avm.res.event-grid.domain.yml index e1db5a13a3..25eddade8f 100644 --- a/.github/workflows/avm.res.event-grid.domain.yml +++ b/.github/workflows/avm.res.event-grid.domain.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.event-grid.domain.yml" - "avm/res/event-grid/domain/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.event-grid.namespace.yml b/.github/workflows/avm.res.event-grid.namespace.yml index 3bdf242f30..979f48432e 100644 --- a/.github/workflows/avm.res.event-grid.namespace.yml +++ b/.github/workflows/avm.res.event-grid.namespace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.event-grid.namespace.yml" - "avm/res/event-grid/namespace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.event-grid.system-topic.yml b/.github/workflows/avm.res.event-grid.system-topic.yml index c2457f95b6..cd15f5f203 100644 --- a/.github/workflows/avm.res.event-grid.system-topic.yml +++ b/.github/workflows/avm.res.event-grid.system-topic.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.event-grid.system-topic.yml" - "avm/res/event-grid/system-topic/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.event-grid.topic.yml b/.github/workflows/avm.res.event-grid.topic.yml index 4c5d3f315b..0622b4cd74 100644 --- a/.github/workflows/avm.res.event-grid.topic.yml +++ b/.github/workflows/avm.res.event-grid.topic.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.event-grid.topic.yml" - "avm/res/event-grid/topic/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.event-hub.namespace.yml b/.github/workflows/avm.res.event-hub.namespace.yml index 14ed5c3daa..f026c53a23 100644 --- a/.github/workflows/avm.res.event-hub.namespace.yml +++ b/.github/workflows/avm.res.event-hub.namespace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.event-hub.namespace.yml" - "avm/res/event-hub/namespace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.fabric.capacity.yml b/.github/workflows/avm.res.fabric.capacity.yml index 778c48160b..a74decb032 100644 --- a/.github/workflows/avm.res.fabric.capacity.yml +++ b/.github/workflows/avm.res.fabric.capacity.yml @@ -31,8 +31,8 @@ on: - ".github/workflows/avm.res.fabric.capacity.yml" - "avm/res/fabric/capacity/**" - "avm/res/fabric/capacity/topic/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.health-bot.health-bot.yml b/.github/workflows/avm.res.health-bot.health-bot.yml index a8d770fca3..24e7991e1e 100644 --- a/.github/workflows/avm.res.health-bot.health-bot.yml +++ b/.github/workflows/avm.res.health-bot.health-bot.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.health-bot.health-bot.yml" - "avm/res/health-bot/health-bot/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.healthcare-apis.workspace.yml b/.github/workflows/avm.res.healthcare-apis.workspace.yml index 6bca4beeb6..c94604477f 100644 --- a/.github/workflows/avm.res.healthcare-apis.workspace.yml +++ b/.github/workflows/avm.res.healthcare-apis.workspace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.healthcare-apis.workspace.yml" - "avm/res/healthcare-apis/workspace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.hybrid-compute.machine.yml b/.github/workflows/avm.res.hybrid-compute.machine.yml index 6e6103ad2d..6cc3bc9472 100644 --- a/.github/workflows/avm.res.hybrid-compute.machine.yml +++ b/.github/workflows/avm.res.hybrid-compute.machine.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.hybrid-compute.machine.yml" - "avm/res/hybrid-compute/machine/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.action-group.yml b/.github/workflows/avm.res.insights.action-group.yml index f549948d46..680815b614 100644 --- a/.github/workflows/avm.res.insights.action-group.yml +++ b/.github/workflows/avm.res.insights.action-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.action-group.yml" - "avm/res/insights/action-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.activity-log-alert.yml b/.github/workflows/avm.res.insights.activity-log-alert.yml index 7a1c110c87..5f7f29101b 100644 --- a/.github/workflows/avm.res.insights.activity-log-alert.yml +++ b/.github/workflows/avm.res.insights.activity-log-alert.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.activity-log-alert.yml" - "avm/res/insights/activity-log-alert/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.component.yml b/.github/workflows/avm.res.insights.component.yml index 80c6900da6..9c6248d3bd 100644 --- a/.github/workflows/avm.res.insights.component.yml +++ b/.github/workflows/avm.res.insights.component.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.component.yml" - "avm/res/insights/component/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.data-collection-endpoint.yml b/.github/workflows/avm.res.insights.data-collection-endpoint.yml index 9fb7fa2e82..187d559f82 100644 --- a/.github/workflows/avm.res.insights.data-collection-endpoint.yml +++ b/.github/workflows/avm.res.insights.data-collection-endpoint.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.data-collection-endpoint.yml" - "avm/res/insights/data-collection-endpoint/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.data-collection-rule.yml b/.github/workflows/avm.res.insights.data-collection-rule.yml index bcad90c8c6..5b2347beef 100644 --- a/.github/workflows/avm.res.insights.data-collection-rule.yml +++ b/.github/workflows/avm.res.insights.data-collection-rule.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.data-collection-rule.yml" - "avm/res/insights/data-collection-rule/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.diagnostic-setting.yml b/.github/workflows/avm.res.insights.diagnostic-setting.yml index c0490c0f10..2e6a3504cd 100644 --- a/.github/workflows/avm.res.insights.diagnostic-setting.yml +++ b/.github/workflows/avm.res.insights.diagnostic-setting.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.diagnostic-setting.yml" - "avm/res/insights/diagnostic-setting/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.metric-alert.yml b/.github/workflows/avm.res.insights.metric-alert.yml index d7c928abdd..2a233077a9 100644 --- a/.github/workflows/avm.res.insights.metric-alert.yml +++ b/.github/workflows/avm.res.insights.metric-alert.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.metric-alert.yml" - "avm/res/insights/metric-alert/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.private-link-scope.yml b/.github/workflows/avm.res.insights.private-link-scope.yml index f02c25a7ad..2d6f3a8d67 100644 --- a/.github/workflows/avm.res.insights.private-link-scope.yml +++ b/.github/workflows/avm.res.insights.private-link-scope.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.private-link-scope.yml" - "avm/res/insights/private-link-scope/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.scheduled-query-rule.yml b/.github/workflows/avm.res.insights.scheduled-query-rule.yml index 0bef3c5978..0b20427299 100644 --- a/.github/workflows/avm.res.insights.scheduled-query-rule.yml +++ b/.github/workflows/avm.res.insights.scheduled-query-rule.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.scheduled-query-rule.yml" - "avm/res/insights/scheduled-query-rule/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.insights.webtest.yml b/.github/workflows/avm.res.insights.webtest.yml index 8aad3c3003..6c28f11bd3 100644 --- a/.github/workflows/avm.res.insights.webtest.yml +++ b/.github/workflows/avm.res.insights.webtest.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.insights.webtest.yml" - "avm/res/insights/webtest/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.key-vault.vault.yml b/.github/workflows/avm.res.key-vault.vault.yml index ef558e4569..2fc9b2acbd 100644 --- a/.github/workflows/avm.res.key-vault.vault.yml +++ b/.github/workflows/avm.res.key-vault.vault.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.key-vault.vault.yml" - "avm/res/key-vault/vault/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.kubernetes-configuration.extension.yml b/.github/workflows/avm.res.kubernetes-configuration.extension.yml index 7f21e69231..8c07f06a87 100644 --- a/.github/workflows/avm.res.kubernetes-configuration.extension.yml +++ b/.github/workflows/avm.res.kubernetes-configuration.extension.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.kubernetes-configuration.extension.yml" - "avm/res/kubernetes-configuration/extension/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.kubernetes-configuration.flux-configuration.yml b/.github/workflows/avm.res.kubernetes-configuration.flux-configuration.yml index 75df176c64..abe4714b83 100644 --- a/.github/workflows/avm.res.kubernetes-configuration.flux-configuration.yml +++ b/.github/workflows/avm.res.kubernetes-configuration.flux-configuration.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.kubernetes-configuration.flux-configuration.yml" - "avm/res/kubernetes-configuration/flux-configuration/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.kusto.cluster.yml b/.github/workflows/avm.res.kusto.cluster.yml index 1b8404997e..93fd05306a 100644 --- a/.github/workflows/avm.res.kusto.cluster.yml +++ b/.github/workflows/avm.res.kusto.cluster.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.kusto.cluster.yml" - "avm/res/kusto/cluster/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.load-test-service.load-test.yml b/.github/workflows/avm.res.load-test-service.load-test.yml index 8837b8ffb3..920212364b 100644 --- a/.github/workflows/avm.res.load-test-service.load-test.yml +++ b/.github/workflows/avm.res.load-test-service.load-test.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.load-test-service.load-test.yml" - "avm/res/load-test-service/load-test/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.logic.workflow.yml b/.github/workflows/avm.res.logic.workflow.yml index cefd378512..fea5871ced 100644 --- a/.github/workflows/avm.res.logic.workflow.yml +++ b/.github/workflows/avm.res.logic.workflow.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.logic.workflow" - "avm/res/logic/workflow/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.machine-learning-services.workspace.yml b/.github/workflows/avm.res.machine-learning-services.workspace.yml index c56c44dc8c..c90dc1d6a9 100644 --- a/.github/workflows/avm.res.machine-learning-services.workspace.yml +++ b/.github/workflows/avm.res.machine-learning-services.workspace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.machine-learning-services.workspace.yml" - "avm/res/machine-learning-services/workspace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.maintenance.maintenance-configuration.yml b/.github/workflows/avm.res.maintenance.maintenance-configuration.yml index ac0d007910..ff6aa9df7d 100644 --- a/.github/workflows/avm.res.maintenance.maintenance-configuration.yml +++ b/.github/workflows/avm.res.maintenance.maintenance-configuration.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.maintenance.maintenance-configuration.yml" - "avm/res/maintenance/maintenance-configuration/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.managed-identity.user-assigned-identity.yml b/.github/workflows/avm.res.managed-identity.user-assigned-identity.yml index 046946c67e..b3c376cb80 100644 --- a/.github/workflows/avm.res.managed-identity.user-assigned-identity.yml +++ b/.github/workflows/avm.res.managed-identity.user-assigned-identity.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.managed-identity.user-assigned-identity.yml" - "avm/res/managed-identity/user-assigned-identity/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.managed-services.registration-definition.yml b/.github/workflows/avm.res.managed-services.registration-definition.yml index a4655df4f6..dd318978df 100644 --- a/.github/workflows/avm.res.managed-services.registration-definition.yml +++ b/.github/workflows/avm.res.managed-services.registration-definition.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.managed-services.registration-definition.yml" - "avm/res/managed-services/registration-definition/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.management.management-group.yml b/.github/workflows/avm.res.management.management-group.yml index 6aaa15b46b..05b55fd2d2 100644 --- a/.github/workflows/avm.res.management.management-group.yml +++ b/.github/workflows/avm.res.management.management-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.management.management-group.yml" - "avm/res/management/management-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.net-app.net-app-account.yml b/.github/workflows/avm.res.net-app.net-app-account.yml index 1f704dea65..717eca4de2 100644 --- a/.github/workflows/avm.res.net-app.net-app-account.yml +++ b/.github/workflows/avm.res.net-app.net-app-account.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.net-app.net-app-account.yml" - "avm/res/net-app/net-app-account/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.application-gateway-web-application-firewall-policy.yml b/.github/workflows/avm.res.network.application-gateway-web-application-firewall-policy.yml index 2d01fa9e6a..9dc7ee46b3 100644 --- a/.github/workflows/avm.res.network.application-gateway-web-application-firewall-policy.yml +++ b/.github/workflows/avm.res.network.application-gateway-web-application-firewall-policy.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.application-gateway-web-application-firewall-policy.yml" - "avm/res/network/application-gateway-web-application-firewall-policy/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.application-gateway.yml b/.github/workflows/avm.res.network.application-gateway.yml index 095cf15ade..aa8a57c2be 100644 --- a/.github/workflows/avm.res.network.application-gateway.yml +++ b/.github/workflows/avm.res.network.application-gateway.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.application-gateway.yml" - "avm/res/network/application-gateway/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.application-security-group.yml b/.github/workflows/avm.res.network.application-security-group.yml index d1c33b6377..2c96b8c256 100644 --- a/.github/workflows/avm.res.network.application-security-group.yml +++ b/.github/workflows/avm.res.network.application-security-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.application-security-group.yml" - "avm/res/network/application-security-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.azure-firewall.yml b/.github/workflows/avm.res.network.azure-firewall.yml index df2875446f..5c75095ffa 100644 --- a/.github/workflows/avm.res.network.azure-firewall.yml +++ b/.github/workflows/avm.res.network.azure-firewall.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.azure-firewall.yml" - "avm/res/network/azure-firewall/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.bastion-host.yml b/.github/workflows/avm.res.network.bastion-host.yml index a73e062989..1e9df639c4 100644 --- a/.github/workflows/avm.res.network.bastion-host.yml +++ b/.github/workflows/avm.res.network.bastion-host.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.bastion-host.yml" - "avm/res/network/bastion-host/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.connection.yml b/.github/workflows/avm.res.network.connection.yml index c2a7c0dc6e..cdb3b70b9f 100644 --- a/.github/workflows/avm.res.network.connection.yml +++ b/.github/workflows/avm.res.network.connection.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.connection.yml" - "avm/res/network/connection/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.ddos-protection-plan.yml b/.github/workflows/avm.res.network.ddos-protection-plan.yml index 16abe170cc..f5e2249f32 100644 --- a/.github/workflows/avm.res.network.ddos-protection-plan.yml +++ b/.github/workflows/avm.res.network.ddos-protection-plan.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.ddos-protection-plan.yml" - "avm/res/network/ddos-protection-plan/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.dns-forwarding-ruleset.yml b/.github/workflows/avm.res.network.dns-forwarding-ruleset.yml index 9f23ad5b70..3d37443beb 100644 --- a/.github/workflows/avm.res.network.dns-forwarding-ruleset.yml +++ b/.github/workflows/avm.res.network.dns-forwarding-ruleset.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.dns-forwarding-ruleset.yml" - "avm/res/network/dns-forwarding-ruleset/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.dns-resolver.yml b/.github/workflows/avm.res.network.dns-resolver.yml index 948ae79b9a..089c1addb1 100644 --- a/.github/workflows/avm.res.network.dns-resolver.yml +++ b/.github/workflows/avm.res.network.dns-resolver.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.dns-resolver.yml" - "avm/res/network/dns-resolver/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.dns-zone.yml b/.github/workflows/avm.res.network.dns-zone.yml index c253062835..d159515a7d 100644 --- a/.github/workflows/avm.res.network.dns-zone.yml +++ b/.github/workflows/avm.res.network.dns-zone.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.dns-zone.yml" - "avm/res/network/dns-zone/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.express-route-circuit.yml b/.github/workflows/avm.res.network.express-route-circuit.yml index 5f1d019a4a..75b25e8a7b 100644 --- a/.github/workflows/avm.res.network.express-route-circuit.yml +++ b/.github/workflows/avm.res.network.express-route-circuit.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.express-route-circuit.yml" - "avm/res/network/express-route-circuit/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.express-route-gateway.yml b/.github/workflows/avm.res.network.express-route-gateway.yml index 9844da748e..762c257e81 100644 --- a/.github/workflows/avm.res.network.express-route-gateway.yml +++ b/.github/workflows/avm.res.network.express-route-gateway.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.express-route-gateway.yml" - "avm/res/network/express-route-gateway/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.firewall-policy.yml b/.github/workflows/avm.res.network.firewall-policy.yml index eca406d5f3..01ceffe467 100644 --- a/.github/workflows/avm.res.network.firewall-policy.yml +++ b/.github/workflows/avm.res.network.firewall-policy.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.firewall-policy.yml" - "avm/res/network/firewall-policy/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.front-door-web-application-firewall-policy.yml b/.github/workflows/avm.res.network.front-door-web-application-firewall-policy.yml index 13d3cb0455..96d2211fc0 100644 --- a/.github/workflows/avm.res.network.front-door-web-application-firewall-policy.yml +++ b/.github/workflows/avm.res.network.front-door-web-application-firewall-policy.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.front-door-web-application-firewall-policy.yml" - "avm/res/network/front-door-web-application-firewall-policy/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.front-door.yml b/.github/workflows/avm.res.network.front-door.yml index a4b8793486..bb65851d39 100644 --- a/.github/workflows/avm.res.network.front-door.yml +++ b/.github/workflows/avm.res.network.front-door.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.front-door.yml" - "avm/res/network/front-door/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.ip-group.yml b/.github/workflows/avm.res.network.ip-group.yml index b780c8f122..3848d44881 100644 --- a/.github/workflows/avm.res.network.ip-group.yml +++ b/.github/workflows/avm.res.network.ip-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.ip-group.yml" - "avm/res/network/ip-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.load-balancer.yml b/.github/workflows/avm.res.network.load-balancer.yml index 767ea1cccd..d50157e4cc 100644 --- a/.github/workflows/avm.res.network.load-balancer.yml +++ b/.github/workflows/avm.res.network.load-balancer.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.load-balancer.yml" - "avm/res/network/load-balancer/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.local-network-gateway.yml b/.github/workflows/avm.res.network.local-network-gateway.yml index 4eed146abf..c1d1adca1a 100644 --- a/.github/workflows/avm.res.network.local-network-gateway.yml +++ b/.github/workflows/avm.res.network.local-network-gateway.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.local-network-gateway.yml" - "avm/res/network/local-network-gateway/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.nat-gateway.yml b/.github/workflows/avm.res.network.nat-gateway.yml index 6cc019307d..21030d97cb 100644 --- a/.github/workflows/avm.res.network.nat-gateway.yml +++ b/.github/workflows/avm.res.network.nat-gateway.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.nat-gateway.yml" - "avm/res/network/nat-gateway/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.network-interface.yml b/.github/workflows/avm.res.network.network-interface.yml index 057449e2d9..ea2084d17e 100644 --- a/.github/workflows/avm.res.network.network-interface.yml +++ b/.github/workflows/avm.res.network.network-interface.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.network-interface.yml" - "avm/res/network/network-interface/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.network-manager.yml b/.github/workflows/avm.res.network.network-manager.yml index e04746ded8..1b7eadeb8c 100644 --- a/.github/workflows/avm.res.network.network-manager.yml +++ b/.github/workflows/avm.res.network.network-manager.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.network-manager.yml" - "avm/res/network/network-manager/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.network-security-group.yml b/.github/workflows/avm.res.network.network-security-group.yml index bdb92f4c0a..014f8355c3 100644 --- a/.github/workflows/avm.res.network.network-security-group.yml +++ b/.github/workflows/avm.res.network.network-security-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.network-security-group.yml" - "avm/res/network/network-security-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.network-watcher.yml b/.github/workflows/avm.res.network.network-watcher.yml index 81f4379cac..17a23387ec 100644 --- a/.github/workflows/avm.res.network.network-watcher.yml +++ b/.github/workflows/avm.res.network.network-watcher.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.network-watcher.yml" - "avm/res/network/network-watcher/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.private-dns-zone.yml b/.github/workflows/avm.res.network.private-dns-zone.yml index c12bd4e26e..38d2db812c 100644 --- a/.github/workflows/avm.res.network.private-dns-zone.yml +++ b/.github/workflows/avm.res.network.private-dns-zone.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.private-dns-zone.yml" - "avm/res/network/private-dns-zone/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.private-endpoint.yml b/.github/workflows/avm.res.network.private-endpoint.yml index fde656a7bb..e7bcda5d63 100644 --- a/.github/workflows/avm.res.network.private-endpoint.yml +++ b/.github/workflows/avm.res.network.private-endpoint.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.private-endpoint.yml" - "avm/res/network/private-endpoint/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.private-link-service.yml b/.github/workflows/avm.res.network.private-link-service.yml index b22e03baa9..61233edef7 100644 --- a/.github/workflows/avm.res.network.private-link-service.yml +++ b/.github/workflows/avm.res.network.private-link-service.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.private-link-service.yml" - "avm/res/network/private-link-service/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.public-ip-address.yml b/.github/workflows/avm.res.network.public-ip-address.yml index dd1a16c206..db2f9861ef 100644 --- a/.github/workflows/avm.res.network.public-ip-address.yml +++ b/.github/workflows/avm.res.network.public-ip-address.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.public-ip-address.yml" - "avm/res/network/public-ip-address/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.public-ip-prefix.yml b/.github/workflows/avm.res.network.public-ip-prefix.yml index d0ebbad7ff..336fc5d787 100644 --- a/.github/workflows/avm.res.network.public-ip-prefix.yml +++ b/.github/workflows/avm.res.network.public-ip-prefix.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.public-ip-prefix.yml" - "avm/res/network/public-ip-prefix/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.route-table.yml b/.github/workflows/avm.res.network.route-table.yml index ddd13e6257..b9813a76bb 100644 --- a/.github/workflows/avm.res.network.route-table.yml +++ b/.github/workflows/avm.res.network.route-table.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.route-table.yml" - "avm/res/network/route-table/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.service-endpoint-policy.yml b/.github/workflows/avm.res.network.service-endpoint-policy.yml index 5c4b44169b..3323b4390a 100644 --- a/.github/workflows/avm.res.network.service-endpoint-policy.yml +++ b/.github/workflows/avm.res.network.service-endpoint-policy.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.service-endpoint-policy.yml" - "avm/res/network/service-endpoint-policy/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.trafficmanagerprofile.yml b/.github/workflows/avm.res.network.trafficmanagerprofile.yml index 4faa318feb..9afcb8ebde 100644 --- a/.github/workflows/avm.res.network.trafficmanagerprofile.yml +++ b/.github/workflows/avm.res.network.trafficmanagerprofile.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.trafficmanagerprofile" - "avm/res/network/trafficmanagerprofile/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.virtual-hub.yml b/.github/workflows/avm.res.network.virtual-hub.yml index 4b5b692e1a..a39ab4658c 100644 --- a/.github/workflows/avm.res.network.virtual-hub.yml +++ b/.github/workflows/avm.res.network.virtual-hub.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.virtual-hub.yml" - "avm/res/network/virtual-hub/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.virtual-network-gateway.yml b/.github/workflows/avm.res.network.virtual-network-gateway.yml index b282173ade..ed9df96043 100644 --- a/.github/workflows/avm.res.network.virtual-network-gateway.yml +++ b/.github/workflows/avm.res.network.virtual-network-gateway.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.virtual-network-gateway.yml" - "avm/res/network/virtual-network-gateway/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.virtual-network.yml b/.github/workflows/avm.res.network.virtual-network.yml index ecf515a1e8..461c091984 100644 --- a/.github/workflows/avm.res.network.virtual-network.yml +++ b/.github/workflows/avm.res.network.virtual-network.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.virtual-network.yml" - "avm/res/network/virtual-network/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.virtual-wan.yml b/.github/workflows/avm.res.network.virtual-wan.yml index b8c4fc5056..641703d8c5 100644 --- a/.github/workflows/avm.res.network.virtual-wan.yml +++ b/.github/workflows/avm.res.network.virtual-wan.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.virtual-wan.yml" - "avm/res/network/virtual-wan/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.vpn-gateway.yml b/.github/workflows/avm.res.network.vpn-gateway.yml index 41942595f4..aee1ffaaf0 100644 --- a/.github/workflows/avm.res.network.vpn-gateway.yml +++ b/.github/workflows/avm.res.network.vpn-gateway.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.vpn-gateway.yml" - "avm/res/network/vpn-gateway/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.vpn-server-configuration.yml b/.github/workflows/avm.res.network.vpn-server-configuration.yml index 785cee942d..cf3de244bd 100644 --- a/.github/workflows/avm.res.network.vpn-server-configuration.yml +++ b/.github/workflows/avm.res.network.vpn-server-configuration.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.vpn-server-configuration.yml" - "avm/res/network/vpn-server-configuration/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.network.vpn-site.yml b/.github/workflows/avm.res.network.vpn-site.yml index 5c7ebd8a47..a76480f8b0 100644 --- a/.github/workflows/avm.res.network.vpn-site.yml +++ b/.github/workflows/avm.res.network.vpn-site.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.vpn-site.yml" - "avm/res/network/vpn-site/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.operational-insights.workspace.yml b/.github/workflows/avm.res.operational-insights.workspace.yml index 3d32744b8b..8922c05cd7 100644 --- a/.github/workflows/avm.res.operational-insights.workspace.yml +++ b/.github/workflows/avm.res.operational-insights.workspace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.operational-insights.workspace.yml" - "avm/res/operational-insights/workspace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.operations-management.solution.yml b/.github/workflows/avm.res.operations-management.solution.yml index 9959d4d3f4..71d185693b 100644 --- a/.github/workflows/avm.res.operations-management.solution.yml +++ b/.github/workflows/avm.res.operations-management.solution.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.operations-management.solution.yml" - "avm/res/operations-management/solution/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.portal.dashboard.yml b/.github/workflows/avm.res.portal.dashboard.yml index 266a01ecfb..46d5daed66 100644 --- a/.github/workflows/avm.res.portal.dashboard.yml +++ b/.github/workflows/avm.res.portal.dashboard.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.portal.dashboard.yml" - "avm/res/portal/dashboard/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.power-bi-dedicated.capacity.yml b/.github/workflows/avm.res.power-bi-dedicated.capacity.yml index b86d28ceb7..c2009b0f98 100644 --- a/.github/workflows/avm.res.power-bi-dedicated.capacity.yml +++ b/.github/workflows/avm.res.power-bi-dedicated.capacity.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.power-bi-dedicated.capacity.yml" - "avm/res/power-bi-dedicated/capacity/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.purview.account.yml b/.github/workflows/avm.res.purview.account.yml index 92fc1f61e0..2d1f2d0a9c 100644 --- a/.github/workflows/avm.res.purview.account.yml +++ b/.github/workflows/avm.res.purview.account.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.purview.account.yml" - "avm/res/purview/account/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.recovery-services.vault.yml b/.github/workflows/avm.res.recovery-services.vault.yml index a001913663..2eabc6fc25 100644 --- a/.github/workflows/avm.res.recovery-services.vault.yml +++ b/.github/workflows/avm.res.recovery-services.vault.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.recovery-services.vault.yml" - "avm/res/recovery-services/vault/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.relay.namespace.yml b/.github/workflows/avm.res.relay.namespace.yml index f380d776fb..b818a34ef1 100644 --- a/.github/workflows/avm.res.relay.namespace.yml +++ b/.github/workflows/avm.res.relay.namespace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.relay.namespace.yml" - "avm/res/relay/namespace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.resource-graph.query.yml b/.github/workflows/avm.res.resource-graph.query.yml index 8563d48ba1..43a09bac61 100644 --- a/.github/workflows/avm.res.resource-graph.query.yml +++ b/.github/workflows/avm.res.resource-graph.query.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.resource-graph.query.yml" - "avm/res/resource-graph/query/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.resources.deployment-script.yml b/.github/workflows/avm.res.resources.deployment-script.yml index db745a08f6..f9f2f217e7 100644 --- a/.github/workflows/avm.res.resources.deployment-script.yml +++ b/.github/workflows/avm.res.resources.deployment-script.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.resources.deployment-script" - "avm/res/resources/deployment-script/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.resources.resource-group.yml b/.github/workflows/avm.res.resources.resource-group.yml index 962384244c..64147fced5 100644 --- a/.github/workflows/avm.res.resources.resource-group.yml +++ b/.github/workflows/avm.res.resources.resource-group.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.resources.resource-group.yml" - "avm/res/resources/resource-group/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.search.search-service.yml b/.github/workflows/avm.res.search.search-service.yml index 20532f9047..4b16ac3873 100644 --- a/.github/workflows/avm.res.search.search-service.yml +++ b/.github/workflows/avm.res.search.search-service.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.search.search-service.yml" - "avm/res/search/search-service/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.service-bus.namespace.yml b/.github/workflows/avm.res.service-bus.namespace.yml index edc4a19e3c..84fa9812d4 100644 --- a/.github/workflows/avm.res.service-bus.namespace.yml +++ b/.github/workflows/avm.res.service-bus.namespace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.service-bus.namespace.yml" - "avm/res/service-bus/namespace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.service-fabric.cluster.yml b/.github/workflows/avm.res.service-fabric.cluster.yml index 2de9c4e203..a0d9d3e722 100644 --- a/.github/workflows/avm.res.service-fabric.cluster.yml +++ b/.github/workflows/avm.res.service-fabric.cluster.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.service-fabric.cluster.yml" - "avm/res/service-fabric/cluster/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.service-networking.traffic-controller.yml b/.github/workflows/avm.res.service-networking.traffic-controller.yml index 775de7a740..9a3255d274 100644 --- a/.github/workflows/avm.res.service-networking.traffic-controller.yml +++ b/.github/workflows/avm.res.service-networking.traffic-controller.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.service-networking.traffic-controller.yml" - "avm/res/service-networking/traffic-controller/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.signal-r-service.signal-r.yml b/.github/workflows/avm.res.signal-r-service.signal-r.yml index 512ba9c5d0..a72ed882a8 100644 --- a/.github/workflows/avm.res.signal-r-service.signal-r.yml +++ b/.github/workflows/avm.res.signal-r-service.signal-r.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.signal-r-service.signal-r.yml" - "avm/res/signal-r-service/signal-r/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.signal-r-service.web-pub-sub.yml b/.github/workflows/avm.res.signal-r-service.web-pub-sub.yml index 4021e715ad..20fcc2a2df 100644 --- a/.github/workflows/avm.res.signal-r-service.web-pub-sub.yml +++ b/.github/workflows/avm.res.signal-r-service.web-pub-sub.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.signal-r-service.web-pub-sub.yml" - "avm/res/signal-r-service/web-pub-sub/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.sql.instance-pool.yml b/.github/workflows/avm.res.sql.instance-pool.yml index 3a9a30f66e..2ac9f14520 100644 --- a/.github/workflows/avm.res.sql.instance-pool.yml +++ b/.github/workflows/avm.res.sql.instance-pool.yml @@ -31,8 +31,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.sql.instance-pool.yml" - "avm/res/sql/instance-pool/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.sql.managed-instance.yml b/.github/workflows/avm.res.sql.managed-instance.yml index da514ec6ce..c8bec9ff49 100644 --- a/.github/workflows/avm.res.sql.managed-instance.yml +++ b/.github/workflows/avm.res.sql.managed-instance.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.sql.managed-instance.yml" - "avm/res/sql/managed-instance/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.sql.server.yml b/.github/workflows/avm.res.sql.server.yml index b19b362ff6..770c80ebbd 100644 --- a/.github/workflows/avm.res.sql.server.yml +++ b/.github/workflows/avm.res.sql.server.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.sql.server.yml" - "avm/res/sql/server/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.storage.storage-account.yml b/.github/workflows/avm.res.storage.storage-account.yml index 5716f929f1..e0294c4696 100644 --- a/.github/workflows/avm.res.storage.storage-account.yml +++ b/.github/workflows/avm.res.storage.storage-account.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.storage.storage-account.yml" - "avm/res/storage/storage-account/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.synapse.private-link-hub.yml b/.github/workflows/avm.res.synapse.private-link-hub.yml index 800e9821b7..7e1a46cb51 100644 --- a/.github/workflows/avm.res.synapse.private-link-hub.yml +++ b/.github/workflows/avm.res.synapse.private-link-hub.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.synapse.private-link-hub.yml" - "avm/res/synapse/private-link-hub/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.synapse.workspace.yml b/.github/workflows/avm.res.synapse.workspace.yml index 472edc1681..55c9c92577 100644 --- a/.github/workflows/avm.res.synapse.workspace.yml +++ b/.github/workflows/avm.res.synapse.workspace.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.synapse.workspace.yml" - "avm/res/synapse/workspace/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.virtual-machine-images.image-template.yml b/.github/workflows/avm.res.virtual-machine-images.image-template.yml index 720c83908c..b47f2678d9 100644 --- a/.github/workflows/avm.res.virtual-machine-images.image-template.yml +++ b/.github/workflows/avm.res.virtual-machine-images.image-template.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.virtual-machine-images.image-template.yml" - "avm/res/virtual-machine-images/image-template/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.web.connection.yml b/.github/workflows/avm.res.web.connection.yml index 38b29ab039..822538dc26 100644 --- a/.github/workflows/avm.res.web.connection.yml +++ b/.github/workflows/avm.res.web.connection.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.web.connection.yml" - "avm/res/web/connection/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.web.hosting-environment.yml b/.github/workflows/avm.res.web.hosting-environment.yml index 5ae62e6a11..e7958a17ae 100644 --- a/.github/workflows/avm.res.web.hosting-environment.yml +++ b/.github/workflows/avm.res.web.hosting-environment.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.web.hosting-environment.yml" - "avm/res/web/hosting-environment/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.web.serverfarm.yml b/.github/workflows/avm.res.web.serverfarm.yml index 999fae66a1..e07608e94b 100644 --- a/.github/workflows/avm.res.web.serverfarm.yml +++ b/.github/workflows/avm.res.web.serverfarm.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.web.serverfarm.yml" - "avm/res/web/serverfarm/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.web.site.yml b/.github/workflows/avm.res.web.site.yml index 8172e585b8..3011026915 100644 --- a/.github/workflows/avm.res.web.site.yml +++ b/.github/workflows/avm.res.web.site.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.web.site.yml" - "avm/res/web/site/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.res.web.static-site.yml b/.github/workflows/avm.res.web.static-site.yml index ba993bde88..8b9023d364 100644 --- a/.github/workflows/avm.res.web.static-site.yml +++ b/.github/workflows/avm.res.web.static-site.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.web.static-site.yml" - "avm/res/web/static-site/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.template.module.yml b/.github/workflows/avm.template.module.yml index f7b409ce9a..6bcdc747a3 100644 --- a/.github/workflows/avm.template.module.yml +++ b/.github/workflows/avm.template.module.yml @@ -69,7 +69,7 @@ jobs: templateFilePath: "${{ inputs.modulePath }}/${{ matrix.testCases.path }}" subscriptionId: "${{ secrets.ARM_SUBSCRIPTION_ID }}" managementGroupId: "${{ secrets.ARM_MGMTGROUP_ID }}" - psrulePath: "avm/utilities/pipelines/staticValidation/psrule" #'${{ github.workspace }}/avm' + psrulePath: "/utilities/pipelines/staticValidation/psrule" #'${{ github.workspace }}/avm' psruleBaseline: "Azure.Default" job_psrule_test_waf_reliability: # Note: Please don't change this job name. It is used by the setEnvironment action to define which PS modules to install on runners. @@ -91,7 +91,7 @@ jobs: templateFilePath: "${{ inputs.modulePath }}/${{ matrix.testCases.path }}" subscriptionId: "${{ secrets.ARM_SUBSCRIPTION_ID }}" managementGroupId: "${{ secrets.ARM_MGMTGROUP_ID }}" - psrulePath: "avm/utilities/pipelines/staticValidation/psrule" #'${{ github.workspace }}/avm' + psrulePath: "/utilities/pipelines/staticValidation/psrule" #'${{ github.workspace }}/avm' psruleBaseline: "Azure.Pillar.Reliability" job_psrule_test_waf_security_cb: # Note: Please don't change this job name. It is used by the setEnvironment action to define which PS modules to install on runners. @@ -113,7 +113,7 @@ jobs: templateFilePath: "${{ inputs.modulePath }}/${{ matrix.testCases.path }}" subscriptionId: "${{ secrets.ARM_SUBSCRIPTION_ID }}" managementGroupId: "${{ secrets.ARM_MGMTGROUP_ID }}" - psrulePath: "avm/utilities/pipelines/staticValidation/psrule" #'${{ github.workspace }}/avm' + psrulePath: "/utilities/pipelines/staticValidation/psrule" #'${{ github.workspace }}/avm' psruleBaseline: "CB.AVM.WAF.Security" job_psrule_test_waf_security: # Note: Please don't change this job name. It is used by the setEnvironment action to define which PS modules to install on runners. @@ -135,7 +135,7 @@ jobs: templateFilePath: "${{ inputs.modulePath }}/${{ matrix.testCases.path }}" subscriptionId: "${{ secrets.ARM_SUBSCRIPTION_ID }}" managementGroupId: "${{ secrets.ARM_MGMTGROUP_ID }}" - psrulePath: "avm/utilities/pipelines/staticValidation/psrule" #'${{ github.workspace }}/avm' + psrulePath: "/utilities/pipelines/staticValidation/psrule" #'${{ github.workspace }}/avm' psruleBaseline: "Azure.Pillar.Security" ############################# diff --git a/.github/workflows/avm.utl.types.avm-common-types.yml b/.github/workflows/avm.utl.types.avm-common-types.yml index f2eac7c8c0..8918b95ebd 100644 --- a/.github/workflows/avm.utl.types.avm-common-types.yml +++ b/.github/workflows/avm.utl.types.avm-common-types.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.utl.types.avm-common-types.yml" - "avm/utl/types/avm-common-types/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/platform.check.psrule.yml b/.github/workflows/platform.check.psrule.yml index c0a294a0a2..db7d948044 100644 --- a/.github/workflows/platform.check.psrule.yml +++ b/.github/workflows/platform.check.psrule.yml @@ -29,7 +29,7 @@ env: PSRuleOutputFilePath: "avm/res/PSRule-output.csv" PSRuleInputFilePath: "avm/res/PSRule-output.md" psRuleFilterRegex: "(defaults|waf-aligned)" # The regex used to filter PSRule compliant files - psrulePath: "avm/utilities/pipelines/staticValidation/psrule" + psrulePath: "utilities/pipelines/staticValidation/psrule" ARM_SUBSCRIPTION_ID: "${{ secrets.ARM_SUBSCRIPTION_ID }}" ARM_MGMTGROUP_ID: "${{ secrets.ARM_MGMTGROUP_ID }}" TOKEN_NAMEPREFIX: "${{ secrets.TOKEN_NAMEPREFIX }}" @@ -82,8 +82,8 @@ jobs: Write-Output '::group::Replace tokens in relevant files' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-LocallyReferencedFileList.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Get-LocallyReferencedFileList.ps1') $targetPath = Join-Path $env:GITHUB_WORKSPACE '${{ env.targetPath }}' $psRuleFilterRegex = '${{ env.psRuleFilterRegex }}' @@ -163,7 +163,7 @@ jobs: Write-Output '::group::Parse CSV content' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'staticValidation' 'psrule' 'Set-PSRuleGitHubOutput.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'staticValidation' 'psrule' 'Set-PSRuleGitHubOutput.ps1') # Populate parameter input $ParameterInput = @{ diff --git a/.github/workflows/platform.ci-tests.yml b/.github/workflows/platform.ci-tests.yml index 44f509c72d..b7684912d2 100644 --- a/.github/workflows/platform.ci-tests.yml +++ b/.github/workflows/platform.ci-tests.yml @@ -13,7 +13,7 @@ on: - main paths: - ".github/workflows/platform.ci-tests.yml" - - "avm/utilities/**" + - "utilities/**" - "!*/**/README.md" schedule: - cron: "0 0 * * Sun" # Every Sunday @@ -65,7 +65,7 @@ jobs: with: inlineScript: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'tests' 'Test-CI.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'tests' 'Test-CI.ps1') $functionInput = @{ RepoRootPath = $env:GITHUB_WORKSPACE @@ -97,4 +97,4 @@ jobs: Get-Content $mdPesterOutputFilePath >> $env:GITHUB_STEP_SUMMARY Write-Verbose ('Successfully printed out file [{0}] to Job Summaries' -f $mdPesterOutputFilePath) -Verbose } - Write-Output '::endgroup::' \ No newline at end of file + Write-Output '::endgroup::' diff --git a/.github/workflows/platform.deployment.history.cleanup.yml b/.github/workflows/platform.deployment.history.cleanup.yml index d098f1cae6..af5fe2db75 100644 --- a/.github/workflows/platform.deployment.history.cleanup.yml +++ b/.github/workflows/platform.deployment.history.cleanup.yml @@ -83,7 +83,7 @@ jobs: with: inlineScript: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'deploymentRemoval' 'Clear-SubscriptionDeploymentHistory.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'deploymentRemoval' 'Clear-SubscriptionDeploymentHistory.ps1') $functionInput = @{ SubscriptionId = '${{ secrets.ARM_SUBSCRIPTION_ID }}' @@ -132,7 +132,7 @@ jobs: with: inlineScript: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'deploymentRemoval' 'Clear-ManagementGroupDeploymentHistory.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'deploymentRemoval' 'Clear-ManagementGroupDeploymentHistory.ps1') $mgmtGroupIdInput = '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).customManagementGroupId }}' diff --git a/.github/workflows/platform.manage-workflow-issue.yml b/.github/workflows/platform.manage-workflow-issue.yml index 9b36fb37ad..5793c5b833 100644 --- a/.github/workflows/platform.manage-workflow-issue.yml +++ b/.github/workflows/platform.manage-workflow-issue.yml @@ -27,7 +27,7 @@ jobs: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} run: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'Set-AvmGithubIssueForWorkflow.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'Set-AvmGithubIssueForWorkflow.ps1') $functionInput = @{ Repo = "${{ github.repository_owner }}/${{ github.event.repository.name }}" diff --git a/.github/workflows/platform.publish-module-index-json.yml b/.github/workflows/platform.publish-module-index-json.yml index cc3fc468b6..bfc7d257b9 100644 --- a/.github/workflows/platform.publish-module-index-json.yml +++ b/.github/workflows/platform.publish-module-index-json.yml @@ -50,7 +50,7 @@ jobs: shell: pwsh run: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'Invoke-AvmJsonModuleIndexGeneration.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'Invoke-AvmJsonModuleIndexGeneration.ps1') $functionInput = @{ storageAccountName = 'biceplivedatasaprod' diff --git a/.github/workflows/platform.publish-tag.yml b/.github/workflows/platform.publish-tag.yml index cf5c8d2f38..e398a3afbf 100644 --- a/.github/workflows/platform.publish-tag.yml +++ b/.github/workflows/platform.publish-tag.yml @@ -52,7 +52,7 @@ jobs: Write-Output '::group::Publish tagged module to public bicep registry' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'Publish-ModuleFromTagToPBR.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'Publish-ModuleFromTagToPBR.ps1') $functionInput = @{ ModuleReleaseTagName = '${{ github.event.inputs.tag }}' @@ -82,7 +82,7 @@ jobs: Write-Output '::group::Validate publish' # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'publish' 'Confirm-ModuleIsPublished.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'publish' 'Confirm-ModuleIsPublished.ps1') $functionInput = @{ Version = "${{ steps.publish_tag.outputs.version }}" diff --git a/.github/workflows/platform.set-avm-github-issue-owner-config.yml b/.github/workflows/platform.set-avm-github-issue-owner-config.yml index 306ced95b9..6d50ed5739 100644 --- a/.github/workflows/platform.set-avm-github-issue-owner-config.yml +++ b/.github/workflows/platform.set-avm-github-issue-owner-config.yml @@ -27,7 +27,7 @@ jobs: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} run: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'Set-AvmGitHubIssueOwnerConfig.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'Set-AvmGitHubIssueOwnerConfig.ps1') $functionInput = @{ Repo = "${{ github.repository_owner }}/${{ github.event.repository.name }}" diff --git a/.github/workflows/platform.set-avm-github-pr-labels.yml b/.github/workflows/platform.set-avm-github-pr-labels.yml index e273937a9d..489a59aea3 100644 --- a/.github/workflows/platform.set-avm-github-pr-labels.yml +++ b/.github/workflows/platform.set-avm-github-pr-labels.yml @@ -28,7 +28,7 @@ jobs: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} run: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'Set-AvmGitHubPrLabels.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'Set-AvmGitHubPrLabels.ps1') $functionInput = @{ RepoRoot = $env:GITHUB_WORKSPACE diff --git a/.github/workflows/platform.sync-avm-modules-list.yml b/.github/workflows/platform.sync-avm-modules-list.yml index 06c584a7ff..b147c98803 100644 --- a/.github/workflows/platform.sync-avm-modules-list.yml +++ b/.github/workflows/platform.sync-avm-modules-list.yml @@ -27,7 +27,7 @@ jobs: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} run: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'Sync-AvmModulesList.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'Sync-AvmModulesList.ps1') $functionInput = @{ Repo = "${{ github.repository_owner }}/${{ github.event.repository.name }}" diff --git a/.github/workflows/platform.toggle-avm-workflows.yml b/.github/workflows/platform.toggle-avm-workflows.yml index 2c119b2473..a3cd5de7da 100644 --- a/.github/workflows/platform.toggle-avm-workflows.yml +++ b/.github/workflows/platform.toggle-avm-workflows.yml @@ -37,7 +37,7 @@ jobs: shell: pwsh run: | # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'avm' 'utilities' 'pipelines' 'platform' 'Switch-WorkflowState.ps1') + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'platform' 'Switch-WorkflowState.ps1') $functionInput = @{ RepositoryOwner = '${{ github.repository_owner }}' diff --git a/avm/ptn/network/hub-networking/tests/e2e/max/main.test.bicep b/avm/ptn/network/hub-networking/tests/e2e/max/main.test.bicep index 5ff56e9d23..4a21691f16 100644 --- a/avm/ptn/network/hub-networking/tests/e2e/max/main.test.bicep +++ b/avm/ptn/network/hub-networking/tests/e2e/max/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2023-07-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/ptn/network/hub-networking/tests/e2e/no-addons/main.test.bicep b/avm/ptn/network/hub-networking/tests/e2e/no-addons/main.test.bicep index 12d7a9613a..12609a3e9b 100644 --- a/avm/ptn/network/hub-networking/tests/e2e/no-addons/main.test.bicep +++ b/avm/ptn/network/hub-networking/tests/e2e/no-addons/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2023-07-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/ptn/network/hub-networking/tests/e2e/waf-aligned/main.test.bicep b/avm/ptn/network/hub-networking/tests/e2e/waf-aligned/main.test.bicep index 6ff9b3a5e9..6f251b05db 100644 --- a/avm/ptn/network/hub-networking/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/ptn/network/hub-networking/tests/e2e/waf-aligned/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2023-07-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/ptn/virtual-machine-images/azure-image-builder/tests/e2e/deployOnlyImage/dependencies.bicep b/avm/ptn/virtual-machine-images/azure-image-builder/tests/e2e/deployOnlyImage/dependencies.bicep index 7a4eb4a7c3..5890c0bccf 100644 --- a/avm/ptn/virtual-machine-images/azure-image-builder/tests/e2e/deployOnlyImage/dependencies.bicep +++ b/avm/ptn/virtual-machine-images/azure-image-builder/tests/e2e/deployOnlyImage/dependencies.bicep @@ -236,7 +236,7 @@ module storageAccount_upload 'br/public:avm/res/resources/deployment-script:0.4. ) ] } - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1') environmentVariables: [ { name: '__SCRIPT__${replace(replace(exampleScriptName, '-', '__'), '.', '_') }' // May only be alphanumeric characters & underscores. The upload will replace '_' with '.' and '__' with '-'. E.g., Install__LinuxPowerShell_sh will be Install-LinuxPowerShell.sh diff --git a/avm/res/aad/domain-service/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/aad/domain-service/tests/e2e/waf-aligned/dependencies.bicep index c8b8141b55..dc0c42fb5d 100644 --- a/avm/res/aad/domain-service/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/aad/domain-service/tests/e2e/waf-aligned/dependencies.bicep @@ -152,7 +152,7 @@ resource certDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '11.0' retentionInterval: 'P1D' arguments: ' -KeyVaultName "${keyVault.name}" -ResourceGroupName "${resourceGroup().name}" -NamePrefix "${namePrefix}" -CertPWSecretName "${certPWSecretName}" -CertSecretName "${certSecretName}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-PfxCertificateInKeyVault.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-PfxCertificateInKeyVault.ps1') } } diff --git a/avm/res/aad/domain-service/tests/e2e/waf-aligned/main.test.bicep b/avm/res/aad/domain-service/tests/e2e/waf-aligned/main.test.bicep index 90db155b23..eb384ce5e5 100644 --- a/avm/res/aad/domain-service/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/aad/domain-service/tests/e2e/waf-aligned/main.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/analysis-services/server/tests/e2e/max/main.test.bicep b/avm/res/analysis-services/server/tests/e2e/max/main.test.bicep index f935420cc4..329aa817a7 100644 --- a/avm/res/analysis-services/server/tests/e2e/max/main.test.bicep +++ b/avm/res/analysis-services/server/tests/e2e/max/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/analysis-services/server/tests/e2e/waf-aligned/main.test.bicep b/avm/res/analysis-services/server/tests/e2e/waf-aligned/main.test.bicep index aeab0feba2..7c89bbdcdf 100644 --- a/avm/res/analysis-services/server/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/analysis-services/server/tests/e2e/waf-aligned/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/api-management/service/tests/e2e/max/main.test.bicep b/avm/res/api-management/service/tests/e2e/max/main.test.bicep index e0419365c5..066da61641 100644 --- a/avm/res/api-management/service/tests/e2e/max/main.test.bicep +++ b/avm/res/api-management/service/tests/e2e/max/main.test.bicep @@ -54,7 +54,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/api-management/service/tests/e2e/waf-aligned/main.test.bicep b/avm/res/api-management/service/tests/e2e/waf-aligned/main.test.bicep index b94ad37da7..6bef96d931 100644 --- a/avm/res/api-management/service/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/api-management/service/tests/e2e/waf-aligned/main.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/app-configuration/configuration-store/tests/e2e/max/main.test.bicep b/avm/res/app-configuration/configuration-store/tests/e2e/max/main.test.bicep index 77b1a83195..445c4d39ea 100644 --- a/avm/res/app-configuration/configuration-store/tests/e2e/max/main.test.bicep +++ b/avm/res/app-configuration/configuration-store/tests/e2e/max/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/app-configuration/configuration-store/tests/e2e/waf-aligned/main.test.bicep b/avm/res/app-configuration/configuration-store/tests/e2e/waf-aligned/main.test.bicep index eb10d5c8c4..37ae199e41 100644 --- a/avm/res/app-configuration/configuration-store/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/app-configuration/configuration-store/tests/e2e/waf-aligned/main.test.bicep @@ -36,7 +36,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2023-07-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/app/managed-environment/tests/e2e/max/dependencies.bicep b/avm/res/app/managed-environment/tests/e2e/max/dependencies.bicep index becf14af2e..7ced37f959 100644 --- a/avm/res/app/managed-environment/tests/e2e/max/dependencies.bicep +++ b/avm/res/app/managed-environment/tests/e2e/max/dependencies.bicep @@ -138,7 +138,7 @@ resource certDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-KeyVaultName "${keyVault.name}" -CertName "${certname}" -CertSubjectName "CN=*.contoso.com"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') } } diff --git a/avm/res/automation/automation-account/tests/e2e/max/main.test.bicep b/avm/res/automation/automation-account/tests/e2e/max/main.test.bicep index afcdf60468..03899a109b 100644 --- a/avm/res/automation/automation-account/tests/e2e/max/main.test.bicep +++ b/avm/res/automation/automation-account/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/automation/automation-account/tests/e2e/waf-aligned/main.test.bicep b/avm/res/automation/automation-account/tests/e2e/waf-aligned/main.test.bicep index 4ee50b8f61..c5ae757c3d 100644 --- a/avm/res/automation/automation-account/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/automation/automation-account/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/batch/batch-account/tests/e2e/max/main.test.bicep b/avm/res/batch/batch-account/tests/e2e/max/main.test.bicep index c4d73d9a51..ace34e8ae9 100644 --- a/avm/res/batch/batch-account/tests/e2e/max/main.test.bicep +++ b/avm/res/batch/batch-account/tests/e2e/max/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/batch/batch-account/tests/e2e/waf-aligned/main.test.bicep b/avm/res/batch/batch-account/tests/e2e/waf-aligned/main.test.bicep index 76e945d9cb..9f1873f606 100644 --- a/avm/res/batch/batch-account/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/batch/batch-account/tests/e2e/waf-aligned/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/cache/redis/tests/e2e/max/main.test.bicep b/avm/res/cache/redis/tests/e2e/max/main.test.bicep index 2436361af9..06f6569f3d 100644 --- a/avm/res/cache/redis/tests/e2e/max/main.test.bicep +++ b/avm/res/cache/redis/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/cache/redis/tests/e2e/passive-geo-replication/dependencies1.bicep b/avm/res/cache/redis/tests/e2e/passive-geo-replication/dependencies1.bicep index b6d657fe00..4a216ba29e 100644 --- a/avm/res/cache/redis/tests/e2e/passive-geo-replication/dependencies1.bicep +++ b/avm/res/cache/redis/tests/e2e/passive-geo-replication/dependencies1.bicep @@ -38,7 +38,7 @@ resource getPairedRegionScript 'Microsoft.Resources/deploymentScripts@2020-10-01 azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-Location \\"${location}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') } dependsOn: [ roleAssignment diff --git a/avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep b/avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep index 3cdc69ffdb..4990361a97 100644 --- a/avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/cognitive-services/account/tests/e2e/max/main.test.bicep b/avm/res/cognitive-services/account/tests/e2e/max/main.test.bicep index 80c3f084d2..60eb917546 100644 --- a/avm/res/cognitive-services/account/tests/e2e/max/main.test.bicep +++ b/avm/res/cognitive-services/account/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/cognitive-services/account/tests/e2e/waf-aligned/main.test.bicep b/avm/res/cognitive-services/account/tests/e2e/waf-aligned/main.test.bicep index 70f18da307..7ac5aeccbd 100644 --- a/avm/res/cognitive-services/account/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/cognitive-services/account/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/communication/communication-service/tests/e2e/max/main.test.bicep b/avm/res/communication/communication-service/tests/e2e/max/main.test.bicep index 07f5039be6..f8c6fc0c07 100644 --- a/avm/res/communication/communication-service/tests/e2e/max/main.test.bicep +++ b/avm/res/communication/communication-service/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/communication/communication-service/tests/e2e/waf-aligned/main.test.bicep b/avm/res/communication/communication-service/tests/e2e/waf-aligned/main.test.bicep index 5dd224b6bf..af8521d1ae 100644 --- a/avm/res/communication/communication-service/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/communication/communication-service/tests/e2e/waf-aligned/main.test.bicep @@ -24,7 +24,7 @@ param namePrefix string = '#_namePrefix_#' // Dependencies // // ============ // -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/compute/disk/tests/e2e/import/dependencies.bicep b/avm/res/compute/disk/tests/e2e/import/dependencies.bicep index a7ecc85487..108455ddc5 100644 --- a/avm/res/compute/disk/tests/e2e/import/dependencies.bicep +++ b/avm/res/compute/disk/tests/e2e/import/dependencies.bicep @@ -108,7 +108,7 @@ resource triggerImageDeploymentScript 'Microsoft.Resources/deploymentScripts@202 azPowerShellVersion: '11.5' retentionInterval: 'P1D' arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1') cleanupPreference: 'OnSuccess' forceUpdateTag: baseTime } @@ -132,7 +132,7 @@ resource copyVhdDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10- azPowerShellVersion: '11.5' retentionInterval: 'P1D' arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\" -DestinationStorageAccountName \\"${storageAccount.name}\\" -VhdName \\"${imageTemplateName}\\" -WaitForComplete' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1') cleanupPreference: 'OnSuccess' forceUpdateTag: baseTime } diff --git a/avm/res/compute/image/tests/e2e/defaults/dependencies.bicep b/avm/res/compute/image/tests/e2e/defaults/dependencies.bicep index 6c21b2ab5f..4065687513 100644 --- a/avm/res/compute/image/tests/e2e/defaults/dependencies.bicep +++ b/avm/res/compute/image/tests/e2e/defaults/dependencies.bicep @@ -109,7 +109,7 @@ resource triggerImageDeploymentScript 'Microsoft.Resources/deploymentScripts@202 azPowerShellVersion: '11.5' // Source: https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list retentionInterval: 'P1D' arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1') cleanupPreference: 'OnSuccess' forceUpdateTag: baseTime } @@ -133,7 +133,7 @@ resource copyVhdDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10- azPowerShellVersion: '11.5' // Source: https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list retentionInterval: 'P1D' arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\" -DestinationStorageAccountName \\"${storageAccount.name}\\" -VhdName \\"${imageTemplateNamePrefix}\\" -WaitForComplete' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1') cleanupPreference: 'OnSuccess' forceUpdateTag: baseTime } diff --git a/avm/res/compute/image/tests/e2e/max/dependencies.bicep b/avm/res/compute/image/tests/e2e/max/dependencies.bicep index fa6999fae7..dd866738eb 100644 --- a/avm/res/compute/image/tests/e2e/max/dependencies.bicep +++ b/avm/res/compute/image/tests/e2e/max/dependencies.bicep @@ -115,7 +115,7 @@ resource triggerImageDeploymentScript 'Microsoft.Resources/deploymentScripts@202 azPowerShellVersion: '11.5' // Source: https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list retentionInterval: 'P1D' arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1') cleanupPreference: 'OnSuccess' forceUpdateTag: baseTime } @@ -139,7 +139,7 @@ resource copyVhdDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10- azPowerShellVersion: '11.5' // Source: https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list retentionInterval: 'P1D' arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\" -DestinationStorageAccountName \\"${storageAccount.name}\\" -VhdName \\"${imageTemplateNamePrefix}\\" -WaitForComplete' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1') cleanupPreference: 'OnSuccess' forceUpdateTag: baseTime } diff --git a/avm/res/compute/image/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/compute/image/tests/e2e/waf-aligned/dependencies.bicep index fa6999fae7..dd866738eb 100644 --- a/avm/res/compute/image/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/compute/image/tests/e2e/waf-aligned/dependencies.bicep @@ -115,7 +115,7 @@ resource triggerImageDeploymentScript 'Microsoft.Resources/deploymentScripts@202 azPowerShellVersion: '11.5' // Source: https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list retentionInterval: 'P1D' arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1') cleanupPreference: 'OnSuccess' forceUpdateTag: baseTime } @@ -139,7 +139,7 @@ resource copyVhdDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10- azPowerShellVersion: '11.5' // Source: https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list retentionInterval: 'P1D' arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\" -DestinationStorageAccountName \\"${storageAccount.name}\\" -VhdName \\"${imageTemplateNamePrefix}\\" -WaitForComplete' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1') cleanupPreference: 'OnSuccess' forceUpdateTag: baseTime } diff --git a/avm/res/compute/ssh-public-key/tests/e2e/max/dependencies.bicep b/avm/res/compute/ssh-public-key/tests/e2e/max/dependencies.bicep index 24bbd4da01..79ed631a9a 100644 --- a/avm/res/compute/ssh-public-key/tests/e2e/max/dependencies.bicep +++ b/avm/res/compute/ssh-public-key/tests/e2e/max/dependencies.bicep @@ -45,7 +45,7 @@ resource createPubKeyScript 'Microsoft.Resources/deploymentScripts@2020-10-01' = azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-ResourceGroupName ${resourceGroup().name} -SSHKeyName ${sshKeyName}' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') cleanupPreference: 'OnExpiration' forceUpdateTag: utcValue } diff --git a/avm/res/compute/ssh-public-key/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/compute/ssh-public-key/tests/e2e/waf-aligned/dependencies.bicep index 7de3a73841..c8a2dfc407 100644 --- a/avm/res/compute/ssh-public-key/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/compute/ssh-public-key/tests/e2e/waf-aligned/dependencies.bicep @@ -45,7 +45,7 @@ resource createPubKeyScript 'Microsoft.Resources/deploymentScripts@2020-10-01' = azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-ResourceGroupName ${resourceGroup().name} -SSHKeyName ${sshKeyName}' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') cleanupPreference: 'OnExpiration' forceUpdateTag: utcValue } diff --git a/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.defaults/dependencies.bicep b/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.defaults/dependencies.bicep index a7e3e62938..2746c5a99a 100644 --- a/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.defaults/dependencies.bicep +++ b/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.defaults/dependencies.bicep @@ -67,7 +67,7 @@ resource sshDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-SSHKeyName "${sshKeyName}" -ResourceGroupName "${resourceGroup().name}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.max/dependencies.bicep b/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.max/dependencies.bicep index 65cf9669af..845329720f 100644 --- a/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.max/dependencies.bicep +++ b/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.max/dependencies.bicep @@ -132,7 +132,7 @@ resource storageUpload 'Microsoft.Resources/deploymentScripts@2020-10-01' = { azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-StorageAccountName "${storageAccount.name}" -ResourceGroupName "${resourceGroup().name}" -ContainerName "${storageAccount::blobService::container.name}" -FileName "${storageAccountCSEFileName}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') } dependsOn: [ msiRGContrRoleAssignment @@ -153,7 +153,7 @@ resource sshDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-SSHKeyName "${sshKeyName}" -ResourceGroupName "${resourceGroup().name}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.max/main.test.bicep b/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.max/main.test.bicep index 1a1d226be0..595774a155 100644 --- a/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.max/main.test.bicep +++ b/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.max/main.test.bicep @@ -52,7 +52,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.ssecmk/dependencies.bicep b/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.ssecmk/dependencies.bicep index 4d041e8ada..dec16728f2 100644 --- a/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.ssecmk/dependencies.bicep +++ b/avm/res/compute/virtual-machine-scale-set/tests/e2e/linux.ssecmk/dependencies.bicep @@ -129,7 +129,7 @@ resource sshDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-SSHKeyName "${sshKeyName}" -ResourceGroupName "${resourceGroup().name}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.max/dependencies.bicep b/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.max/dependencies.bicep index 38258f3bc7..f67798fc27 100644 --- a/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.max/dependencies.bicep +++ b/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.max/dependencies.bicep @@ -126,7 +126,7 @@ resource storageUpload 'Microsoft.Resources/deploymentScripts@2020-10-01' = { azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-StorageAccountName "${storageAccount.name}" -ResourceGroupName "${resourceGroup().name}" -ContainerName "${storageAccount::blobService::container.name}" -FileName "${storageAccountCSEFileName}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.max/main.test.bicep b/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.max/main.test.bicep index 2200317521..cd03426244 100644 --- a/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.max/main.test.bicep +++ b/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.max/main.test.bicep @@ -50,7 +50,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.waf-aligned/dependencies.bicep b/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.waf-aligned/dependencies.bicep index 38258f3bc7..f67798fc27 100644 --- a/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.waf-aligned/dependencies.bicep +++ b/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.waf-aligned/dependencies.bicep @@ -126,7 +126,7 @@ resource storageUpload 'Microsoft.Resources/deploymentScripts@2020-10-01' = { azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-StorageAccountName "${storageAccount.name}" -ResourceGroupName "${resourceGroup().name}" -ContainerName "${storageAccount::blobService::container.name}" -FileName "${storageAccountCSEFileName}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.waf-aligned/main.test.bicep b/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.waf-aligned/main.test.bicep index 628decf330..ec8882535a 100644 --- a/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.waf-aligned/main.test.bicep +++ b/avm/res/compute/virtual-machine-scale-set/tests/e2e/windows.waf-aligned/main.test.bicep @@ -50,7 +50,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/compute/virtual-machine/tests/e2e/atmg/dependencies.bicep b/avm/res/compute/virtual-machine/tests/e2e/atmg/dependencies.bicep index 0220a7709f..b71a7c79a6 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/atmg/dependencies.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/atmg/dependencies.bicep @@ -67,7 +67,7 @@ resource sshDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: ' -SSHKeyName "${sshKeyName}" -ResourceGroupName "${resourceGroup().name}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine/tests/e2e/linux.defaults/dependencies.bicep b/avm/res/compute/virtual-machine/tests/e2e/linux.defaults/dependencies.bicep index b5a21f571b..c9a69d0b56 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/linux.defaults/dependencies.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/linux.defaults/dependencies.bicep @@ -67,7 +67,7 @@ resource sshDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-SSHKeyName "${sshKeyName}" -ResourceGroupName "${resourceGroup().name}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine/tests/e2e/linux.max/dependencies.bicep b/avm/res/compute/virtual-machine/tests/e2e/linux.max/dependencies.bicep index f19060fba7..18b139f479 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/linux.max/dependencies.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/linux.max/dependencies.bicep @@ -285,7 +285,7 @@ resource storageUpload 'Microsoft.Resources/deploymentScripts@2020-10-01' = { azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-StorageAccountName "${storageAccount.name}" -ResourceGroupName "${resourceGroup().name}" -ContainerName "${storageAccount::blobService::container.name}" -FileName "${storageAccountCSEFileName}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') } dependsOn: [ msiRGContrRoleAssignment @@ -306,7 +306,7 @@ resource sshDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-SSHKeyName "${sshKeyName}" -ResourceGroupName "${resourceGroup().name}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/New-SSHKey.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine/tests/e2e/linux.max/main.test.bicep b/avm/res/compute/virtual-machine/tests/e2e/linux.max/main.test.bicep index cd05048ddb..1bc3a44a33 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/linux.max/main.test.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/linux.max/main.test.bicep @@ -59,7 +59,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/compute/virtual-machine/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/compute/virtual-machine/tests/e2e/waf-aligned/dependencies.bicep index 15da56837a..c7ddd01f8a 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/waf-aligned/dependencies.bicep @@ -318,7 +318,7 @@ resource storageUpload 'Microsoft.Resources/deploymentScripts@2020-10-01' = { azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-StorageAccountName ${storageAccount.name} -ResourceGroupName ${resourceGroup().name} -ContainerName ${storageAccount::blobService::container.name} -FileName ${storageAccountCSEFileName}' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine/tests/e2e/waf-aligned/main.test.bicep b/avm/res/compute/virtual-machine/tests/e2e/waf-aligned/main.test.bicep index 45ba5ad582..8d4a7ff388 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/waf-aligned/main.test.bicep @@ -63,7 +63,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/compute/virtual-machine/tests/e2e/windows.hostpool/dependencies.bicep b/avm/res/compute/virtual-machine/tests/e2e/windows.hostpool/dependencies.bicep index 50d4c15e26..30416db686 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/windows.hostpool/dependencies.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/windows.hostpool/dependencies.bicep @@ -79,7 +79,7 @@ resource getRegistrationTokenDeploymentScript 'Microsoft.Resources/deploymentScr properties: { azPowerShellVersion: '10.0' arguments: '-HostPoolName "${hostPool.name}" -HostPoolResourceGroupName "${resourceGroup().name}" -SubscriptionId "${subscription().subscriptionId}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Get-HostPoolRegistrationKey.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Get-HostPoolRegistrationKey.ps1') retentionInterval: 'PT1H' } } diff --git a/avm/res/compute/virtual-machine/tests/e2e/windows.max/dependencies.bicep b/avm/res/compute/virtual-machine/tests/e2e/windows.max/dependencies.bicep index bccba3d29d..bd3f2d08a6 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/windows.max/dependencies.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/windows.max/dependencies.bicep @@ -296,7 +296,7 @@ resource storageUpload 'Microsoft.Resources/deploymentScripts@2020-10-01' = { azPowerShellVersion: '9.0' retentionInterval: 'P1D' arguments: '-StorageAccountName "${storageAccount.name}" -ResourceGroupName "${resourceGroup().name}" -ContainerName "${storageAccount::blobService::container.name}" -FileName "${storageAccountCSEFileName}"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-BlobContent.ps1') } dependsOn: [ msiRGContrRoleAssignment diff --git a/avm/res/compute/virtual-machine/tests/e2e/windows.max/main.test.bicep b/avm/res/compute/virtual-machine/tests/e2e/windows.max/main.test.bicep index 96c3d990e2..c44c8eb736 100644 --- a/avm/res/compute/virtual-machine/tests/e2e/windows.max/main.test.bicep +++ b/avm/res/compute/virtual-machine/tests/e2e/windows.max/main.test.bicep @@ -63,7 +63,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/compute/virtual-machine/tests/unit/avm.core.team.tests.ps1 b/avm/res/compute/virtual-machine/tests/unit/avm.core.team.tests.ps1 index 92e2ee95ce..ab40d5e161 100644 --- a/avm/res/compute/virtual-machine/tests/unit/avm.core.team.tests.ps1 +++ b/avm/res/compute/virtual-machine/tests/unit/avm.core.team.tests.ps1 @@ -14,7 +14,7 @@ param ( ) BeforeAll { - . (Join-Path $RepoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-IsParameterRequired.ps1') + . (Join-Path $RepoRootPath 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-IsParameterRequired.ps1') if ($moduleFolderPaths.Count -gt 1) { $topLevelModuleTemplatePath = $moduleFolderPaths | Sort-Object -Culture 'en-US' | Select-Object -First 1 diff --git a/avm/res/container-registry/registry/tests/e2e/max/dependencies.bicep b/avm/res/container-registry/registry/tests/e2e/max/dependencies.bicep index 16d9a64d1b..c3985e0112 100644 --- a/avm/res/container-registry/registry/tests/e2e/max/dependencies.bicep +++ b/avm/res/container-registry/registry/tests/e2e/max/dependencies.bicep @@ -79,7 +79,7 @@ resource getPairedRegionScript 'Microsoft.Resources/deploymentScripts@2020-10-01 azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-Location \\"${location}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') } dependsOn: [ roleAssignment diff --git a/avm/res/container-registry/registry/tests/e2e/max/main.test.bicep b/avm/res/container-registry/registry/tests/e2e/max/main.test.bicep index be3bf5aded..36964a7bb1 100644 --- a/avm/res/container-registry/registry/tests/e2e/max/main.test.bicep +++ b/avm/res/container-registry/registry/tests/e2e/max/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/container-registry/registry/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/container-registry/registry/tests/e2e/waf-aligned/dependencies.bicep index 7a92574c42..7895265343 100644 --- a/avm/res/container-registry/registry/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/container-registry/registry/tests/e2e/waf-aligned/dependencies.bicep @@ -79,7 +79,7 @@ resource getPairedRegionScript 'Microsoft.Resources/deploymentScripts@2020-10-01 azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-Location \\"${location}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') } dependsOn: [ roleAssignment diff --git a/avm/res/container-registry/registry/tests/e2e/waf-aligned/main.test.bicep b/avm/res/container-registry/registry/tests/e2e/waf-aligned/main.test.bicep index 0a7950c4fc..076c4cfef6 100644 --- a/avm/res/container-registry/registry/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/container-registry/registry/tests/e2e/waf-aligned/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/container-service/managed-cluster/tests/e2e/azure/main.test.bicep b/avm/res/container-service/managed-cluster/tests/e2e/azure/main.test.bicep index bfa6c5eac0..884c033a7e 100644 --- a/avm/res/container-service/managed-cluster/tests/e2e/azure/main.test.bicep +++ b/avm/res/container-service/managed-cluster/tests/e2e/azure/main.test.bicep @@ -52,7 +52,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/container-service/managed-cluster/tests/e2e/kubenet/main.test.bicep b/avm/res/container-service/managed-cluster/tests/e2e/kubenet/main.test.bicep index 33a1b4a956..efa4f34c0e 100644 --- a/avm/res/container-service/managed-cluster/tests/e2e/kubenet/main.test.bicep +++ b/avm/res/container-service/managed-cluster/tests/e2e/kubenet/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/container-service/managed-cluster/tests/e2e/waf-aligned/main.test.bicep b/avm/res/container-service/managed-cluster/tests/e2e/waf-aligned/main.test.bicep index e385049760..1233746960 100644 --- a/avm/res/container-service/managed-cluster/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/container-service/managed-cluster/tests/e2e/waf-aligned/main.test.bicep @@ -39,7 +39,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/data-factory/factory/tests/e2e/max/main.test.bicep b/avm/res/data-factory/factory/tests/e2e/max/main.test.bicep index 6ca06a8a54..34d555d718 100644 --- a/avm/res/data-factory/factory/tests/e2e/max/main.test.bicep +++ b/avm/res/data-factory/factory/tests/e2e/max/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/data-factory/factory/tests/e2e/waf-aligned/main.test.bicep b/avm/res/data-factory/factory/tests/e2e/waf-aligned/main.test.bicep index 8662984c06..b44831f34b 100644 --- a/avm/res/data-factory/factory/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/data-factory/factory/tests/e2e/waf-aligned/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/databricks/workspace/tests/e2e/max/main.test.bicep b/avm/res/databricks/workspace/tests/e2e/max/main.test.bicep index db7431c5fc..6ccaa9f548 100644 --- a/avm/res/databricks/workspace/tests/e2e/max/main.test.bicep +++ b/avm/res/databricks/workspace/tests/e2e/max/main.test.bicep @@ -60,7 +60,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/databricks/workspace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/databricks/workspace/tests/e2e/waf-aligned/main.test.bicep index cc5ab9df08..65bc856e21 100644 --- a/avm/res/databricks/workspace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/databricks/workspace/tests/e2e/waf-aligned/main.test.bicep @@ -61,7 +61,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/db-for-my-sql/flexible-server/tests/e2e/max/dependencies1.bicep b/avm/res/db-for-my-sql/flexible-server/tests/e2e/max/dependencies1.bicep index 4c1716bb23..97e2ca1951 100644 --- a/avm/res/db-for-my-sql/flexible-server/tests/e2e/max/dependencies1.bicep +++ b/avm/res/db-for-my-sql/flexible-server/tests/e2e/max/dependencies1.bicep @@ -38,7 +38,7 @@ resource getPairedRegionScript 'Microsoft.Resources/deploymentScripts@2020-10-01 azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-Location \\"${location}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') } dependsOn: [ roleAssignment diff --git a/avm/res/db-for-my-sql/flexible-server/tests/e2e/max/main.test.bicep b/avm/res/db-for-my-sql/flexible-server/tests/e2e/max/main.test.bicep index 0255def79e..f7cee60fd5 100644 --- a/avm/res/db-for-my-sql/flexible-server/tests/e2e/max/main.test.bicep +++ b/avm/res/db-for-my-sql/flexible-server/tests/e2e/max/main.test.bicep @@ -66,7 +66,7 @@ module nestedDependencies2 'dependencies2.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/private/main.test.bicep b/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/private/main.test.bicep index dd3528e55b..99aa0e8b5e 100644 --- a/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/private/main.test.bicep +++ b/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/private/main.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/public/main.test.bicep b/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/public/main.test.bicep index 41619743e8..d02e352b4a 100644 --- a/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/public/main.test.bicep +++ b/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/public/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/waf-aligned/main.test.bicep b/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/waf-aligned/main.test.bicep index 31fe160abc..76717f9537 100644 --- a/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/db-for-postgre-sql/flexible-server/tests/e2e/waf-aligned/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/desktop-virtualization/application-group/tests/e2e/max/main.test.bicep b/avm/res/desktop-virtualization/application-group/tests/e2e/max/main.test.bicep index 22d1751b1d..f2ca109b20 100644 --- a/avm/res/desktop-virtualization/application-group/tests/e2e/max/main.test.bicep +++ b/avm/res/desktop-virtualization/application-group/tests/e2e/max/main.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/desktop-virtualization/application-group/tests/e2e/waf-aligned/main.test.bicep b/avm/res/desktop-virtualization/application-group/tests/e2e/waf-aligned/main.test.bicep index 17d4eb2d40..6886168d18 100644 --- a/avm/res/desktop-virtualization/application-group/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/desktop-virtualization/application-group/tests/e2e/waf-aligned/main.test.bicep @@ -40,7 +40,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/desktop-virtualization/host-pool/tests/e2e/max/main.test.bicep b/avm/res/desktop-virtualization/host-pool/tests/e2e/max/main.test.bicep index 1d2d30bcab..e0d1e88fef 100644 --- a/avm/res/desktop-virtualization/host-pool/tests/e2e/max/main.test.bicep +++ b/avm/res/desktop-virtualization/host-pool/tests/e2e/max/main.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/desktop-virtualization/host-pool/tests/e2e/waf-aligned/main.test.bicep b/avm/res/desktop-virtualization/host-pool/tests/e2e/waf-aligned/main.test.bicep index 5de6ec7826..2b745bec02 100644 --- a/avm/res/desktop-virtualization/host-pool/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/desktop-virtualization/host-pool/tests/e2e/waf-aligned/main.test.bicep @@ -31,7 +31,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2024-03-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/desktop-virtualization/scaling-plan/tests/e2e/max/main.test.bicep b/avm/res/desktop-virtualization/scaling-plan/tests/e2e/max/main.test.bicep index 2091b07705..d6ce6b8b63 100644 --- a/avm/res/desktop-virtualization/scaling-plan/tests/e2e/max/main.test.bicep +++ b/avm/res/desktop-virtualization/scaling-plan/tests/e2e/max/main.test.bicep @@ -40,7 +40,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/desktop-virtualization/scaling-plan/tests/e2e/waf-aligned/main.test.bicep b/avm/res/desktop-virtualization/scaling-plan/tests/e2e/waf-aligned/main.test.bicep index 8e0f7bf7bc..ebb127fff4 100644 --- a/avm/res/desktop-virtualization/scaling-plan/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/desktop-virtualization/scaling-plan/tests/e2e/waf-aligned/main.test.bicep @@ -31,7 +31,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/desktop-virtualization/workspace/tests/e2e/max/main.test.bicep b/avm/res/desktop-virtualization/workspace/tests/e2e/max/main.test.bicep index ab63e7aa85..e5b3dc489b 100644 --- a/avm/res/desktop-virtualization/workspace/tests/e2e/max/main.test.bicep +++ b/avm/res/desktop-virtualization/workspace/tests/e2e/max/main.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/desktop-virtualization/workspace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/desktop-virtualization/workspace/tests/e2e/waf-aligned/main.test.bicep index 0d560ab307..17781985a8 100644 --- a/avm/res/desktop-virtualization/workspace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/desktop-virtualization/workspace/tests/e2e/waf-aligned/main.test.bicep @@ -31,7 +31,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/digital-twins/digital-twins-instance/tests/e2e/max/main.test.bicep b/avm/res/digital-twins/digital-twins-instance/tests/e2e/max/main.test.bicep index 611057443a..896cffba56 100644 --- a/avm/res/digital-twins/digital-twins-instance/tests/e2e/max/main.test.bicep +++ b/avm/res/digital-twins/digital-twins-instance/tests/e2e/max/main.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/digital-twins/digital-twins-instance/tests/e2e/waf-aligned/main.test.bicep b/avm/res/digital-twins/digital-twins-instance/tests/e2e/waf-aligned/main.test.bicep index 0489869afe..21c537ff6d 100644 --- a/avm/res/digital-twins/digital-twins-instance/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/digital-twins/digital-twins-instance/tests/e2e/waf-aligned/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/document-db/database-account/tests/e2e/waf-aligned/main.test.bicep b/avm/res/document-db/database-account/tests/e2e/waf-aligned/main.test.bicep index aa2d40d347..3a2f5103ec 100644 --- a/avm/res/document-db/database-account/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/document-db/database-account/tests/e2e/waf-aligned/main.test.bicep @@ -45,7 +45,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // ============ // // Diagnostics // ============ // -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/document-db/mongo-cluster/tests/e2e/max/dependencies.bicep b/avm/res/document-db/mongo-cluster/tests/e2e/max/dependencies.bicep index 16d9a64d1b..c3985e0112 100644 --- a/avm/res/document-db/mongo-cluster/tests/e2e/max/dependencies.bicep +++ b/avm/res/document-db/mongo-cluster/tests/e2e/max/dependencies.bicep @@ -79,7 +79,7 @@ resource getPairedRegionScript 'Microsoft.Resources/deploymentScripts@2020-10-01 azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-Location \\"${location}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') } dependsOn: [ roleAssignment diff --git a/avm/res/document-db/mongo-cluster/tests/e2e/max/main.test.bicep b/avm/res/document-db/mongo-cluster/tests/e2e/max/main.test.bicep index e8127df0e3..1ad6a7aedd 100644 --- a/avm/res/document-db/mongo-cluster/tests/e2e/max/main.test.bicep +++ b/avm/res/document-db/mongo-cluster/tests/e2e/max/main.test.bicep @@ -48,7 +48,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/elastic-san/elastic-san/tests/e2e/max/main.test.bicep b/avm/res/elastic-san/elastic-san/tests/e2e/max/main.test.bicep index 6881eedf64..00e677ea12 100644 --- a/avm/res/elastic-san/elastic-san/tests/e2e/max/main.test.bicep +++ b/avm/res/elastic-san/elastic-san/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/elastic-san/elastic-san/tests/e2e/waf-aligned/main.test.bicep b/avm/res/elastic-san/elastic-san/tests/e2e/waf-aligned/main.test.bicep index b52dda4b6b..2b4debdbaa 100644 --- a/avm/res/elastic-san/elastic-san/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/elastic-san/elastic-san/tests/e2e/waf-aligned/main.test.bicep @@ -49,7 +49,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/domain/tests/e2e/max/main.test.bicep b/avm/res/event-grid/domain/tests/e2e/max/main.test.bicep index 260afa0d4a..50ae95b85a 100644 --- a/avm/res/event-grid/domain/tests/e2e/max/main.test.bicep +++ b/avm/res/event-grid/domain/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/domain/tests/e2e/waf-aligned/main.test.bicep b/avm/res/event-grid/domain/tests/e2e/waf-aligned/main.test.bicep index 5c9ac482a6..104c670429 100644 --- a/avm/res/event-grid/domain/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/event-grid/domain/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/namespace/tests/e2e/max/main.test.bicep b/avm/res/event-grid/namespace/tests/e2e/max/main.test.bicep index 53ac497b38..c1a6fe96bd 100644 --- a/avm/res/event-grid/namespace/tests/e2e/max/main.test.bicep +++ b/avm/res/event-grid/namespace/tests/e2e/max/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/namespace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/event-grid/namespace/tests/e2e/waf-aligned/main.test.bicep index c91a4e4ab4..9235abcdae 100644 --- a/avm/res/event-grid/namespace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/event-grid/namespace/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/system-topic/tests/e2e/defaults/main.test.bicep b/avm/res/event-grid/system-topic/tests/e2e/defaults/main.test.bicep index 122e408292..6379f7f111 100644 --- a/avm/res/event-grid/system-topic/tests/e2e/defaults/main.test.bicep +++ b/avm/res/event-grid/system-topic/tests/e2e/defaults/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/system-topic/tests/e2e/max/main.test.bicep b/avm/res/event-grid/system-topic/tests/e2e/max/main.test.bicep index 2e8c8c4802..c8f373efe0 100644 --- a/avm/res/event-grid/system-topic/tests/e2e/max/main.test.bicep +++ b/avm/res/event-grid/system-topic/tests/e2e/max/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/system-topic/tests/e2e/waf-aligned/main.test.bicep b/avm/res/event-grid/system-topic/tests/e2e/waf-aligned/main.test.bicep index 27154e7191..23bad38288 100644 --- a/avm/res/event-grid/system-topic/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/event-grid/system-topic/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/topic/tests/e2e/max/main.test.bicep b/avm/res/event-grid/topic/tests/e2e/max/main.test.bicep index d68984a6c2..450739ca96 100644 --- a/avm/res/event-grid/topic/tests/e2e/max/main.test.bicep +++ b/avm/res/event-grid/topic/tests/e2e/max/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-grid/topic/tests/e2e/waf-aligned/main.test.bicep b/avm/res/event-grid/topic/tests/e2e/waf-aligned/main.test.bicep index b3ffdf3c21..8036040f01 100644 --- a/avm/res/event-grid/topic/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/event-grid/topic/tests/e2e/waf-aligned/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-hub/namespace/tests/e2e/max/main.test.bicep b/avm/res/event-hub/namespace/tests/e2e/max/main.test.bicep index 4c8d619668..a6068d6573 100644 --- a/avm/res/event-hub/namespace/tests/e2e/max/main.test.bicep +++ b/avm/res/event-hub/namespace/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/event-hub/namespace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/event-hub/namespace/tests/e2e/waf-aligned/main.test.bicep index b4f8c06a13..567346d9ec 100644 --- a/avm/res/event-hub/namespace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/event-hub/namespace/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/healthcare-apis/workspace/tests/e2e/max/main.test.bicep b/avm/res/healthcare-apis/workspace/tests/e2e/max/main.test.bicep index 3eb5ae7c09..885d28414d 100644 --- a/avm/res/healthcare-apis/workspace/tests/e2e/max/main.test.bicep +++ b/avm/res/healthcare-apis/workspace/tests/e2e/max/main.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/insights/component/tests/e2e/max/main.test.bicep b/avm/res/insights/component/tests/e2e/max/main.test.bicep index b157ba59e2..235e8ffc48 100644 --- a/avm/res/insights/component/tests/e2e/max/main.test.bicep +++ b/avm/res/insights/component/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/insights/component/tests/e2e/waf-aligned/main.test.bicep b/avm/res/insights/component/tests/e2e/waf-aligned/main.test.bicep index c8ec8d1383..7104c68d20 100644 --- a/avm/res/insights/component/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/insights/component/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/insights/diagnostic-setting/tests/e2e/defaults/main.test.bicep b/avm/res/insights/diagnostic-setting/tests/e2e/defaults/main.test.bicep index 41cd930d47..f1860d657d 100644 --- a/avm/res/insights/diagnostic-setting/tests/e2e/defaults/main.test.bicep +++ b/avm/res/insights/diagnostic-setting/tests/e2e/defaults/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2023-07-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/insights/diagnostic-setting/tests/e2e/max/main.test.bicep b/avm/res/insights/diagnostic-setting/tests/e2e/max/main.test.bicep index a8c6832848..1a489c2307 100644 --- a/avm/res/insights/diagnostic-setting/tests/e2e/max/main.test.bicep +++ b/avm/res/insights/diagnostic-setting/tests/e2e/max/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2023-07-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/insights/diagnostic-setting/tests/e2e/waf-aligned/main.test.bicep b/avm/res/insights/diagnostic-setting/tests/e2e/waf-aligned/main.test.bicep index eec20b3471..c9cb4fe713 100644 --- a/avm/res/insights/diagnostic-setting/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/insights/diagnostic-setting/tests/e2e/waf-aligned/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2023-07-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/key-vault/vault/tests/e2e/max/main.test.bicep b/avm/res/key-vault/vault/tests/e2e/max/main.test.bicep index 3956f4f068..daeb6d673f 100644 --- a/avm/res/key-vault/vault/tests/e2e/max/main.test.bicep +++ b/avm/res/key-vault/vault/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/key-vault/vault/tests/e2e/waf-aligned/main.test.bicep b/avm/res/key-vault/vault/tests/e2e/waf-aligned/main.test.bicep index 78e2dc82d0..be536debf7 100644 --- a/avm/res/key-vault/vault/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/key-vault/vault/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/logic/workflow/tests/e2e/max/main.test.bicep b/avm/res/logic/workflow/tests/e2e/max/main.test.bicep index c15023250b..6cdfbb665a 100644 --- a/avm/res/logic/workflow/tests/e2e/max/main.test.bicep +++ b/avm/res/logic/workflow/tests/e2e/max/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/logic/workflow/tests/e2e/waf-aligned/main.test.bicep b/avm/res/logic/workflow/tests/e2e/waf-aligned/main.test.bicep index 54af5207db..371e9cba02 100644 --- a/avm/res/logic/workflow/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/logic/workflow/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/machine-learning-services/workspace/tests/e2e/max/main.test.bicep b/avm/res/machine-learning-services/workspace/tests/e2e/max/main.test.bicep index 56119cb3d1..1f4a8c1009 100644 --- a/avm/res/machine-learning-services/workspace/tests/e2e/max/main.test.bicep +++ b/avm/res/machine-learning-services/workspace/tests/e2e/max/main.test.bicep @@ -49,7 +49,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/machine-learning-services/workspace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/machine-learning-services/workspace/tests/e2e/waf-aligned/main.test.bicep index 6361689d2e..76023727da 100644 --- a/avm/res/machine-learning-services/workspace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/machine-learning-services/workspace/tests/e2e/waf-aligned/main.test.bicep @@ -49,7 +49,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/application-gateway/tests/e2e/max/dependencies.bicep b/avm/res/network/application-gateway/tests/e2e/max/dependencies.bicep index 2a9c2b0fae..294c1f4f70 100644 --- a/avm/res/network/application-gateway/tests/e2e/max/dependencies.bicep +++ b/avm/res/network/application-gateway/tests/e2e/max/dependencies.bicep @@ -128,7 +128,7 @@ resource certDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-KeyVaultName "${keyVault.name}" -CertName "applicationGatewaySslCertificate"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') } } diff --git a/avm/res/network/application-gateway/tests/e2e/max/main.test.bicep b/avm/res/network/application-gateway/tests/e2e/max/main.test.bicep index 9dfbbced50..deeab8e4a3 100644 --- a/avm/res/network/application-gateway/tests/e2e/max/main.test.bicep +++ b/avm/res/network/application-gateway/tests/e2e/max/main.test.bicep @@ -52,7 +52,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/application-gateway/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/network/application-gateway/tests/e2e/waf-aligned/dependencies.bicep index 4dd0bbe1d1..4900c0e7d6 100644 --- a/avm/res/network/application-gateway/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/network/application-gateway/tests/e2e/waf-aligned/dependencies.bicep @@ -131,7 +131,7 @@ resource certDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-KeyVaultName "${keyVault.name}" -CertName "applicationGatewaySslCertificate"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') } } diff --git a/avm/res/network/application-gateway/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/application-gateway/tests/e2e/waf-aligned/main.test.bicep index a7eb20e1fc..85265d7cb5 100644 --- a/avm/res/network/application-gateway/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/application-gateway/tests/e2e/waf-aligned/main.test.bicep @@ -53,7 +53,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/azure-firewall/tests/e2e/custompip/main.test.bicep b/avm/res/network/azure-firewall/tests/e2e/custompip/main.test.bicep index 2a6977e5d9..733fcc2ea8 100644 --- a/avm/res/network/azure-firewall/tests/e2e/custompip/main.test.bicep +++ b/avm/res/network/azure-firewall/tests/e2e/custompip/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/azure-firewall/tests/e2e/max/main.test.bicep b/avm/res/network/azure-firewall/tests/e2e/max/main.test.bicep index 642c4b1d4c..a0feaee266 100644 --- a/avm/res/network/azure-firewall/tests/e2e/max/main.test.bicep +++ b/avm/res/network/azure-firewall/tests/e2e/max/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/azure-firewall/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/azure-firewall/tests/e2e/waf-aligned/main.test.bicep index 33bd48b938..ea9f1bc197 100644 --- a/avm/res/network/azure-firewall/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/azure-firewall/tests/e2e/waf-aligned/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/bastion-host/tests/e2e/custompip/main.test.bicep b/avm/res/network/bastion-host/tests/e2e/custompip/main.test.bicep index c2cc1046b8..ca63db4a59 100644 --- a/avm/res/network/bastion-host/tests/e2e/custompip/main.test.bicep +++ b/avm/res/network/bastion-host/tests/e2e/custompip/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/bastion-host/tests/e2e/max/main.test.bicep b/avm/res/network/bastion-host/tests/e2e/max/main.test.bicep index 2c3bca2a20..2b78c0cf46 100644 --- a/avm/res/network/bastion-host/tests/e2e/max/main.test.bicep +++ b/avm/res/network/bastion-host/tests/e2e/max/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/bastion-host/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/bastion-host/tests/e2e/waf-aligned/main.test.bicep index 08ee448bf7..861b40da3d 100644 --- a/avm/res/network/bastion-host/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/bastion-host/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/express-route-circuit/tests/e2e/max/main.test.bicep b/avm/res/network/express-route-circuit/tests/e2e/max/main.test.bicep index 4bc2ab2f3e..eaee710ac9 100644 --- a/avm/res/network/express-route-circuit/tests/e2e/max/main.test.bicep +++ b/avm/res/network/express-route-circuit/tests/e2e/max/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/express-route-circuit/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/express-route-circuit/tests/e2e/waf-aligned/main.test.bicep index cc8f20a1d2..75c6fe75a0 100644 --- a/avm/res/network/express-route-circuit/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/express-route-circuit/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/front-door/tests/e2e/max/main.test.bicep b/avm/res/network/front-door/tests/e2e/max/main.test.bicep index 53381f05fc..ffa8339a7b 100644 --- a/avm/res/network/front-door/tests/e2e/max/main.test.bicep +++ b/avm/res/network/front-door/tests/e2e/max/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/front-door/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/front-door/tests/e2e/waf-aligned/main.test.bicep index f05335784f..dcd5731481 100644 --- a/avm/res/network/front-door/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/front-door/tests/e2e/waf-aligned/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // Diagnostics // ============ -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/load-balancer/tests/e2e/defaults/main.test.bicep b/avm/res/network/load-balancer/tests/e2e/defaults/main.test.bicep index 0b069535be..e342a4e893 100644 --- a/avm/res/network/load-balancer/tests/e2e/defaults/main.test.bicep +++ b/avm/res/network/load-balancer/tests/e2e/defaults/main.test.bicep @@ -26,7 +26,7 @@ param namePrefix string = '#_namePrefix_#' // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/load-balancer/tests/e2e/external/main.test.bicep b/avm/res/network/load-balancer/tests/e2e/external/main.test.bicep index c6f2550e83..3ca8a9b982 100644 --- a/avm/res/network/load-balancer/tests/e2e/external/main.test.bicep +++ b/avm/res/network/load-balancer/tests/e2e/external/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/load-balancer/tests/e2e/max/main.test.bicep b/avm/res/network/load-balancer/tests/e2e/max/main.test.bicep index c095cf9bcd..aedecd6e87 100644 --- a/avm/res/network/load-balancer/tests/e2e/max/main.test.bicep +++ b/avm/res/network/load-balancer/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/load-balancer/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/load-balancer/tests/e2e/waf-aligned/main.test.bicep index f1b0ee6ab3..a989ed1eba 100644 --- a/avm/res/network/load-balancer/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/load-balancer/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/nat-gateway/tests/e2e/max/main.test.bicep b/avm/res/network/nat-gateway/tests/e2e/max/main.test.bicep index 7d9f27eafb..0420b10ad3 100644 --- a/avm/res/network/nat-gateway/tests/e2e/max/main.test.bicep +++ b/avm/res/network/nat-gateway/tests/e2e/max/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/nat-gateway/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/nat-gateway/tests/e2e/waf-aligned/main.test.bicep index 528dc7537f..ad2c02dbe9 100644 --- a/avm/res/network/nat-gateway/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/nat-gateway/tests/e2e/waf-aligned/main.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/nat-gateway/tests/unit/avm.core.team.tests.ps1 b/avm/res/network/nat-gateway/tests/unit/avm.core.team.tests.ps1 index 0c86e62663..e0d041ea74 100644 --- a/avm/res/network/nat-gateway/tests/unit/avm.core.team.tests.ps1 +++ b/avm/res/network/nat-gateway/tests/unit/avm.core.team.tests.ps1 @@ -14,7 +14,7 @@ param ( ) BeforeAll { - . (Join-Path $RepoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-IsParameterRequired.ps1') + . (Join-Path $RepoRootPath 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-IsParameterRequired.ps1') if ($moduleFolderPaths.Count -gt 1) { $topLevelModuleTemplatePath = $moduleFolderPaths | Sort-Object -Culture 'en-US' | Select-Object -First 1 diff --git a/avm/res/network/network-interface/tests/e2e/max/main.test.bicep b/avm/res/network/network-interface/tests/e2e/max/main.test.bicep index b490679377..c54b3828c4 100644 --- a/avm/res/network/network-interface/tests/e2e/max/main.test.bicep +++ b/avm/res/network/network-interface/tests/e2e/max/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/network-interface/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/network-interface/tests/e2e/waf-aligned/main.test.bicep index 68fcd0f904..4adc0b8d99 100644 --- a/avm/res/network/network-interface/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/network-interface/tests/e2e/waf-aligned/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/network-security-group/tests/e2e/max/main.test.bicep b/avm/res/network/network-security-group/tests/e2e/max/main.test.bicep index 3e54aa0338..783e2b4e96 100644 --- a/avm/res/network/network-security-group/tests/e2e/max/main.test.bicep +++ b/avm/res/network/network-security-group/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/network-watcher/tests/e2e/max/main.test.bicep b/avm/res/network/network-watcher/tests/e2e/max/main.test.bicep index 3666a62509..1b0400cf67 100644 --- a/avm/res/network/network-watcher/tests/e2e/max/main.test.bicep +++ b/avm/res/network/network-watcher/tests/e2e/max/main.test.bicep @@ -52,7 +52,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroupDependencies name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/network-watcher/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/network-watcher/tests/e2e/waf-aligned/main.test.bicep index 38eb129189..b0f7247568 100644 --- a/avm/res/network/network-watcher/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/network-watcher/tests/e2e/waf-aligned/main.test.bicep @@ -52,7 +52,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroupDependencies name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/trafficmanagerprofile/tests/e2e/max/main.test.bicep b/avm/res/network/trafficmanagerprofile/tests/e2e/max/main.test.bicep index 2f2120ccf1..a47795806f 100644 --- a/avm/res/network/trafficmanagerprofile/tests/e2e/max/main.test.bicep +++ b/avm/res/network/trafficmanagerprofile/tests/e2e/max/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/trafficmanagerprofile/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/trafficmanagerprofile/tests/e2e/waf-aligned/main.test.bicep index 3394fe0e75..fc60bfa3a7 100644 --- a/avm/res/network/trafficmanagerprofile/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/trafficmanagerprofile/tests/e2e/waf-aligned/main.test.bicep @@ -51,7 +51,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation01)}-diagnosticDependencies' params: { diff --git a/avm/res/network/virtual-network-gateway/tests/e2e/max/main.test.bicep b/avm/res/network/virtual-network-gateway/tests/e2e/max/main.test.bicep index 65139ad991..8ea291f857 100644 --- a/avm/res/network/virtual-network-gateway/tests/e2e/max/main.test.bicep +++ b/avm/res/network/virtual-network-gateway/tests/e2e/max/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { @@ -72,11 +72,11 @@ module testDeployment '../../../main.bicep' = [ skuName: 'VpnGw2AZ' gatewayType: 'Vpn' vNetResourceId: nestedDependencies.outputs.vnetResourceId - clusterSettings:{ + clusterSettings: { clusterMode: 'activeActiveBgp' secondPipName: '${namePrefix}${serviceShort}001-pip2' - customBgpIpAddresses: ['169.254.21.4','169.254.21.5'] - secondCustomBgpIpAddresses: ['169.254.22.4','169.254.22.5'] + customBgpIpAddresses: ['169.254.21.4', '169.254.21.5'] + secondCustomBgpIpAddresses: ['169.254.22.4', '169.254.22.5'] } diagnosticSettings: [ { diff --git a/avm/res/network/virtual-network-gateway/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/virtual-network-gateway/tests/e2e/waf-aligned/main.test.bicep index e0da5f11c5..7b3e651866 100644 --- a/avm/res/network/virtual-network-gateway/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/virtual-network-gateway/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { @@ -71,9 +71,9 @@ module testDeployment '../../../main.bicep' = [ gatewayType: 'Vpn' vNetResourceId: nestedDependencies.outputs.vnetResourceId clusterSettings: { - clusterMode:'activeActiveBgp' - customBgpIpAddresses: ['169.254.21.4','169.254.21.5'] - secondCustomBgpIpAddresses: ['169.254.22.4','169.254.22.5'] + clusterMode: 'activeActiveBgp' + customBgpIpAddresses: ['169.254.21.4', '169.254.21.5'] + secondCustomBgpIpAddresses: ['169.254.22.4', '169.254.22.5'] asn: 65515 } diagnosticSettings: [ diff --git a/avm/res/network/virtual-network/tests/e2e/max/main.test.bicep b/avm/res/network/virtual-network/tests/e2e/max/main.test.bicep index 81cb3a9c27..20abe577d3 100644 --- a/avm/res/network/virtual-network/tests/e2e/max/main.test.bicep +++ b/avm/res/network/virtual-network/tests/e2e/max/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/virtual-network/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/virtual-network/tests/e2e/waf-aligned/main.test.bicep index 3e1451af02..5539eb56a0 100644 --- a/avm/res/network/virtual-network/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/virtual-network/tests/e2e/waf-aligned/main.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/operational-insights/workspace/tests/e2e/adv/main.test.bicep b/avm/res/operational-insights/workspace/tests/e2e/adv/main.test.bicep index 56fbf274a5..3a052d4bae 100644 --- a/avm/res/operational-insights/workspace/tests/e2e/adv/main.test.bicep +++ b/avm/res/operational-insights/workspace/tests/e2e/adv/main.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/operational-insights/workspace/tests/e2e/max/main.test.bicep b/avm/res/operational-insights/workspace/tests/e2e/max/main.test.bicep index c2d85a7fde..9b069e5ef2 100644 --- a/avm/res/operational-insights/workspace/tests/e2e/max/main.test.bicep +++ b/avm/res/operational-insights/workspace/tests/e2e/max/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/operational-insights/workspace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/operational-insights/workspace/tests/e2e/waf-aligned/main.test.bicep index 80c5cfb578..cf61ff31a9 100644 --- a/avm/res/operational-insights/workspace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/operational-insights/workspace/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/purview/account/tests/e2e/max/main.test.bicep b/avm/res/purview/account/tests/e2e/max/main.test.bicep index d50eef4117..38e446b200 100644 --- a/avm/res/purview/account/tests/e2e/max/main.test.bicep +++ b/avm/res/purview/account/tests/e2e/max/main.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/purview/account/tests/e2e/waf-aligned/main.test.bicep b/avm/res/purview/account/tests/e2e/waf-aligned/main.test.bicep index dbf48b0d92..ed12314a3a 100644 --- a/avm/res/purview/account/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/purview/account/tests/e2e/waf-aligned/main.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/recovery-services/vault/tests/e2e/max/main.test.bicep b/avm/res/recovery-services/vault/tests/e2e/max/main.test.bicep index 28e3b85435..27c43a282f 100644 --- a/avm/res/recovery-services/vault/tests/e2e/max/main.test.bicep +++ b/avm/res/recovery-services/vault/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/recovery-services/vault/tests/e2e/waf-aligned/main.test.bicep b/avm/res/recovery-services/vault/tests/e2e/waf-aligned/main.test.bicep index 7ad49f1ccb..6311e84bed 100644 --- a/avm/res/recovery-services/vault/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/recovery-services/vault/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/relay/namespace/tests/e2e/max/main.test.bicep b/avm/res/relay/namespace/tests/e2e/max/main.test.bicep index 687c8e3487..7af91ac4b0 100644 --- a/avm/res/relay/namespace/tests/e2e/max/main.test.bicep +++ b/avm/res/relay/namespace/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/relay/namespace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/relay/namespace/tests/e2e/waf-aligned/main.test.bicep index 99ae681c88..ead531d56d 100644 --- a/avm/res/relay/namespace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/relay/namespace/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/search/search-service/tests/e2e/max/main.test.bicep b/avm/res/search/search-service/tests/e2e/max/main.test.bicep index 93c3460fa4..1ef5ff56b8 100644 --- a/avm/res/search/search-service/tests/e2e/max/main.test.bicep +++ b/avm/res/search/search-service/tests/e2e/max/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/search/search-service/tests/e2e/waf-aligned/main.test.bicep b/avm/res/search/search-service/tests/e2e/waf-aligned/main.test.bicep index 1d58f7f339..cdf79ac3cc 100644 --- a/avm/res/search/search-service/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/search/search-service/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/service-bus/namespace/tests/e2e/max/main.test.bicep b/avm/res/service-bus/namespace/tests/e2e/max/main.test.bicep index 49c8e10bae..8f90a9e067 100644 --- a/avm/res/service-bus/namespace/tests/e2e/max/main.test.bicep +++ b/avm/res/service-bus/namespace/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/service-bus/namespace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/service-bus/namespace/tests/e2e/waf-aligned/main.test.bicep index 3eb6f9aff1..46c66b1382 100644 --- a/avm/res/service-bus/namespace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/service-bus/namespace/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/service-networking/traffic-controller/tests/e2e/max/main.test.bicep b/avm/res/service-networking/traffic-controller/tests/e2e/max/main.test.bicep index 3636eeb929..5f00fc3a47 100644 --- a/avm/res/service-networking/traffic-controller/tests/e2e/max/main.test.bicep +++ b/avm/res/service-networking/traffic-controller/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/service-networking/traffic-controller/tests/e2e/waf-aligned/main.test.bicep b/avm/res/service-networking/traffic-controller/tests/e2e/waf-aligned/main.test.bicep index 499b6a760a..8534c58351 100644 --- a/avm/res/service-networking/traffic-controller/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/service-networking/traffic-controller/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/sql/instance-pool/tests/e2e/defaults/dependencies.bicep b/avm/res/sql/instance-pool/tests/e2e/defaults/dependencies.bicep index 772bd070fc..abc36363c5 100644 --- a/avm/res/sql/instance-pool/tests/e2e/defaults/dependencies.bicep +++ b/avm/res/sql/instance-pool/tests/e2e/defaults/dependencies.bicep @@ -56,7 +56,7 @@ resource getPairedRegionScript 'Microsoft.Resources/deploymentScripts@2020-10-01 azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-Location \\"${location}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') } dependsOn: [ roleAssignment diff --git a/avm/res/sql/instance-pool/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/sql/instance-pool/tests/e2e/waf-aligned/dependencies.bicep index 772bd070fc..abc36363c5 100644 --- a/avm/res/sql/instance-pool/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/sql/instance-pool/tests/e2e/waf-aligned/dependencies.bicep @@ -56,7 +56,7 @@ resource getPairedRegionScript 'Microsoft.Resources/deploymentScripts@2020-10-01 azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-Location \\"${location}\\"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1') } dependsOn: [ roleAssignment diff --git a/avm/res/sql/managed-instance/tests/e2e/max/main.test.bicep b/avm/res/sql/managed-instance/tests/e2e/max/main.test.bicep index 6e1643f2b3..70dbde4e50 100644 --- a/avm/res/sql/managed-instance/tests/e2e/max/main.test.bicep +++ b/avm/res/sql/managed-instance/tests/e2e/max/main.test.bicep @@ -54,7 +54,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/sql/managed-instance/tests/e2e/waf-aligned/main.test.bicep b/avm/res/sql/managed-instance/tests/e2e/waf-aligned/main.test.bicep index 8c72d7b96e..785a826070 100644 --- a/avm/res/sql/managed-instance/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/sql/managed-instance/tests/e2e/waf-aligned/main.test.bicep @@ -54,7 +54,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/sql/server/tests/e2e/max/main.test.bicep b/avm/res/sql/server/tests/e2e/max/main.test.bicep index 2bdc6768fb..0f78af4248 100644 --- a/avm/res/sql/server/tests/e2e/max/main.test.bicep +++ b/avm/res/sql/server/tests/e2e/max/main.test.bicep @@ -53,7 +53,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/sql/server/tests/e2e/waf-aligned/main.test.bicep b/avm/res/sql/server/tests/e2e/waf-aligned/main.test.bicep index 220d704979..42d10dc8fe 100644 --- a/avm/res/sql/server/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/sql/server/tests/e2e/waf-aligned/main.test.bicep @@ -49,7 +49,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/storage/storage-account/tests/e2e/max/main.test.bicep b/avm/res/storage/storage-account/tests/e2e/max/main.test.bicep index c4f6afe382..337cab61ff 100644 --- a/avm/res/storage/storage-account/tests/e2e/max/main.test.bicep +++ b/avm/res/storage/storage-account/tests/e2e/max/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/storage/storage-account/tests/e2e/waf-aligned/main.test.bicep b/avm/res/storage/storage-account/tests/e2e/waf-aligned/main.test.bicep index 4e10b9c897..2ead4ebd6d 100644 --- a/avm/res/storage/storage-account/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/storage/storage-account/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/synapse/workspace/tests/e2e/max/main.test.bicep b/avm/res/synapse/workspace/tests/e2e/max/main.test.bicep index f82dda192c..9754f94561 100644 --- a/avm/res/synapse/workspace/tests/e2e/max/main.test.bicep +++ b/avm/res/synapse/workspace/tests/e2e/max/main.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/synapse/workspace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/synapse/workspace/tests/e2e/waf-aligned/main.test.bicep index fd330bd006..4c64376e57 100644 --- a/avm/res/synapse/workspace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/synapse/workspace/tests/e2e/waf-aligned/main.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/virtual-machine-images/image-template/tests/e2e/max/dependencies.bicep b/avm/res/virtual-machine-images/image-template/tests/e2e/max/dependencies.bicep index 0581a62957..31fd62fb2a 100644 --- a/avm/res/virtual-machine-images/image-template/tests/e2e/max/dependencies.bicep +++ b/avm/res/virtual-machine-images/image-template/tests/e2e/max/dependencies.bicep @@ -268,7 +268,7 @@ resource assetsStorageAccount_upload 'Microsoft.Resources/deploymentScripts@2023 properties: { azPowerShellVersion: '9.7' retentionInterval: 'P1D' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1') environmentVariables: [ { name: '__SCRIPT__Install__LinuxPowerShell_sh' // May only be alphanumeric characters & underscores. The upload will replace '_' with '.' and '__' with '-'. diff --git a/avm/res/web/hosting-environment/tests/e2e/max/dependencies.bicep b/avm/res/web/hosting-environment/tests/e2e/max/dependencies.bicep index 71764eb564..0119cdd031 100644 --- a/avm/res/web/hosting-environment/tests/e2e/max/dependencies.bicep +++ b/avm/res/web/hosting-environment/tests/e2e/max/dependencies.bicep @@ -121,7 +121,7 @@ resource certDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-KeyVaultName "${keyVault.name}" -CertName "asev3certificate" -CertSubjectName "CN=*.internal.contoso.com"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') } } diff --git a/avm/res/web/hosting-environment/tests/e2e/max/main.test.bicep b/avm/res/web/hosting-environment/tests/e2e/max/main.test.bicep index b993ec1f83..7b7f89ebbe 100644 --- a/avm/res/web/hosting-environment/tests/e2e/max/main.test.bicep +++ b/avm/res/web/hosting-environment/tests/e2e/max/main.test.bicep @@ -37,7 +37,7 @@ module nestedDependencies 'dependencies.bicep' = { } } -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/web/hosting-environment/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/web/hosting-environment/tests/e2e/waf-aligned/dependencies.bicep index 71764eb564..0119cdd031 100644 --- a/avm/res/web/hosting-environment/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/web/hosting-environment/tests/e2e/waf-aligned/dependencies.bicep @@ -121,7 +121,7 @@ resource certDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' azPowerShellVersion: '8.0' retentionInterval: 'P1D' arguments: '-KeyVaultName "${keyVault.name}" -CertName "asev3certificate" -CertSubjectName "CN=*.internal.contoso.com"' - scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') + scriptContent: loadTextContent('../../../../../../../utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1') } } diff --git a/avm/res/web/hosting-environment/tests/e2e/waf-aligned/main.test.bicep b/avm/res/web/hosting-environment/tests/e2e/waf-aligned/main.test.bicep index 00ef06ab2f..e2922f639f 100644 --- a/avm/res/web/hosting-environment/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/web/hosting-environment/tests/e2e/waf-aligned/main.test.bicep @@ -37,7 +37,7 @@ module nestedDependencies 'dependencies.bicep' = { } } -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/web/serverfarm/tests/e2e/max/main.test.bicep b/avm/res/web/serverfarm/tests/e2e/max/main.test.bicep index 42c8180a88..477ba4f557 100644 --- a/avm/res/web/serverfarm/tests/e2e/max/main.test.bicep +++ b/avm/res/web/serverfarm/tests/e2e/max/main.test.bicep @@ -40,7 +40,7 @@ module nestedDependencies 'dependencies.bicep' = { } } -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/web/serverfarm/tests/e2e/waf-aligned/main.test.bicep b/avm/res/web/serverfarm/tests/e2e/waf-aligned/main.test.bicep index 262856d035..2e7c5297db 100644 --- a/avm/res/web/serverfarm/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/web/serverfarm/tests/e2e/waf-aligned/main.test.bicep @@ -31,7 +31,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { location: enforcedLocation } -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, enforcedLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/web/site/tests/e2e/functionApp.max/main.test.bicep b/avm/res/web/site/tests/e2e/functionApp.max/main.test.bicep index a80f009727..b41f9e09ed 100644 --- a/avm/res/web/site/tests/e2e/functionApp.max/main.test.bicep +++ b/avm/res/web/site/tests/e2e/functionApp.max/main.test.bicep @@ -48,7 +48,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/web/site/tests/e2e/waf-aligned/main.test.bicep b/avm/res/web/site/tests/e2e/waf-aligned/main.test.bicep index 1743371503..a2bd40c047 100644 --- a/avm/res/web/site/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/web/site/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/web/site/tests/e2e/webApp.max/main.test.bicep b/avm/res/web/site/tests/e2e/webApp.max/main.test.bicep index bea7d0eeb1..bdedce7567 100644 --- a/avm/res/web/site/tests/e2e/webApp.max/main.test.bicep +++ b/avm/res/web/site/tests/e2e/webApp.max/main.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/web/site/tests/e2e/webAppLinux.max/main.test.bicep b/avm/res/web/site/tests/e2e/webAppLinux.max/main.test.bicep index 9bc0ad9d8b..bacce8b2f7 100644 --- a/avm/res/web/site/tests/e2e/webAppLinux.max/main.test.bicep +++ b/avm/res/web/site/tests/e2e/webAppLinux.max/main.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/utilities/pipelines/staticValidation/compliance/helper/helper.psm1 b/avm/utilities/pipelines/staticValidation/compliance/helper/helper.psm1 deleted file mode 100644 index 8673ec05f4..0000000000 --- a/avm/utilities/pipelines/staticValidation/compliance/helper/helper.psm1 +++ /dev/null @@ -1,328 +0,0 @@ -############################## -# Load general functions # -############################## -$repoRootPath = (Get-Item $PSScriptRoot).Parent.Parent.Parent.Parent.Parent.Parent.FullName - -. (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-NestedResourceList.ps1') -. (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-ScopeOfTemplateFile.ps1') -. (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-PipelineFileName.ps1') -. (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-IsParameterRequired.ps1') -. (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'helper' 'ConvertTo-OrderedHashtable.ps1') -. (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-CrossReferencedModuleList.ps1') -. (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-BRMRepositoryName.ps1') - -#################################### -# Load test-specific functions # -#################################### - -<# -.SYNOPSIS -Get the index of a header in a given markdown array - -.DESCRIPTION -Get the index of a header in a given markdown array - -.PARAMETER ReadMeContent -Required. The content to search in - -.PARAMETER MarkdownSectionIdentifier -Required. The header to search for. For example '*# Parameters' - -.EXAMPLE -Get-MarkdownSectionStartIndex -ReadMeContent @('# Parameters', 'other content') -MarkdownSectionIdentifier '*# Parameters' - -Get the index of the '# Parameters' header in the given markdown array @('# Parameters', 'other content') -#> -function Get-MarkdownSectionStartIndex { - - [CmdletBinding()] - param ( - [Parameter(Mandatory = $true)] - [array] $ReadMeContent, - - [Parameter(Mandatory = $true)] - [string] $MarkdownSectionIdentifier - ) - - $sectionStartIndex = 0 - while ($ReadMeContent[$sectionStartIndex] -notlike $MarkdownSectionIdentifier -and -not ($sectionStartIndex -ge $ReadMeContent.count)) { - $sectionStartIndex++ - } - - return $sectionStartIndex -} - -<# -.SYNOPSIS -Get the last index of a section in a given markdown array - -.DESCRIPTION -Get the last index of a section in a given markdown array. The end of a section is identified by the start of a new header. - -.PARAMETER ReadMeContent -Required. The content to search in - -.PARAMETER SectionStartIndex -Required. The index where the section starts - -.EXAMPLE -Get-MarkdownSectionEndIndex -ReadMeContent @('somrthing', '# Parameters', 'other content', '# Other header') -SectionStartIndex 2 - -Search for the end index of the section starting in index 2 in array @('somrthing', '# Parameters', 'other content', '# Other header'). Would return 3. -#> -function Get-MarkdownSectionEndIndex { - - [CmdletBinding()] - param ( - [Parameter(Mandatory = $true)] - [array] $ReadMeContent, - - [Parameter(Mandatory = $true)] - [int] $SectionStartIndex - ) - - $sectionEndIndex = $sectionStartIndex + 1 - while ($readMeContent[$sectionEndIndex] -notlike '*# *' -and -not ($sectionEndIndex -ge $ReadMeContent.count)) { - $sectionEndIndex++ - } - - return $sectionEndIndex -} - -<# -.SYNOPSIS -Get the start & end index of a table in a given markdown section, indentified by a header - -.DESCRIPTION -Get the start & end index of a table in a given markdown section, indentified by a header. - -.PARAMETER ReadMeContent -Required. The content to search in - -.PARAMETER MarkdownSectionIdentifier -Required. The header of the section containing the table to search for. For example '*# Parameters' - -.EXAMPLE -$tableStartIndex, $tableEndIndex = Get-TableStartAndEndIndex -ReadMeContent @('# Parameters', '| a | b |', '| - | - |', '| 1 | 2 |', 'other content') -MarkdownSectionIdentifier '*# Parameters' - -Get the start & end index of the table in section '# Parameters' in the given ReadMe content. Would return @(1,3) -#> -function Get-TableStartAndEndIndex { - - [CmdletBinding()] - param ( - [Parameter(Mandatory = $true)] - [array] $ReadMeContent, - - [Parameter(Mandatory = $true)] - [string] $MarkdownSectionIdentifier - ) - - $sectionStartIndex = Get-MarkdownSectionStartIndex -ReadMeContent $ReadMeContent -MarkdownSectionIdentifier $MarkdownSectionIdentifier - - $tableStartIndex = $sectionStartIndex + 1 - while ($readMeContent[$tableStartIndex] -notlike '*|*' -and -not ($tableStartIndex -ge $readMeContent.count)) { - $tableStartIndex++ - } - - $tableEndIndex = $tableStartIndex + 2 - while ($readMeContent[$tableEndIndex] -like '|*' -and -not ($tableEndIndex -ge $readMeContent.count)) { - $tableEndIndex++ - } - - return $tableStartIndex, $tableEndIndex -} - -<# -.SYNOPSIS -Remove metadata blocks from given template object - -.DESCRIPTION -Remove metadata blocks from given template object - -.PARAMETER TemplateObject -The template object to remove the metadata from - -.EXAMPLE -Remove-JSONMetadata -TemplateObject @{ metadata = 'a'; b = 'b' } - -Returns @{ b = 'b' } -#> -function Remove-JSONMetadata { - - [CmdletBinding()] - param ( - [Parameter(Mandatory = $true)] - [hashtable] $TemplateObject - ) - $TemplateObject.Remove('metadata') - - # Differantiate case: With user defined types (resources property is hashtable) vs without user defined types (resources property is array) - if ($TemplateObject.resources.GetType().BaseType.Name -eq 'Hashtable') { - # Case: Hashtable - $resourceIdentifiers = $TemplateObject.resources.Keys - for ($index = 0; $index -lt $resourceIdentifiers.Count; $index++) { - if ($TemplateObject.resources[$resourceIdentifiers[$index]].type -eq 'Microsoft.Resources/deployments' -and $TemplateObject.resources[$resourceIdentifiers[$index]].properties.template.GetType().BaseType.Name -eq 'Hashtable') { - $TemplateObject.resources[$resourceIdentifiers[$index]] = Remove-JSONMetadata -TemplateObject $TemplateObject.resources[$resourceIdentifiers[$index]].properties.template - } - } - } else { - # Case: Array - for ($index = 0; $index -lt $TemplateObject.resources.Count; $index++) { - if ($TemplateObject.resources[$index].type -eq 'Microsoft.Resources/deployments' -and $TemplateObject.resources[$index].properties.template.GetType().BaseType.Name -eq 'Hashtable') { - $TemplateObject.resources[$index] = Remove-JSONMetadata -TemplateObject $TemplateObject.resources[$index].properties.template - } - } - } - - return $TemplateObject -} - -<# -.SYNOPSIS -Get a flat list of all parameters in a given template - -.DESCRIPTION -Get a flat list of all parameters in a given template - -.PARAMETER TemplateFileContent -Mandatory. The template containing all the data - -.PARAMETER Properties -Optional. Hashtable of the user defined properties - -.PARAMETER ParentName -Optional. Name of the parameter, that has the user defined types - -.EXAMPLE -Resolve-ReadMeParameterList -TemplateFileContent @{ resource = @{}; parameters = @{}; ... } - -Top-level invocation. Will start from the TemplateFile's parameters object and recursively crawl through all children. - -.EXAMPLE -Resolve-ReadMeParameterList -TemplateFileContent @{ resource = @{}; parameters = @{}; ... } -Properties @{ @{ name = @{ type = 'string'; 'allowedValues' = @('A1','A2','A3','A4','A5','A6'); 'nullable' = $true; (...) } -ParentName 'diagnosticSettings' - -Child-level invocation during recursion. - -.NOTES -The function is recursive and will also output grand, great grand children, ... . -#> -function Resolve-ReadMeParameterList { - param ( - [Parameter(Mandatory = $true)] - [hashtable] $TemplateFileContent, - - [Parameter(Mandatory = $false)] - [hashtable] $Properties, - - [Parameter(Mandatory = $false)] - [string] $ParentName - ) - - $parameterSet = @{} - - if (-not $Properties -and -not $TemplateFileContent.parameters) { - # no Parameters / properties on this level or in the template - return $parameterSet - } elseif (-not $Properties) { - # Top-level invocation - # Add name as property for later reference - $TemplateFileContent.parameters.Keys | ForEach-Object { $TemplateFileContent.parameters[$_]['name'] = $_ } - [array] $parameters = $TemplateFileContent.parameters.Values | Sort-Object -Property 'Name' -Culture 'en-US' - } else { - # Add name as property for later reference - $Properties.Keys | ForEach-Object { $Properties[$_]['name'] = $_ } - $parameters = $Properties.Values | Sort-Object -Property 'Name' -Culture 'en-US' - } - - foreach ($parameter in $parameters) { - - ###################### - # Gather details # - ###################### - - $paramIdentifier = (-not [String]::IsNullOrEmpty($ParentName)) ? '{0}.{1}' -f $ParentName, $parameter.name : $parameter.name - - # definition type (if any) - if ($parameter.Keys -contains '$ref') { - $identifier = Split-Path $parameter.'$ref' -Leaf - $definition = $TemplateFileContent.definitions[$identifier] - # $type = $definition['type'] - } elseif ($parameter.Keys -contains 'items' -and $parameter.items.type -in @('object', 'array') -or $parameter.type -eq 'object') { - # Array has nested non-primitive type (array/object) - and if array, the the UDT itself is declared as the array - $definition = $parameter - } elseif ($parameter.Keys -contains 'items' -and $parameter.items.keys -contains '$ref') { - # Array has nested non-primitive type (array) - and the parameter is defined as an array of the UDT - $identifier = Split-Path $parameter.items.'$ref' -Leaf - $definition = $TemplateFileContent.definitions[$identifier] - } else { - $definition = $null - } - - $parameterSet[$paramIdentifier] = $parameter - - #recursive call for children - if ($definition) { - if ($definition.ContainsKey('items') -and $definition['items'].ContainsKey('properties')) { - $childProperties = $definition['items']['properties'] - } elseif ($definition.type -eq 'object' -and $definition['properties']) { - $childProperties = $definition['properties'] - } else { - $childProperties = $null - } - - if ($childProperties) { - $parameterSet += Resolve-ReadMeParameterList -TemplateFileContent $TemplateFileContent -Properties $childProperties -ParentName $paramIdentifier - } - } - } - - return $parameterSet -} - -<# -Get a hashtable of all environment variables in the given GitHub workflow - -.DESCRIPTION -Get a hashtable of all environment variables in the given GitHub workflow - -.PARAMETER WorkflowPath -Mandatory. The path of the workflow to get the environment variables from - -.EXAMPLE -Get-WorkflowEnvVariablesAsObject -WorkflowPath 'C:/bicep-registry-modules/.github/workflows/test.yml' - -Get the environment variables from the given workflow -#> -function Get-WorkflowEnvVariablesAsObject { - - [CmdletBinding()] - param ( - [Parameter(Mandatory)] - [string] $WorkflowPath - ) - - $contentFileContent = Get-Content -Path $workflowPath - - $envStartIndex = $contentFileContent.IndexOf('env:') - - if (-not $envStartIndex) { - # No env variables defined in the given workflow - return @{} - } - - $searchIndex = $envStartIndex + 1 - $envVars = @{} - - while ($searchIndex -lt $contentFileContent.Count) { - $line = $contentFileContent[$searchIndex] - if ($line -match "^\s+(\w+): (?:`"|')*([^`"'\s]+)(?:`"|')*$") { - $envVars[($Matches[1])] = $Matches[2] - } else { - break - } - $searchIndex++ - } - - return $envVars -} diff --git a/avm/utilities/e2e-template-assets/scripts/.gitignore b/utilities/e2e-template-assets/scripts/.gitignore similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/.gitignore rename to utilities/e2e-template-assets/scripts/.gitignore diff --git a/avm/utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1 b/utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1 rename to utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/Get-HostPoolRegistrationKey.ps1 b/utilities/e2e-template-assets/scripts/Get-HostPoolRegistrationKey.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Get-HostPoolRegistrationKey.ps1 rename to utilities/e2e-template-assets/scripts/Get-HostPoolRegistrationKey.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1 b/utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1 rename to utilities/e2e-template-assets/scripts/Get-PairedRegion.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/New-SSHKey.ps1 b/utilities/e2e-template-assets/scripts/New-SSHKey.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/New-SSHKey.ps1 rename to utilities/e2e-template-assets/scripts/New-SSHKey.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/Set-BlobContent.ps1 b/utilities/e2e-template-assets/scripts/Set-BlobContent.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Set-BlobContent.ps1 rename to utilities/e2e-template-assets/scripts/Set-BlobContent.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1 b/utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1 rename to utilities/e2e-template-assets/scripts/Set-CertificateInKeyVault.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/Set-PfxCertificateInKeyVault.ps1 b/utilities/e2e-template-assets/scripts/Set-PfxCertificateInKeyVault.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Set-PfxCertificateInKeyVault.ps1 rename to utilities/e2e-template-assets/scripts/Set-PfxCertificateInKeyVault.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1 b/utilities/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1 rename to utilities/e2e-template-assets/scripts/Set-StorageContainerContentByEnvVar.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1 b/utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1 rename to utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1 diff --git a/avm/utilities/e2e-template-assets/scripts/Wait-ForImageBuild.ps1 b/utilities/e2e-template-assets/scripts/Wait-ForImageBuild.ps1 similarity index 100% rename from avm/utilities/e2e-template-assets/scripts/Wait-ForImageBuild.ps1 rename to utilities/e2e-template-assets/scripts/Wait-ForImageBuild.ps1 diff --git a/avm/utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep b/utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep similarity index 100% rename from avm/utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep rename to utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep diff --git a/avm/utilities/pipelines/e2eValidation/regionSelector/Get-AvailableResourceLocation.ps1 b/utilities/pipelines/e2eValidation/regionSelector/Get-AvailableResourceLocation.ps1 similarity index 96% rename from avm/utilities/pipelines/e2eValidation/regionSelector/Get-AvailableResourceLocation.ps1 rename to utilities/pipelines/e2eValidation/regionSelector/Get-AvailableResourceLocation.ps1 index 69cac89b0c..ca724133ce 100644 --- a/avm/utilities/pipelines/e2eValidation/regionSelector/Get-AvailableResourceLocation.ps1 +++ b/utilities/pipelines/e2eValidation/regionSelector/Get-AvailableResourceLocation.ps1 @@ -30,7 +30,7 @@ function Get-AvailableResourceLocation { param ( [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.parent.FullName, + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName, [Parameter(Mandatory = $false)] [array] $AllowedRegionsList = @( @@ -63,7 +63,7 @@ function Get-AvailableResourceLocation { ) # Load used functions - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-SpecsAlignedResourceName.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-SpecsAlignedResourceName.ps1') # Configure Resource Type $fullModuleIdentifier = ($ModuleRoot -split '[\/|\\]{0,1}avm[\/|\\]{1}(res|ptn|utl)[\/|\\]{1}')[2] -replace '\\', '/' diff --git a/avm/utilities/pipelines/e2eValidation/resourceDeployment/New-TemplateDeployment.ps1 b/utilities/pipelines/e2eValidation/resourceDeployment/New-TemplateDeployment.ps1 similarity index 99% rename from avm/utilities/pipelines/e2eValidation/resourceDeployment/New-TemplateDeployment.ps1 rename to utilities/pipelines/e2eValidation/resourceDeployment/New-TemplateDeployment.ps1 index cd4bf54c34..dfb3e64c94 100644 --- a/avm/utilities/pipelines/e2eValidation/resourceDeployment/New-TemplateDeployment.ps1 +++ b/utilities/pipelines/e2eValidation/resourceDeployment/New-TemplateDeployment.ps1 @@ -431,14 +431,14 @@ function New-TemplateDeployment { [int] $RetryLimit = 3, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.parent.FullName + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName ) begin { Write-Debug ('{0} entered' -f $MyInvocation.MyCommand) # Load helper functions - . (Join-Path $repoRoot 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-ScopeOfTemplateFile.ps1') + . (Join-Path $repoRoot 'utilities' 'pipelines' 'sharedScripts' 'Get-ScopeOfTemplateFile.ps1') } process { diff --git a/avm/utilities/pipelines/e2eValidation/resourceDeployment/Test-TemplateDeployment.ps1 b/utilities/pipelines/e2eValidation/resourceDeployment/Test-TemplateDeployment.ps1 similarity index 98% rename from avm/utilities/pipelines/e2eValidation/resourceDeployment/Test-TemplateDeployment.ps1 rename to utilities/pipelines/e2eValidation/resourceDeployment/Test-TemplateDeployment.ps1 index 5beeb8c52b..011d4b2848 100644 --- a/avm/utilities/pipelines/e2eValidation/resourceDeployment/Test-TemplateDeployment.ps1 +++ b/utilities/pipelines/e2eValidation/resourceDeployment/Test-TemplateDeployment.ps1 @@ -74,14 +74,14 @@ function Test-TemplateDeployment { [Hashtable] $AdditionalParameters, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.parent.FullName + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName ) begin { Write-Debug ('{0} entered' -f $MyInvocation.MyCommand) # Load helper - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-ScopeOfTemplateFile.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'sharedScripts' 'Get-ScopeOfTemplateFile.ps1') } process { diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/Initialize-DeploymentRemoval.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/Initialize-DeploymentRemoval.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/Initialize-DeploymentRemoval.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/Initialize-DeploymentRemoval.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-DeploymentTargetResourceList.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-DeploymentTargetResourceList.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-DeploymentTargetResourceList.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-DeploymentTargetResourceList.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-OrderedResourcesList.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-OrderedResourcesList.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-OrderedResourcesList.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-OrderedResourcesList.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRemoval.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRemoval.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRemoval.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRemoval.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRetrieval.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRetrieval.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRetrieval.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceLockRetrieval.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourcePostRemoval.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourcePostRemoval.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourcePostRemoval.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourcePostRemoval.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceRemoval.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceRemoval.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceRemoval.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Invoke-ResourceRemoval.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Remove-Deployment.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Remove-Deployment.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Remove-Deployment.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Remove-Deployment.ps1 diff --git a/avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Remove-ResourceList.ps1 b/utilities/pipelines/e2eValidation/resourceRemoval/helper/Remove-ResourceList.ps1 similarity index 100% rename from avm/utilities/pipelines/e2eValidation/resourceRemoval/helper/Remove-ResourceList.ps1 rename to utilities/pipelines/e2eValidation/resourceRemoval/helper/Remove-ResourceList.ps1 diff --git a/avm/utilities/pipelines/platform/Invoke-AvmJsonModuleIndexGeneration.ps1 b/utilities/pipelines/platform/Invoke-AvmJsonModuleIndexGeneration.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/Invoke-AvmJsonModuleIndexGeneration.ps1 rename to utilities/pipelines/platform/Invoke-AvmJsonModuleIndexGeneration.ps1 diff --git a/avm/utilities/pipelines/platform/Publish-ModuleFromTagToPBR.ps1 b/utilities/pipelines/platform/Publish-ModuleFromTagToPBR.ps1 similarity index 93% rename from avm/utilities/pipelines/platform/Publish-ModuleFromTagToPBR.ps1 rename to utilities/pipelines/platform/Publish-ModuleFromTagToPBR.ps1 index 1dc633163b..e60ebdcd4e 100644 --- a/avm/utilities/pipelines/platform/Publish-ModuleFromTagToPBR.ps1 +++ b/utilities/pipelines/platform/Publish-ModuleFromTagToPBR.ps1 @@ -30,12 +30,12 @@ function Publish-ModuleFromTagToPBR { [secureString] $PublicRegistryServer, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.FullName ) # Load used functions - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'publish' 'helper' 'Get-ModuleReadmeLink.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'publish' 'helper' 'Get-ModuleReadmeLink.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') # 1. Extract information from the tag $targetVersion = Split-Path $ModuleReleaseTagName -Leaf diff --git a/avm/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 b/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 similarity index 95% rename from avm/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 rename to utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 index d38bd012b9..418075edf4 100644 --- a/avm/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 +++ b/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 @@ -30,12 +30,12 @@ function Set-AvmGitHubIssueOwnerConfig { [string] $IssueUrl, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.FullName ) # Loading helper functions - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Get-AvmCsvData.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Add-GithubIssueToProject.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Get-AvmCsvData.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Add-GithubIssueToProject.ps1') $issue = gh issue view $IssueUrl.Replace('api.', '').Replace('repos/', '') --json 'author,title,url,body,comments' --repo $Repo | ConvertFrom-Json -Depth 100 diff --git a/avm/utilities/pipelines/platform/Set-AvmGitHubPrLabels.ps1 b/utilities/pipelines/platform/Set-AvmGitHubPrLabels.ps1 similarity index 89% rename from avm/utilities/pipelines/platform/Set-AvmGitHubPrLabels.ps1 rename to utilities/pipelines/platform/Set-AvmGitHubPrLabels.ps1 index a22fabe460..f26c11118b 100644 --- a/avm/utilities/pipelines/platform/Set-AvmGitHubPrLabels.ps1 +++ b/utilities/pipelines/platform/Set-AvmGitHubPrLabels.ps1 @@ -29,13 +29,13 @@ function Set-AvmGitHubPrLabels { [string] $PrUrl, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.FullName ) # Loading helper functions - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Get-GithubPrRequestedReviewerTeamNames.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Get-GithubTeamMembersLogin.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Get-AvmCsvData.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Get-GithubPrRequestedReviewerTeamNames.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Get-GithubTeamMembersLogin.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Get-AvmCsvData.ps1') $sanitizedPrUrl = $PrUrl.Replace('api.', '').Replace('repos/', '').Replace('pulls/', 'pull/') $pr = gh pr view $sanitizedPrUrl --json 'author,title,url,body,comments' --repo $Repo | ConvertFrom-Json -Depth 100 diff --git a/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 b/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 similarity index 97% rename from avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 rename to utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 index 4d91fa68d5..a926ceeb3c 100644 --- a/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 +++ b/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 @@ -35,7 +35,7 @@ function Set-AvmGithubIssueForWorkflow { [string] $Repo, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName, + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.FullName, [Parameter(Mandatory = $false)] [int] $LimitNumberOfRuns = 100, @@ -48,8 +48,8 @@ function Set-AvmGithubIssueForWorkflow { ) # Loading helper functions - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Get-AvmCsvData.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Add-GithubIssueToProject.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Get-AvmCsvData.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Add-GithubIssueToProject.ps1') $issues = gh issue list --state open --limit 500 --label 'Type: AVM :a: :v: :m:,Type: Bug :bug:' --json 'title,url,body,comments,labels' --repo $Repo | ConvertFrom-Json -Depth 100 $runs = gh run list --json 'url,workflowName,headBranch,startedAt' --limit $LimitNumberOfRuns --repo $Repo | ConvertFrom-Json -Depth 100 diff --git a/avm/utilities/pipelines/platform/Switch-WorkflowState.ps1 b/utilities/pipelines/platform/Switch-WorkflowState.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/Switch-WorkflowState.ps1 rename to utilities/pipelines/platform/Switch-WorkflowState.ps1 diff --git a/avm/utilities/pipelines/platform/Sync-AvmModulesList.ps1 b/utilities/pipelines/platform/Sync-AvmModulesList.ps1 similarity index 97% rename from avm/utilities/pipelines/platform/Sync-AvmModulesList.ps1 rename to utilities/pipelines/platform/Sync-AvmModulesList.ps1 index 2038ff5d30..1f8075a655 100644 --- a/avm/utilities/pipelines/platform/Sync-AvmModulesList.ps1 +++ b/utilities/pipelines/platform/Sync-AvmModulesList.ps1 @@ -23,12 +23,12 @@ function Sync-AvmModulesList { [string] $Repo, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.FullName ) # Loading helper functions - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Get-AvmCsvData.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'platform' 'helper' 'Add-GithubIssueToProject.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Get-AvmCsvData.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'platform' 'helper' 'Add-GithubIssueToProject.ps1') # get CSV data $targetModules = Get-AvmCsvData -ModuleIndex 'Bicep-Resource' | Where-Object { ($_.ModuleStatus -eq 'Available :green_circle:') -or ($_.ModuleStatus -eq 'Orphaned :eyes:') } | Select-Object -ExpandProperty 'ModuleName' | Sort-Object diff --git a/avm/utilities/pipelines/platform/deploymentRemoval/Clear-ManagementGroupDeploymentHistory.ps1 b/utilities/pipelines/platform/deploymentRemoval/Clear-ManagementGroupDeploymentHistory.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/deploymentRemoval/Clear-ManagementGroupDeploymentHistory.ps1 rename to utilities/pipelines/platform/deploymentRemoval/Clear-ManagementGroupDeploymentHistory.ps1 diff --git a/avm/utilities/pipelines/platform/deploymentRemoval/Clear-SubscriptionDeploymentHistory.ps1 b/utilities/pipelines/platform/deploymentRemoval/Clear-SubscriptionDeploymentHistory.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/deploymentRemoval/Clear-SubscriptionDeploymentHistory.ps1 rename to utilities/pipelines/platform/deploymentRemoval/Clear-SubscriptionDeploymentHistory.ps1 diff --git a/avm/utilities/pipelines/platform/helper/Add-GithubIssueToProject.ps1 b/utilities/pipelines/platform/helper/Add-GithubIssueToProject.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/helper/Add-GithubIssueToProject.ps1 rename to utilities/pipelines/platform/helper/Add-GithubIssueToProject.ps1 diff --git a/avm/utilities/pipelines/platform/helper/Get-AvmCsvData.ps1 b/utilities/pipelines/platform/helper/Get-AvmCsvData.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/helper/Get-AvmCsvData.ps1 rename to utilities/pipelines/platform/helper/Get-AvmCsvData.ps1 diff --git a/avm/utilities/pipelines/platform/helper/Get-GithubPrRequestedReviewerTeamNames.ps1 b/utilities/pipelines/platform/helper/Get-GithubPrRequestedReviewerTeamNames.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/helper/Get-GithubPrRequestedReviewerTeamNames.ps1 rename to utilities/pipelines/platform/helper/Get-GithubPrRequestedReviewerTeamNames.ps1 diff --git a/avm/utilities/pipelines/platform/helper/Get-GithubTeamMembersLogin.ps1 b/utilities/pipelines/platform/helper/Get-GithubTeamMembersLogin.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/helper/Get-GithubTeamMembersLogin.ps1 rename to utilities/pipelines/platform/helper/Get-GithubTeamMembersLogin.ps1 diff --git a/avm/utilities/pipelines/platform/helper/Split-Array.ps1 b/utilities/pipelines/platform/helper/Split-Array.ps1 similarity index 100% rename from avm/utilities/pipelines/platform/helper/Split-Array.ps1 rename to utilities/pipelines/platform/helper/Split-Array.ps1 diff --git a/avm/utilities/pipelines/publish/Confirm-ModuleIsPublished.ps1 b/utilities/pipelines/publish/Confirm-ModuleIsPublished.ps1 similarity index 100% rename from avm/utilities/pipelines/publish/Confirm-ModuleIsPublished.ps1 rename to utilities/pipelines/publish/Confirm-ModuleIsPublished.ps1 diff --git a/avm/utilities/pipelines/publish/Publish-ModuleFromPathToPBR.ps1 b/utilities/pipelines/publish/Publish-ModuleFromPathToPBR.ps1 similarity index 84% rename from avm/utilities/pipelines/publish/Publish-ModuleFromPathToPBR.ps1 rename to utilities/pipelines/publish/Publish-ModuleFromPathToPBR.ps1 index 0c984c0437..8b7311cbfa 100644 --- a/avm/utilities/pipelines/publish/Publish-ModuleFromPathToPBR.ps1 +++ b/utilities/pipelines/publish/Publish-ModuleFromPathToPBR.ps1 @@ -34,16 +34,16 @@ function Publish-ModuleFromPathToPBR { [secureString] $PublicRegistryServer, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.FullName ) # Load used functions - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'publish' 'helper' 'Get-ModulesToPublish.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'publish' 'helper' 'Get-ModuleTargetVersion.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'publish' 'helper' 'New-ModuleReleaseTag.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'publish' 'helper' 'Get-ModuleReadmeLink.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-BRMRepositoryName.ps1') - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'publish' 'helper' 'Get-ModulesToPublish.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'publish' 'helper' 'Get-ModuleTargetVersion.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'publish' 'helper' 'New-ModuleReleaseTag.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'publish' 'helper' 'Get-ModuleReadmeLink.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'sharedScripts' 'Get-BRMRepositoryName.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'sharedScripts' 'tokenReplacement' 'Convert-TokensInFileList.ps1') $moduleFolderPath = Split-Path $TemplateFilePath -Parent $moduleBicepFilePath = Join-Path $moduleFolderPath 'main.bicep' diff --git a/avm/utilities/pipelines/publish/helper/Get-ModuleReadmeLink.ps1 b/utilities/pipelines/publish/helper/Get-ModuleReadmeLink.ps1 similarity index 100% rename from avm/utilities/pipelines/publish/helper/Get-ModuleReadmeLink.ps1 rename to utilities/pipelines/publish/helper/Get-ModuleReadmeLink.ps1 diff --git a/avm/utilities/pipelines/publish/helper/Get-ModuleTargetPatchVersion.ps1 b/utilities/pipelines/publish/helper/Get-ModuleTargetPatchVersion.ps1 similarity index 100% rename from avm/utilities/pipelines/publish/helper/Get-ModuleTargetPatchVersion.ps1 rename to utilities/pipelines/publish/helper/Get-ModuleTargetPatchVersion.ps1 diff --git a/avm/utilities/pipelines/publish/helper/Get-ModuleTargetVersion.ps1 b/utilities/pipelines/publish/helper/Get-ModuleTargetVersion.ps1 similarity index 100% rename from avm/utilities/pipelines/publish/helper/Get-ModuleTargetVersion.ps1 rename to utilities/pipelines/publish/helper/Get-ModuleTargetVersion.ps1 diff --git a/avm/utilities/pipelines/publish/helper/Get-ModuleVersionChange.ps1 b/utilities/pipelines/publish/helper/Get-ModuleVersionChange.ps1 similarity index 100% rename from avm/utilities/pipelines/publish/helper/Get-ModuleVersionChange.ps1 rename to utilities/pipelines/publish/helper/Get-ModuleVersionChange.ps1 diff --git a/avm/utilities/pipelines/publish/helper/Get-ModulesToPublish.ps1 b/utilities/pipelines/publish/helper/Get-ModulesToPublish.ps1 similarity index 99% rename from avm/utilities/pipelines/publish/helper/Get-ModulesToPublish.ps1 rename to utilities/pipelines/publish/helper/Get-ModulesToPublish.ps1 index 528734d992..bb15612fdb 100644 --- a/avm/utilities/pipelines/publish/helper/Get-ModulesToPublish.ps1 +++ b/utilities/pipelines/publish/helper/Get-ModulesToPublish.ps1 @@ -7,7 +7,7 @@ Get modified files between previous and current commit depending on if you are r .EXAMPLE Get-ModifiedFileList - Directory: .avm\utilities\pipelines\publish + Directory: .utilities\pipelines\publish Mode LastWriteTime Length Name ---- ------------- ------ ---- diff --git a/avm/utilities/pipelines/publish/helper/New-ModuleReleaseTag.ps1 b/utilities/pipelines/publish/helper/New-ModuleReleaseTag.ps1 similarity index 100% rename from avm/utilities/pipelines/publish/helper/New-ModuleReleaseTag.ps1 rename to utilities/pipelines/publish/helper/New-ModuleReleaseTag.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Add-YamlListToFile.ps1 b/utilities/pipelines/sharedScripts/Add-YamlListToFile.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/Add-YamlListToFile.ps1 rename to utilities/pipelines/sharedScripts/Add-YamlListToFile.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Get-BRMRepositoryName.ps1 b/utilities/pipelines/sharedScripts/Get-BRMRepositoryName.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/Get-BRMRepositoryName.ps1 rename to utilities/pipelines/sharedScripts/Get-BRMRepositoryName.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 b/utilities/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 rename to utilities/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Get-LocallyReferencedFileList.ps1 b/utilities/pipelines/sharedScripts/Get-LocallyReferencedFileList.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/Get-LocallyReferencedFileList.ps1 rename to utilities/pipelines/sharedScripts/Get-LocallyReferencedFileList.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Get-NestedResourceList.ps1 b/utilities/pipelines/sharedScripts/Get-NestedResourceList.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/Get-NestedResourceList.ps1 rename to utilities/pipelines/sharedScripts/Get-NestedResourceList.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Get-PipelineFileName.ps1 b/utilities/pipelines/sharedScripts/Get-PipelineFileName.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/Get-PipelineFileName.ps1 rename to utilities/pipelines/sharedScripts/Get-PipelineFileName.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Get-ScopeOfTemplateFile.ps1 b/utilities/pipelines/sharedScripts/Get-ScopeOfTemplateFile.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/Get-ScopeOfTemplateFile.ps1 rename to utilities/pipelines/sharedScripts/Get-ScopeOfTemplateFile.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 b/utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 rename to utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1 b/utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1 similarity index 99% rename from avm/utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1 rename to utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1 index 2562eb4eb9..5b802eb618 100644 --- a/avm/utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1 +++ b/utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1 @@ -1153,7 +1153,7 @@ function ConvertTo-FormattedJSONParameterObject { $isLineWithReferenceInLineKey = ($line -split ':')[0].Trim() -like '*.*' $isLineWithStringNestedReference = $lineValue -match "['|`"]{1}.*\$\{.+" # e.g., "Download ${initializeSoftwareScriptName}" or '${last(...)}' $isLineWithStringValue = $lineValue -match '^".+"$' # e.g. "value" - $isLineWithFunction = $lineValue -match '^[a-zA-Z]+\(.+' # e.g., split(something) + $isLineWithFunction = $lineValue -match '^[a-zA-Z0-9]+\(.+' # e.g., split(something) or loadFileAsBase64("./test.pfx") $isLineWithPlainValue = $lineValue -match '^\w+$' # e.g. adminPassword: password $isLineWithPrimitiveValue = $lineValue -match '^\s*true|false|[0-9]+$' # e.g., isSecure: true $isLineContainingCondition = $lineValue -match '^\w+ [=!?|&]{2} .+\?.+\:.+$' # e.g., iteration == "init" ? "A" : "B" diff --git a/avm/utilities/pipelines/sharedScripts/helper/ConvertTo-OrderedHashtable.ps1 b/utilities/pipelines/sharedScripts/helper/ConvertTo-OrderedHashtable.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/helper/ConvertTo-OrderedHashtable.ps1 rename to utilities/pipelines/sharedScripts/helper/ConvertTo-OrderedHashtable.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/helper/Get-CrossReferencedModuleList.ps1 b/utilities/pipelines/sharedScripts/helper/Get-CrossReferencedModuleList.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/helper/Get-CrossReferencedModuleList.ps1 rename to utilities/pipelines/sharedScripts/helper/Get-CrossReferencedModuleList.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/helper/Get-IsParameterRequired.ps1 b/utilities/pipelines/sharedScripts/helper/Get-IsParameterRequired.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/helper/Get-IsParameterRequired.ps1 rename to utilities/pipelines/sharedScripts/helper/Get-IsParameterRequired.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/helper/Get-SpecsAlignedResourceName.ps1 b/utilities/pipelines/sharedScripts/helper/Get-SpecsAlignedResourceName.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/helper/Get-SpecsAlignedResourceName.ps1 rename to utilities/pipelines/sharedScripts/helper/Get-SpecsAlignedResourceName.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/helper/Merge-FileWithNewContent.ps1 b/utilities/pipelines/sharedScripts/helper/Merge-FileWithNewContent.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/helper/Merge-FileWithNewContent.ps1 rename to utilities/pipelines/sharedScripts/helper/Merge-FileWithNewContent.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/tokenReplacement/Convert-TokensInFileList.ps1 b/utilities/pipelines/sharedScripts/tokenReplacement/Convert-TokensInFileList.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/tokenReplacement/Convert-TokensInFileList.ps1 rename to utilities/pipelines/sharedScripts/tokenReplacement/Convert-TokensInFileList.ps1 diff --git a/avm/utilities/pipelines/sharedScripts/tokenReplacement/helper/Convert-TokenInFile.ps1 b/utilities/pipelines/sharedScripts/tokenReplacement/helper/Convert-TokenInFile.ps1 similarity index 100% rename from avm/utilities/pipelines/sharedScripts/tokenReplacement/helper/Convert-TokenInFile.ps1 rename to utilities/pipelines/sharedScripts/tokenReplacement/helper/Convert-TokenInFile.ps1 diff --git a/avm/utilities/pipelines/staticValidation/compliance/Set-PesterGitHubOutput.ps1 b/utilities/pipelines/staticValidation/compliance/Set-PesterGitHubOutput.ps1 similarity index 99% rename from avm/utilities/pipelines/staticValidation/compliance/Set-PesterGitHubOutput.ps1 rename to utilities/pipelines/staticValidation/compliance/Set-PesterGitHubOutput.ps1 index 83c24536cd..dafe535aa4 100644 --- a/avm/utilities/pipelines/staticValidation/compliance/Set-PesterGitHubOutput.ps1 +++ b/utilities/pipelines/staticValidation/compliance/Set-PesterGitHubOutput.ps1 @@ -72,7 +72,7 @@ function Set-PesterGitHubOutput { [CmdletBinding(SupportsShouldProcess)] param ( [Parameter(Mandatory = $false)] - [string] $RepoRootPath = (Get-Item $PSScriptRoot).Parent.Parent.Parent.Parent.Parent.FullName, + [string] $RepoRootPath = (Get-Item -Path $PSScriptRoot).Parent.Parent.Parent.Parent.FullName, [Parameter(Mandatory = $true)] [PSCustomObject] $PesterTestResults, diff --git a/utilities/pipelines/staticValidation/compliance/helper/helper.psm1 b/utilities/pipelines/staticValidation/compliance/helper/helper.psm1 new file mode 100644 index 0000000000..3c3328cda9 --- /dev/null +++ b/utilities/pipelines/staticValidation/compliance/helper/helper.psm1 @@ -0,0 +1,328 @@ +############################## +# Load general functions # +############################## +$repoRootPath = (Get-Item -Path $PSScriptRoot).Parent.Parent.Parent.Parent.Parent.FullName + +. (Join-Path $repoRootPath 'utilities' 'pipelines' 'sharedScripts' 'Get-NestedResourceList.ps1') +. (Join-Path $repoRootPath 'utilities' 'pipelines' 'sharedScripts' 'Get-ScopeOfTemplateFile.ps1') +. (Join-Path $repoRootPath 'utilities' 'pipelines' 'sharedScripts' 'Get-PipelineFileName.ps1') +. (Join-Path $repoRootPath 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-IsParameterRequired.ps1') +. (Join-Path $repoRootPath 'utilities' 'pipelines' 'sharedScripts' 'helper' 'ConvertTo-OrderedHashtable.ps1') +. (Join-Path $repoRootPath 'utilities' 'pipelines' 'sharedScripts' 'helper' 'Get-CrossReferencedModuleList.ps1') +. (Join-Path $repoRootPath 'utilities' 'pipelines' 'sharedScripts' 'Get-BRMRepositoryName.ps1') + +#################################### +# Load test-specific functions # +#################################### + +<# +.SYNOPSIS +Get the index of a header in a given markdown array + +.DESCRIPTION +Get the index of a header in a given markdown array + +.PARAMETER ReadMeContent +Required. The content to search in + +.PARAMETER MarkdownSectionIdentifier +Required. The header to search for. For example '*# Parameters' + +.EXAMPLE +Get-MarkdownSectionStartIndex -ReadMeContent @('# Parameters', 'other content') -MarkdownSectionIdentifier '*# Parameters' + +Get the index of the '# Parameters' header in the given markdown array @('# Parameters', 'other content') +#> +function Get-MarkdownSectionStartIndex { + + [CmdletBinding()] + param ( + [Parameter(Mandatory = $true)] + [array] $ReadMeContent, + + [Parameter(Mandatory = $true)] + [string] $MarkdownSectionIdentifier + ) + + $sectionStartIndex = 0 + while ($ReadMeContent[$sectionStartIndex] -notlike $MarkdownSectionIdentifier -and -not ($sectionStartIndex -ge $ReadMeContent.count)) { + $sectionStartIndex++ + } + + return $sectionStartIndex +} + +<# +.SYNOPSIS +Get the last index of a section in a given markdown array + +.DESCRIPTION +Get the last index of a section in a given markdown array. The end of a section is identified by the start of a new header. + +.PARAMETER ReadMeContent +Required. The content to search in + +.PARAMETER SectionStartIndex +Required. The index where the section starts + +.EXAMPLE +Get-MarkdownSectionEndIndex -ReadMeContent @('somrthing', '# Parameters', 'other content', '# Other header') -SectionStartIndex 2 + +Search for the end index of the section starting in index 2 in array @('somrthing', '# Parameters', 'other content', '# Other header'). Would return 3. +#> +function Get-MarkdownSectionEndIndex { + + [CmdletBinding()] + param ( + [Parameter(Mandatory = $true)] + [array] $ReadMeContent, + + [Parameter(Mandatory = $true)] + [int] $SectionStartIndex + ) + + $sectionEndIndex = $sectionStartIndex + 1 + while ($readMeContent[$sectionEndIndex] -notlike '*# *' -and -not ($sectionEndIndex -ge $ReadMeContent.count)) { + $sectionEndIndex++ + } + + return $sectionEndIndex +} + +<# +.SYNOPSIS +Get the start & end index of a table in a given markdown section, indentified by a header + +.DESCRIPTION +Get the start & end index of a table in a given markdown section, indentified by a header. + +.PARAMETER ReadMeContent +Required. The content to search in + +.PARAMETER MarkdownSectionIdentifier +Required. The header of the section containing the table to search for. For example '*# Parameters' + +.EXAMPLE +$tableStartIndex, $tableEndIndex = Get-TableStartAndEndIndex -ReadMeContent @('# Parameters', '| a | b |', '| - | - |', '| 1 | 2 |', 'other content') -MarkdownSectionIdentifier '*# Parameters' + +Get the start & end index of the table in section '# Parameters' in the given ReadMe content. Would return @(1,3) +#> +function Get-TableStartAndEndIndex { + + [CmdletBinding()] + param ( + [Parameter(Mandatory = $true)] + [array] $ReadMeContent, + + [Parameter(Mandatory = $true)] + [string] $MarkdownSectionIdentifier + ) + + $sectionStartIndex = Get-MarkdownSectionStartIndex -ReadMeContent $ReadMeContent -MarkdownSectionIdentifier $MarkdownSectionIdentifier + + $tableStartIndex = $sectionStartIndex + 1 + while ($readMeContent[$tableStartIndex] -notlike '*|*' -and -not ($tableStartIndex -ge $readMeContent.count)) { + $tableStartIndex++ + } + + $tableEndIndex = $tableStartIndex + 2 + while ($readMeContent[$tableEndIndex] -like '|*' -and -not ($tableEndIndex -ge $readMeContent.count)) { + $tableEndIndex++ + } + + return $tableStartIndex, $tableEndIndex +} + +<# +.SYNOPSIS +Remove metadata blocks from given template object + +.DESCRIPTION +Remove metadata blocks from given template object + +.PARAMETER TemplateObject +The template object to remove the metadata from + +.EXAMPLE +Remove-JSONMetadata -TemplateObject @{ metadata = 'a'; b = 'b' } + +Returns @{ b = 'b' } +#> +function Remove-JSONMetadata { + + [CmdletBinding()] + param ( + [Parameter(Mandatory = $true)] + [hashtable] $TemplateObject + ) + $TemplateObject.Remove('metadata') + + # Differantiate case: With user defined types (resources property is hashtable) vs without user defined types (resources property is array) + if ($TemplateObject.resources.GetType().BaseType.Name -eq 'Hashtable') { + # Case: Hashtable + $resourceIdentifiers = $TemplateObject.resources.Keys + for ($index = 0; $index -lt $resourceIdentifiers.Count; $index++) { + if ($TemplateObject.resources[$resourceIdentifiers[$index]].type -eq 'Microsoft.Resources/deployments' -and $TemplateObject.resources[$resourceIdentifiers[$index]].properties.template.GetType().BaseType.Name -eq 'Hashtable') { + $TemplateObject.resources[$resourceIdentifiers[$index]] = Remove-JSONMetadata -TemplateObject $TemplateObject.resources[$resourceIdentifiers[$index]].properties.template + } + } + } else { + # Case: Array + for ($index = 0; $index -lt $TemplateObject.resources.Count; $index++) { + if ($TemplateObject.resources[$index].type -eq 'Microsoft.Resources/deployments' -and $TemplateObject.resources[$index].properties.template.GetType().BaseType.Name -eq 'Hashtable') { + $TemplateObject.resources[$index] = Remove-JSONMetadata -TemplateObject $TemplateObject.resources[$index].properties.template + } + } + } + + return $TemplateObject +} + +<# +.SYNOPSIS +Get a flat list of all parameters in a given template + +.DESCRIPTION +Get a flat list of all parameters in a given template + +.PARAMETER TemplateFileContent +Mandatory. The template containing all the data + +.PARAMETER Properties +Optional. Hashtable of the user defined properties + +.PARAMETER ParentName +Optional. Name of the parameter, that has the user defined types + +.EXAMPLE +Resolve-ReadMeParameterList -TemplateFileContent @{ resource = @{}; parameters = @{}; ... } + +Top-level invocation. Will start from the TemplateFile's parameters object and recursively crawl through all children. + +.EXAMPLE +Resolve-ReadMeParameterList -TemplateFileContent @{ resource = @{}; parameters = @{}; ... } -Properties @{ @{ name = @{ type = 'string'; 'allowedValues' = @('A1','A2','A3','A4','A5','A6'); 'nullable' = $true; (...) } -ParentName 'diagnosticSettings' + +Child-level invocation during recursion. + +.NOTES +The function is recursive and will also output grand, great grand children, ... . +#> +function Resolve-ReadMeParameterList { + param ( + [Parameter(Mandatory = $true)] + [hashtable] $TemplateFileContent, + + [Parameter(Mandatory = $false)] + [hashtable] $Properties, + + [Parameter(Mandatory = $false)] + [string] $ParentName + ) + + $parameterSet = @{} + + if (-not $Properties -and -not $TemplateFileContent.parameters) { + # no Parameters / properties on this level or in the template + return $parameterSet + } elseif (-not $Properties) { + # Top-level invocation + # Add name as property for later reference + $TemplateFileContent.parameters.Keys | ForEach-Object { $TemplateFileContent.parameters[$_]['name'] = $_ } + [array] $parameters = $TemplateFileContent.parameters.Values | Sort-Object -Property 'Name' -Culture 'en-US' + } else { + # Add name as property for later reference + $Properties.Keys | ForEach-Object { $Properties[$_]['name'] = $_ } + $parameters = $Properties.Values | Sort-Object -Property 'Name' -Culture 'en-US' + } + + foreach ($parameter in $parameters) { + + ###################### + # Gather details # + ###################### + + $paramIdentifier = (-not [String]::IsNullOrEmpty($ParentName)) ? '{0}.{1}' -f $ParentName, $parameter.name : $parameter.name + + # definition type (if any) + if ($parameter.Keys -contains '$ref') { + $identifier = Split-Path $parameter.'$ref' -Leaf + $definition = $TemplateFileContent.definitions[$identifier] + # $type = $definition['type'] + } elseif ($parameter.Keys -contains 'items' -and $parameter.items.type -in @('object', 'array') -or $parameter.type -eq 'object') { + # Array has nested non-primitive type (array/object) - and if array, the the UDT itself is declared as the array + $definition = $parameter + } elseif ($parameter.Keys -contains 'items' -and $parameter.items.keys -contains '$ref') { + # Array has nested non-primitive type (array) - and the parameter is defined as an array of the UDT + $identifier = Split-Path $parameter.items.'$ref' -Leaf + $definition = $TemplateFileContent.definitions[$identifier] + } else { + $definition = $null + } + + $parameterSet[$paramIdentifier] = $parameter + + #recursive call for children + if ($definition) { + if ($definition.ContainsKey('items') -and $definition['items'].ContainsKey('properties')) { + $childProperties = $definition['items']['properties'] + } elseif ($definition.type -eq 'object' -and $definition['properties']) { + $childProperties = $definition['properties'] + } else { + $childProperties = $null + } + + if ($childProperties) { + $parameterSet += Resolve-ReadMeParameterList -TemplateFileContent $TemplateFileContent -Properties $childProperties -ParentName $paramIdentifier + } + } + } + + return $parameterSet +} + +<# +Get a hashtable of all environment variables in the given GitHub workflow + +.DESCRIPTION +Get a hashtable of all environment variables in the given GitHub workflow + +.PARAMETER WorkflowPath +Mandatory. The path of the workflow to get the environment variables from + +.EXAMPLE +Get-WorkflowEnvVariablesAsObject -WorkflowPath 'C:/bicep-registry-modules/.github/workflows/test.yml' + +Get the environment variables from the given workflow +#> +function Get-WorkflowEnvVariablesAsObject { + + [CmdletBinding()] + param ( + [Parameter(Mandatory)] + [string] $WorkflowPath + ) + + $contentFileContent = Get-Content -Path $workflowPath + + $envStartIndex = $contentFileContent.IndexOf('env:') + + if (-not $envStartIndex) { + # No env variables defined in the given workflow + return @{} + } + + $searchIndex = $envStartIndex + 1 + $envVars = @{} + + while ($searchIndex -lt $contentFileContent.Count) { + $line = $contentFileContent[$searchIndex] + if ($line -match "^\s+(\w+): (?:`"|')*([^`"'\s]+)(?:`"|')*$") { + $envVars[($Matches[1])] = $Matches[2] + } else { + break + } + $searchIndex++ + } + + return $envVars +} diff --git a/avm/utilities/pipelines/staticValidation/compliance/module.tests.ps1 b/utilities/pipelines/staticValidation/compliance/module.tests.ps1 similarity index 99% rename from avm/utilities/pipelines/staticValidation/compliance/module.tests.ps1 rename to utilities/pipelines/staticValidation/compliance/module.tests.ps1 index 81d9d02186..7f344a775b 100644 --- a/avm/utilities/pipelines/staticValidation/compliance/module.tests.ps1 +++ b/utilities/pipelines/staticValidation/compliance/module.tests.ps1 @@ -7,7 +7,7 @@ param ( }), [Parameter(Mandatory = $false)] - [string] $repoRootPath = (Get-Item $PSScriptRoot).Parent.Parent.Parent.Parent.Parent.FullName, + [string] $repoRootPath = (Get-Item -Path $PSScriptRoot).Parent.Parent.Parent.Parent.FullName, [Parameter(Mandatory = $false)] [bool] $AllowPreviewVersionsInAPITests = $true @@ -322,7 +322,7 @@ Describe 'Module tests' -Tag 'Module' { $fileHashBefore = (Get-FileHash $readMeFilePath).Hash # Load function - . (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Set-ModuleReadMe.ps1') + . (Join-Path $repoRootPath 'utilities' 'pipelines' 'sharedScripts' 'Set-ModuleReadMe.ps1') # Apply update with already compiled template content Set-ModuleReadMe -TemplateFilePath $templateFilePath -PreLoadedContent @{ TemplateFileContent = $templateFileContent } @@ -341,7 +341,7 @@ Describe 'Module tests' -Tag 'Module' { } $mdFormattedDiff = ($diffReponse -join '
') -replace '\|', '\|' - $filesAreTheSame | Should -Be $true -Because ('The file hashes before and after applying the `/avm/utilities/tools/Set-AVMModule.ps1` and more precisely the `/avm/utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1` function should be identical and should not have diff
{0}
. Please re-run the `Set-AVMModule` function for this module.' -f $mdFormattedDiff) + $filesAreTheSame | Should -Be $true -Because ('The file hashes before and after applying the `/utilities/tools/Set-AVMModule.ps1` and more precisely the `/utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1` function should be identical and should not have diff
{0}
. Please re-run the `Set-AVMModule` function for this module.' -f $mdFormattedDiff) } } diff --git a/avm/utilities/pipelines/staticValidation/psrule/.ps-rule/cb-waf-security.Rule.yaml b/utilities/pipelines/staticValidation/psrule/.ps-rule/cb-waf-security.Rule.yaml similarity index 100% rename from avm/utilities/pipelines/staticValidation/psrule/.ps-rule/cb-waf-security.Rule.yaml rename to utilities/pipelines/staticValidation/psrule/.ps-rule/cb-waf-security.Rule.yaml diff --git a/avm/utilities/pipelines/staticValidation/psrule/.ps-rule/dep-suppress.Rule.yaml b/utilities/pipelines/staticValidation/psrule/.ps-rule/dep-suppress.Rule.yaml similarity index 100% rename from avm/utilities/pipelines/staticValidation/psrule/.ps-rule/dep-suppress.Rule.yaml rename to utilities/pipelines/staticValidation/psrule/.ps-rule/dep-suppress.Rule.yaml diff --git a/avm/utilities/pipelines/staticValidation/psrule/.ps-rule/min-suppress.Rule.yaml b/utilities/pipelines/staticValidation/psrule/.ps-rule/min-suppress.Rule.yaml similarity index 100% rename from avm/utilities/pipelines/staticValidation/psrule/.ps-rule/min-suppress.Rule.yaml rename to utilities/pipelines/staticValidation/psrule/.ps-rule/min-suppress.Rule.yaml diff --git a/avm/utilities/pipelines/staticValidation/psrule/.ps-rule/na-suppress.Rule.yaml b/utilities/pipelines/staticValidation/psrule/.ps-rule/na-suppress.Rule.yaml similarity index 100% rename from avm/utilities/pipelines/staticValidation/psrule/.ps-rule/na-suppress.Rule.yaml rename to utilities/pipelines/staticValidation/psrule/.ps-rule/na-suppress.Rule.yaml diff --git a/avm/utilities/pipelines/staticValidation/psrule/Set-PSRuleGitHubOutput.ps1 b/utilities/pipelines/staticValidation/psrule/Set-PSRuleGitHubOutput.ps1 similarity index 100% rename from avm/utilities/pipelines/staticValidation/psrule/Set-PSRuleGitHubOutput.ps1 rename to utilities/pipelines/staticValidation/psrule/Set-PSRuleGitHubOutput.ps1 diff --git a/avm/utilities/pipelines/staticValidation/psrule/ps-rule.yaml b/utilities/pipelines/staticValidation/psrule/ps-rule.yaml similarity index 100% rename from avm/utilities/pipelines/staticValidation/psrule/ps-rule.yaml rename to utilities/pipelines/staticValidation/psrule/ps-rule.yaml diff --git a/avm/utilities/tests/Test-CI.ps1 b/utilities/tests/Test-CI.ps1 similarity index 88% rename from avm/utilities/tests/Test-CI.ps1 rename to utilities/tests/Test-CI.ps1 index b6762004e8..6b6be91d09 100644 --- a/avm/utilities/tests/Test-CI.ps1 +++ b/utilities/tests/Test-CI.ps1 @@ -37,7 +37,7 @@ function Test-CI { [CmdletBinding()] param ( [Parameter()] - [string] $RepoRootPath = (Get-Item $PSScriptRoot).Parent.Parent.Parent.FullName, + [string] $RepoRootPath = (Get-Item -Path $PSScriptRoot).Parent.Parent.FullName, [Parameter()] [string] $BranchName = (git branch --show-current), @@ -53,9 +53,9 @@ function Test-CI { ) # Load used functions - . (Join-Path $RepoRootPath 'avm' 'utilities' 'pipelines' 'staticValidation' 'compliance' 'Set-PesterGitHubOutput.ps1') + . (Join-Path $RepoRootPath 'utilities' 'pipelines' 'staticValidation' 'compliance' 'Set-PesterGitHubOutput.ps1') - $testFiles = (Get-ChildItem -Path (Join-Path $RepoRootPath 'avm' 'utilities' 'tests') -Recurse -File -Filter '*.tests.ps1').FullName | Where-Object { + $testFiles = (Get-ChildItem -Path (Join-Path $RepoRootPath 'utilities' 'tests') -Recurse -File -Filter '*.tests.ps1').FullName | Where-Object { $_ -match $TestFileRegex } @@ -92,7 +92,7 @@ function Test-CI { $functionInput = @{ RepoRootPath = $RepoRootPath PesterTestResults = $testResults - OutputFilePath = Join-Path $RepoRootPath 'avm' 'utilities' 'tests' 'Pester-output.md' + OutputFilePath = Join-Path $RepoRootPath 'utilities' 'tests' 'Pester-output.md' GitHubRepository = $GitHubRepository BranchName = $BranchName } diff --git a/avm/utilities/tests/pipelines/Get-OrderedResourcesList.tests.ps1 b/utilities/tests/pipelines/Get-OrderedResourcesList.tests.ps1 similarity index 98% rename from avm/utilities/tests/pipelines/Get-OrderedResourcesList.tests.ps1 rename to utilities/tests/pipelines/Get-OrderedResourcesList.tests.ps1 index 37c725b590..11a695571a 100644 --- a/avm/utilities/tests/pipelines/Get-OrderedResourcesList.tests.ps1 +++ b/utilities/tests/pipelines/Get-OrderedResourcesList.tests.ps1 @@ -1,6 +1,6 @@ param( [Parameter(Mandatory = $false)] - [string] $repoRootPath = (Get-Item $PSScriptRoot).Parent.Parent.Parent.Parent.FullName + [string] $repoRootPath = (Get-Item -Path $PSScriptRoot).Parent.Parent.Parent.FullName ) $script:repoRootPath = $repoRootPath @@ -8,7 +8,7 @@ $script:repoRootPath = $repoRootPath Describe 'Test sequence ordering' { BeforeEach { - . (Join-Path $repoRootPath 'avm' 'utilities' 'pipelines' 'e2eValidation' 'resourceRemoval' 'helper' 'Get-OrderedResourcesList.ps1') + . (Join-Path $repoRootPath 'utilities' 'pipelines' 'e2eValidation' 'resourceRemoval' 'helper' 'Get-OrderedResourcesList.ps1') } It 'Remove first sequence should be as expected' { diff --git a/avm/utilities/tools/Invoke-WorkflowsFailedJobsReRun.ps1 b/utilities/tools/Invoke-WorkflowsFailedJobsReRun.ps1 similarity index 100% rename from avm/utilities/tools/Invoke-WorkflowsFailedJobsReRun.ps1 rename to utilities/tools/Invoke-WorkflowsFailedJobsReRun.ps1 diff --git a/avm/utilities/tools/Invoke-WorkflowsForBranch.ps1 b/utilities/tools/Invoke-WorkflowsForBranch.ps1 similarity index 99% rename from avm/utilities/tools/Invoke-WorkflowsForBranch.ps1 rename to utilities/tools/Invoke-WorkflowsForBranch.ps1 index dbb34084d9..4abdeba287 100644 --- a/avm/utilities/tools/Invoke-WorkflowsForBranch.ps1 +++ b/utilities/tools/Invoke-WorkflowsForBranch.ps1 @@ -273,7 +273,7 @@ function Invoke-WorkflowsForBranch { [string] $RepositoryName = 'bicep-registry-modules', [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item $PSScriptRoot).Parent.Parent.FullName, + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).Parent.FullName, [Parameter(Mandatory = $false)] [hashtable] $WorkflowInputs = @{ diff --git a/avm/utilities/tools/Set-AVMModule.ps1 b/utilities/tools/Set-AVMModule.ps1 similarity index 100% rename from avm/utilities/tools/Set-AVMModule.ps1 rename to utilities/tools/Set-AVMModule.ps1 diff --git a/avm/utilities/tools/Test-ModuleLocally.ps1 b/utilities/tools/Test-ModuleLocally.ps1 similarity index 98% rename from avm/utilities/tools/Test-ModuleLocally.ps1 rename to utilities/tools/Test-ModuleLocally.ps1 index 277d96d476..10791bc671 100644 --- a/avm/utilities/tools/Test-ModuleLocally.ps1 +++ b/utilities/tools/Test-ModuleLocally.ps1 @@ -124,7 +124,7 @@ function Test-ModuleLocally { [string] $ModuleTestFilePath = (Join-Path (Split-Path $TemplateFilePath -Parent) 'tests'), [Parameter(Mandatory = $false)] - [string] $PesterTestFilePath = 'avm/utilities/pipelines/staticValidation/compliance/module.tests.ps1', + [string] $PesterTestFilePath = 'utilities/pipelines/staticValidation/compliance/module.tests.ps1', [Parameter(Mandatory = $false)] [Psobject] $ValidateOrDeployParameters = @{}, @@ -152,7 +152,7 @@ function Test-ModuleLocally { ) begin { - $repoRootPath = (Get-Item $PSScriptRoot).Parent.Parent.Parent.FullName + $repoRootPath = (Get-Item -Path $PSScriptRoot).Parent.Parent.FullName $ModuleName = Split-Path (Split-Path $TemplateFilePath -Parent) -Leaf $utilitiesFolderPath = Split-Path $PSScriptRoot -Parent $moduleRoot = Split-Path $TemplateFilePath diff --git a/avm/utilities/tools/helper/Get-TemplateDeploymentWhatIf.ps1 b/utilities/tools/helper/Get-TemplateDeploymentWhatIf.ps1 similarity index 98% rename from avm/utilities/tools/helper/Get-TemplateDeploymentWhatIf.ps1 rename to utilities/tools/helper/Get-TemplateDeploymentWhatIf.ps1 index af007046de..a8fa9ecb35 100644 --- a/avm/utilities/tools/helper/Get-TemplateDeploymentWhatIf.ps1 +++ b/utilities/tools/helper/Get-TemplateDeploymentWhatIf.ps1 @@ -74,14 +74,14 @@ function Get-TemplateDeploymentWhatIf { [Hashtable] $AdditionalParameters, [Parameter(Mandatory = $false)] - [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName + [string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.FullName ) begin { Write-Debug ('{0} entered' -f $MyInvocation.MyCommand) # Load helper - . (Join-Path $RepoRoot 'avm' 'utilities' 'pipelines' 'sharedScripts' 'Get-ScopeOfTemplateFile.ps1') + . (Join-Path $RepoRoot 'utilities' 'pipelines' 'sharedScripts' 'Get-ScopeOfTemplateFile.ps1') } process { diff --git a/avm/utilities/tools/helper/Set-ModuleFileAndFolderSetup.ps1 b/utilities/tools/helper/Set-ModuleFileAndFolderSetup.ps1 similarity index 100% rename from avm/utilities/tools/helper/Set-ModuleFileAndFolderSetup.ps1 rename to utilities/tools/helper/Set-ModuleFileAndFolderSetup.ps1 diff --git a/avm/utilities/tools/helper/src/src.child.main.bicep b/utilities/tools/helper/src/src.child.main.bicep similarity index 100% rename from avm/utilities/tools/helper/src/src.child.main.bicep rename to utilities/tools/helper/src/src.child.main.bicep diff --git a/avm/utilities/tools/helper/src/src.main.bicep b/utilities/tools/helper/src/src.main.bicep similarity index 100% rename from avm/utilities/tools/helper/src/src.main.bicep rename to utilities/tools/helper/src/src.main.bicep diff --git a/avm/utilities/tools/helper/src/src.main.test.bicep b/utilities/tools/helper/src/src.main.test.bicep similarity index 100% rename from avm/utilities/tools/helper/src/src.main.test.bicep rename to utilities/tools/helper/src/src.main.test.bicep diff --git a/avm/utilities/tools/helper/src/src.version.json b/utilities/tools/helper/src/src.version.json similarity index 100% rename from avm/utilities/tools/helper/src/src.version.json rename to utilities/tools/helper/src/src.version.json