From 916f77f5a84777fd4d6724f04e239968bb1de9e5 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 21 Sep 2021 17:33:18 +0200 Subject: [PATCH 001/260] test workflow template --- .../resource.deployment.template.yml | 189 ++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 .github/workflows/resource.deployment.template.yml diff --git a/.github/workflows/resource.deployment.template.yml b/.github/workflows/resource.deployment.template.yml new file mode 100644 index 0000000000..95e1a3a7a8 --- /dev/null +++ b/.github/workflows/resource.deployment.template.yml @@ -0,0 +1,189 @@ +name: "Resources: Test Pipeline Template" + +on: + workflow_dispatch: + inputs: + removeDeployment: + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + description: 'The mode to handle the version increments [major|minor|patch|custom]' + required: false + default: 'patch' + customVersion: + description: 'The version to enforce if [versionOption] is set to [custom]' + required: false + default: '0.0.1' + moduleName: + description: 'moduleName' + required: true + # default: '0.0.1' + modulePath: + description: 'modulePath' + required: true + # default: '0.0.1' + +env: + # moduleName: 'resourceGroups' + # modulePath: 'arm/Microsoft.Resources/resourceGroups' + ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }} + ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }} + ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }} + ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} + ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} + +jobs: + ################## + # UNIT TESTS # + ################## + # Global tests + # ------------ + job_tests_module_global: + runs-on: ubuntu-20.04 + name: "Run global module tests" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: "Test module" + uses: ./.github/actions/templates/validateModuleGeneral + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + + # Global API tests + # ---------------- + job_tests_module_global_api: + runs-on: ubuntu-20.04 + name: "Run global API module tests" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: "Test module" + uses: ./.github/actions/templates/validateModuleApis + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + + # Validate deployment module tests + # -------------------------------- + job_tests_module_deploy_validate: + runs-on: ubuntu-20.04 + name: "Run deployment validation module tests" + strategy: + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: "Test module" + uses: ./.github/actions/templates/validateModuleDeploy + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + + #################### + # DEPLOY TESTS # + #################### + job_deploy_module: + runs-on: ubuntu-20.04 + name: "Deploy module" + needs: + - job_tests_module_global + - job_tests_module_global_api + - job_tests_module_deploy_validate + strategy: + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: "Deploy module" + uses: ./.github/actions/templates/deployModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ github.event.inputs.removeDeployment }}' + + ############### + # PUBLISH # + ############### + job_publish_module: + runs-on: ubuntu-20.04 + name: "Publish module" + needs: + - job_deploy_module + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: "Publish module" + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + componentTemplateSpecName: '${{ env.moduleName }}' + componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + versioningOption: '${{ github.event.inputs.versioningOption }}' + customVersion: '${{ github.event.inputs.customVersion }}' + + ############## + # REMOVE # + ############## + job_remove_module: + runs-on: ubuntu-20.04 + name: "Remove module" + if: ${{ github.event.inputs.removeDeployment == 'true' }} + needs: + - job_deploy_module + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: "Remove module" + uses: ./.github/actions/templates/removeModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.json' + resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file From 1ef466175f2a3eed57d3d5ce6fd094ba1007e669 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 25 Sep 2021 21:15:06 +0200 Subject: [PATCH 002/260] fix policy assignment to accept westeu --- .../resource.deployment.template.yml | 189 ------------------ .../allowedLocations.parameters.json | 2 +- 2 files changed, 1 insertion(+), 190 deletions(-) delete mode 100644 .github/workflows/resource.deployment.template.yml diff --git a/.github/workflows/resource.deployment.template.yml b/.github/workflows/resource.deployment.template.yml deleted file mode 100644 index 95e1a3a7a8..0000000000 --- a/.github/workflows/resource.deployment.template.yml +++ /dev/null @@ -1,189 +0,0 @@ -name: "Resources: Test Pipeline Template" - -on: - workflow_dispatch: - inputs: - removeDeployment: - description: 'Remove deployed module' - required: false - default: 'true' - versioningOption: - description: 'The mode to handle the version increments [major|minor|patch|custom]' - required: false - default: 'patch' - customVersion: - description: 'The version to enforce if [versionOption] is set to [custom]' - required: false - default: '0.0.1' - moduleName: - description: 'moduleName' - required: true - # default: '0.0.1' - modulePath: - description: 'modulePath' - required: true - # default: '0.0.1' - -env: - # moduleName: 'resourceGroups' - # modulePath: 'arm/Microsoft.Resources/resourceGroups' - ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }} - ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }} - ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }} - ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} - ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} - -jobs: - ################## - # UNIT TESTS # - ################## - # Global tests - # ------------ - job_tests_module_global: - runs-on: ubuntu-20.04 - name: "Run global module tests" - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleGeneral - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' - - # Global API tests - # ---------------- - job_tests_module_global_api: - runs-on: ubuntu-20.04 - name: "Run global API module tests" - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleApis - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' - - # Validate deployment module tests - # -------------------------------- - job_tests_module_deploy_validate: - runs-on: ubuntu-20.04 - name: "Run deployment validation module tests" - strategy: - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Test module" - uses: ./.github/actions/templates/validateModuleDeploy - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - - #################### - # DEPLOY TESTS # - #################### - job_deploy_module: - runs-on: ubuntu-20.04 - name: "Deploy module" - needs: - - job_tests_module_global - - job_tests_module_global_api - - job_tests_module_deploy_validate - strategy: - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Deploy module" - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ github.event.inputs.removeDeployment }}' - - ############### - # PUBLISH # - ############### - job_publish_module: - runs-on: ubuntu-20.04 - name: "Publish module" - needs: - - job_deploy_module - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Publish module" - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' - componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' - componentTemplateSpecName: '${{ env.moduleName }}' - componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' - publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - versioningOption: '${{ github.event.inputs.versioningOption }}' - customVersion: '${{ github.event.inputs.customVersion }}' - - ############## - # REMOVE # - ############## - job_remove_module: - runs-on: ubuntu-20.04 - name: "Remove module" - if: ${{ github.event.inputs.removeDeployment == 'true' }} - needs: - - job_deploy_module - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Remove module" - uses: ./.github/actions/templates/removeModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: '${{ env.modulePath }}/deploy.json' - resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file diff --git a/arm/Microsoft.Authorization/policyAssignments/parameters/allowedLocations.parameters.json b/arm/Microsoft.Authorization/policyAssignments/parameters/allowedLocations.parameters.json index cf753f50a5..c1146e8da7 100644 --- a/arm/Microsoft.Authorization/policyAssignments/parameters/allowedLocations.parameters.json +++ b/arm/Microsoft.Authorization/policyAssignments/parameters/allowedLocations.parameters.json @@ -11,7 +11,7 @@ "parameters": { "value": { "listOfAllowedLocations": { - "value": ["westus","westus2"] + "value": ["westus","westus2","westeu"] } } }, From 3cbdfca1ddc503ed402090c774cd7f436afd55f1 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 10:38:10 +0200 Subject: [PATCH 003/260] test trigger output --- .github/workflows/atestworkflow.yml | 202 ++++++++++++++++++ .../workflows/ms.analysisservices.servers.yml | 40 ++-- .../ms.analysisservices.servers_backup.yml | 182 ++++++++++++++++ 3 files changed, 403 insertions(+), 21 deletions(-) create mode 100644 .github/workflows/atestworkflow.yml create mode 100644 .github/workflows/ms.analysisservices.servers_backup.yml diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml new file mode 100644 index 0000000000..f651ff56a0 --- /dev/null +++ b/.github/workflows/atestworkflow.yml @@ -0,0 +1,202 @@ +name: "AnalysisServices: Servers" + +on: + workflow_dispatch: + inputs: + removeDeployment: + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + description: 'The mode to handle the version increments [major|minor|patch|custom]' + required: false + default: 'patch' + customVersion: + description: 'The version to enforce if [versionOption] is set to [custom]' + required: false + default: '0.0.1' + push: + branches: + - main + # paths: + # - '.github/actions/templates/**' + # - '.github/workflows/ms.analysisservices.servers.yml' + # - 'arm/Microsoft.AnalysisServices/servers/**' + # - '!arm/Microsoft.AnalysisServices/servers/readme.md' + +env: + moduleName: 'servers' + modulePath: 'arm/Microsoft.AnalysisServices/servers' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} + ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} + +jobs: + + job_tests_module_global: + runs-on: ubuntu-20.04 + name: "Get trigger" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: echo ${{ github.event.action }} + # - run: echo ${{ github.event.inputs.removeDeployment }} + + # ################## + # # UNIT TESTS # + # ################## + # # Global tests + # # ------------ + # job_tests_module_global: + # runs-on: ubuntu-20.04 + # name: "Run global module tests" + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleGeneral + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' + + # # Global API tests + # # ---------------- + # job_tests_module_global_api: + # runs-on: ubuntu-20.04 + # name: "Run global API module tests" + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleApis + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' + + # # Validate deployment module tests + # # -------------------------------- + # job_tests_module_deploy_validate: + # runs-on: ubuntu-20.04 + # name: "Run deployment validation module tests" + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # # Name of variable file + # variableFileName: 'variables.module' # Don't write .json here + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleDeploy + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + + # #################### + # # DEPLOY TESTS # + # #################### + # job_deploy_module: + # runs-on: ubuntu-20.04 + # name: "Deploy module" + # needs: + # - job_tests_module_global + # - job_tests_module_global_api + # - job_tests_module_deploy_validate + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # # Name of variable file + # variableFileName: 'variables.module' # Don't write .json here + # - name: "Deploy module" + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ github.event.inputs.removeDeployment }}' + + # ############### + # # PUBLISH # + # ############### + # job_publish_module: + # name: "Publish module" + # if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + # runs-on: ubuntu-20.04 + # needs: + # - job_deploy_module + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # # Name of variable file + # variableFileName: 'variables.module' # Don't write .json here + # - name: "Publish module" + # uses: ./.github/actions/templates/publishModule + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + # componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + # componentTemplateSpecName: '${{ env.moduleName }}' + # componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + # publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + # versioningOption: '${{ github.event.inputs.versioningOption }}' + # customVersion: '${{ github.event.inputs.customVersion }}' + + # ############## + # # REMOVE # + # ############## + # job_remove_module: + # runs-on: ubuntu-20.04 + # name: "Remove module" + # if: ${{ always() && !cancelled() && github.event.inputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} + # needs: + # - job_deploy_module + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # # Name of variable file + # variableFileName: 'variables.module' # Don't write .json here + # - name: "Remove module" + # uses: ./.github/actions/templates/removeModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 25bc5358a0..fd6b451df2 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -2,23 +2,21 @@ name: "AnalysisServices: Servers" on: workflow_dispatch: - inputs: - removeDeployment: - description: 'Remove deployed module' - required: false - default: 'true' - versioningOption: - description: 'The mode to handle the version increments [major|minor|patch|custom]' - required: false - default: 'patch' - customVersion: - description: 'The version to enforce if [versionOption] is set to [custom]' - required: false - default: '0.0.1' + # push: + # branches: + # - main + # paths: + # - '.github/actions/templates/**' + # - '.github/workflows/ms.analysisservices.servers.yml' + # - 'arm/Microsoft.AnalysisServices/servers/**' + # - '!arm/Microsoft.AnalysisServices/servers/readme.md' env: moduleName: 'servers' modulePath: 'arm/Microsoft.AnalysisServices/servers' + removeDeployment: false # Remove deployed module + versioningOption: 'patch' # The mode to handle the version increments [major|minor|patch|custom] + customVersion: 0.0.1 # The version to enforce if [versionOption] is set to [custom] AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} @@ -65,7 +63,6 @@ jobs: runs-on: ubuntu-20.04 name: "Run deployment validation module tests" strategy: - fail-fast: false matrix: parameterFilePaths: ['parameters.json'] steps: @@ -99,7 +96,6 @@ jobs: - job_tests_module_global_api - job_tests_module_deploy_validate strategy: - fail-fast: false matrix: parameterFilePaths: ['parameters.json'] steps: @@ -122,7 +118,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ github.event.inputs.removeDeployment }}' + removeDeployment: '${{ env.removeDeployment }}' ############### # PUBLISH # @@ -132,7 +128,7 @@ jobs: if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) runs-on: ubuntu-20.04 needs: - - job_deploy_module + - job_deploy_module steps: - name: "Checkout" uses: actions/checkout@v2 @@ -152,8 +148,8 @@ jobs: componentTemplateSpecName: '${{ env.moduleName }}' componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - versioningOption: '${{ github.event.inputs.versioningOption }}' - customVersion: '${{ github.event.inputs.customVersion }}' + versioningOption: '${{ env.versioningOption }}' + customVersion: '${{ env.customVersion }}' ############## # REMOVE # @@ -161,21 +157,23 @@ jobs: job_remove_module: runs-on: ubuntu-20.04 name: "Remove module" - if: ${{ always() && !cancelled() && github.event.inputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} needs: - - job_deploy_module + - job_deploy_module steps: - name: "Checkout" uses: actions/checkout@v2 + if: ${{ env.removeDeployment == 'true' }} with: fetch-depth: 0 - name: Set environment variables uses: deep-mm/set-variables@v1.0 + if: ${{ env.removeDeployment == 'true' }} with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - name: "Remove module" uses: ./.github/actions/templates/removeModule + if: ${{ env.removeDeployment == 'true' }} with: moduleName: '${{ env.moduleName }}' templateFilePath: '${{ env.modulePath }}/deploy.json' diff --git a/.github/workflows/ms.analysisservices.servers_backup.yml b/.github/workflows/ms.analysisservices.servers_backup.yml new file mode 100644 index 0000000000..25bc5358a0 --- /dev/null +++ b/.github/workflows/ms.analysisservices.servers_backup.yml @@ -0,0 +1,182 @@ +name: "AnalysisServices: Servers" + +on: + workflow_dispatch: + inputs: + removeDeployment: + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + description: 'The mode to handle the version increments [major|minor|patch|custom]' + required: false + default: 'patch' + customVersion: + description: 'The version to enforce if [versionOption] is set to [custom]' + required: false + default: '0.0.1' + +env: + moduleName: 'servers' + modulePath: 'arm/Microsoft.AnalysisServices/servers' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} + ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} + +jobs: + ################## + # UNIT TESTS # + ################## + # Global tests + # ------------ + job_tests_module_global: + runs-on: ubuntu-20.04 + name: "Run global module tests" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: "Test module" + uses: ./.github/actions/templates/validateModuleGeneral + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + + # Global API tests + # ---------------- + job_tests_module_global_api: + runs-on: ubuntu-20.04 + name: "Run global API module tests" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: "Test module" + uses: ./.github/actions/templates/validateModuleApis + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + + # Validate deployment module tests + # -------------------------------- + job_tests_module_deploy_validate: + runs-on: ubuntu-20.04 + name: "Run deployment validation module tests" + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: "Test module" + uses: ./.github/actions/templates/validateModuleDeploy + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + + #################### + # DEPLOY TESTS # + #################### + job_deploy_module: + runs-on: ubuntu-20.04 + name: "Deploy module" + needs: + - job_tests_module_global + - job_tests_module_global_api + - job_tests_module_deploy_validate + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: "Deploy module" + uses: ./.github/actions/templates/deployModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ github.event.inputs.removeDeployment }}' + + ############### + # PUBLISH # + ############### + job_publish_module: + name: "Publish module" + if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + runs-on: ubuntu-20.04 + needs: + - job_deploy_module + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: "Publish module" + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + componentTemplateSpecName: '${{ env.moduleName }}' + componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + versioningOption: '${{ github.event.inputs.versioningOption }}' + customVersion: '${{ github.event.inputs.customVersion }}' + + ############## + # REMOVE # + ############## + job_remove_module: + runs-on: ubuntu-20.04 + name: "Remove module" + if: ${{ always() && !cancelled() && github.event.inputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} + needs: + - job_deploy_module + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: "Remove module" + uses: ./.github/actions/templates/removeModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.json' + resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file From 6aadbebe637008648713dfaca6872eeb72f7b014 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 10:40:09 +0200 Subject: [PATCH 004/260] test trigger output --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index f651ff56a0..4e37398e91 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -41,7 +41,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - run: echo ${{ github.event.action }} + - run: echo ${{ github.event }} # - run: echo ${{ github.event.inputs.removeDeployment }} # ################## From 24d3e782c9ef86db27b5db9864495bd7ec26cc78 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 10:43:41 +0200 Subject: [PATCH 005/260] test trigger output context --- .github/workflows/atestworkflow.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 4e37398e91..6db96cee7e 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -41,7 +41,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - run: echo ${{ github.event }} + - run: echo ${{ github.event_name }} + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" # - run: echo ${{ github.event.inputs.removeDeployment }} # ################## From d1714482f3e8285f48995d4e3acb647d318d9099 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 11:27:13 +0200 Subject: [PATCH 006/260] test trigger set get --- .github/workflows/atestworkflow.yml | 33 +++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 6db96cee7e..6f7e9ff5bd 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -1,4 +1,4 @@ -name: "AnalysisServices: Servers" +name: "AA test workflow" on: workflow_dispatch: @@ -33,21 +33,40 @@ env: jobs: - job_tests_module_global: + job_set_trigger: runs-on: ubuntu-20.04 - name: "Get trigger" + name: "Set trigger" steps: - name: "Checkout" uses: actions/checkout@v2 with: fetch-depth: 0 - run: echo ${{ github.event_name }} - - name: Dump GitHub context - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - run: echo "$GITHUB_CONTEXT" + # - name: Dump GitHub context + # env: + # GITHUB_CONTEXT: ${{ toJson(github) }} + # run: echo "$GITHUB_CONTEXT" + - name: Set trigger output + run: echo '::set-output name=TRIGGER::${{ github.event_name }}' + id: get-trigger + - name: Get trigger output + run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" + # outputs: + # identityApproach: ${{ env.identityApproach }} # - run: echo ${{ github.event.inputs.removeDeployment }} + job_get_trigger: + runs-on: ubuntu-20.04 + needs: job_set_trigger + name: "Get trigger" + steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # ${{ needs.Get_identityApproach.outputs.identityApproach == 'AD' }} + - name: Get trigger output + run: echo "The trigger is ${{ needs.job_set_trigger.steps.get-trigger.outputs.TRIGGER}}" # ################## # # UNIT TESTS # # ################## From 5d03003e8d73fdbfc7b925ae1aadd383d88dd0c2 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 11:33:35 +0200 Subject: [PATCH 007/260] test trigger set get --- .github/workflows/atestworkflow.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 6f7e9ff5bd..6aef6a75fc 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -67,6 +67,10 @@ jobs: # ${{ needs.Get_identityApproach.outputs.identityApproach == 'AD' }} - name: Get trigger output run: echo "The trigger is ${{ needs.job_set_trigger.steps.get-trigger.outputs.TRIGGER}}" + - name: Dump set trigger + env: + TRIGGER: ${{ toJson(needs.job_set_trigger) }} + run: echo "$TRIGGER" # ################## # # UNIT TESTS # # ################## From 9c43386bd51001c13a4aa91774093620f69f457b Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 11:36:28 +0200 Subject: [PATCH 008/260] test trigger set get set out --- .github/workflows/atestworkflow.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 6aef6a75fc..70e4697b24 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -51,6 +51,8 @@ jobs: id: get-trigger - name: Get trigger output run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" + outputs: + vars: ${{ steps.get-trigger.outputs }} # outputs: # identityApproach: ${{ env.identityApproach }} # - run: echo ${{ github.event.inputs.removeDeployment }} From 38e32a95a2539e198b5a8906ac8af0dd0722f28a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 11:38:04 +0200 Subject: [PATCH 009/260] test trigger set get set out single --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 70e4697b24..831c7cc902 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -52,7 +52,7 @@ jobs: - name: Get trigger output run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" outputs: - vars: ${{ steps.get-trigger.outputs }} + vars: ${{ steps.get-trigger.TRIGGER }} # outputs: # identityApproach: ${{ env.identityApproach }} # - run: echo ${{ github.event.inputs.removeDeployment }} From 1a1c8d2af0ed070f4e2ad5d5eff8f30f122794e8 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 11:39:32 +0200 Subject: [PATCH 010/260] test trigger set get set out singles --- .github/workflows/atestworkflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 831c7cc902..94e81f50e0 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -52,7 +52,7 @@ jobs: - name: Get trigger output run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" outputs: - vars: ${{ steps.get-trigger.TRIGGER }} + trigger: ${{ steps.get-trigger.TRIGGER }} # outputs: # identityApproach: ${{ env.identityApproach }} # - run: echo ${{ github.event.inputs.removeDeployment }} @@ -68,7 +68,7 @@ jobs: # fetch-depth: 0 # ${{ needs.Get_identityApproach.outputs.identityApproach == 'AD' }} - name: Get trigger output - run: echo "The trigger is ${{ needs.job_set_trigger.steps.get-trigger.outputs.TRIGGER}}" + run: echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" - name: Dump set trigger env: TRIGGER: ${{ toJson(needs.job_set_trigger) }} From e4faab0a2c7dedf8b9258099c119c3a5186511ca Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 11:41:33 +0200 Subject: [PATCH 011/260] test trigger output between jobs --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 94e81f50e0..d946e0d742 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -52,7 +52,7 @@ jobs: - name: Get trigger output run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" outputs: - trigger: ${{ steps.get-trigger.TRIGGER }} + trigger: ${{ steps.get-trigger.outputs.TRIGGER }} # outputs: # identityApproach: ${{ env.identityApproach }} # - run: echo ${{ github.event.inputs.removeDeployment }} From d7b3608629ead782f25dbcf6da418e63cd5eed4c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:26:30 +0200 Subject: [PATCH 012/260] test trigger output between jobs if else --- .github/workflows/atestworkflow.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index d946e0d742..7401c6a494 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -47,7 +47,13 @@ jobs: # GITHUB_CONTEXT: ${{ toJson(github) }} # run: echo "$GITHUB_CONTEXT" - name: Set trigger output - run: echo '::set-output name=TRIGGER::${{ github.event_name }}' + run: | + if ${{ github.event_name == 'workflow_dispatch'}} { + echo '::set-output name=TRIGGER::${{ github.event_name }}' + } + else { + echo '::set-output name=TRIGGER::${{ github.event_name }}' + } id: get-trigger - name: Get trigger output run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" From 416a546c5c3fea9490c81373a8f4be683db55165 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:29:39 +0200 Subject: [PATCH 013/260] test trigger output between jobs if else write-host --- .github/workflows/atestworkflow.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 7401c6a494..de75b09740 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -49,12 +49,13 @@ jobs: - name: Set trigger output run: | if ${{ github.event_name == 'workflow_dispatch'}} { - echo '::set-output name=TRIGGER::${{ github.event_name }}' + Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" } else { - echo '::set-output name=TRIGGER::${{ github.event_name }}' + Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" } id: get-trigger + shell: pwsh - name: Get trigger output run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" outputs: From 096df2744258b23351885302b2162b0fa68849a4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:30:26 +0200 Subject: [PATCH 014/260] test trigger output between jobs if else write-host condition --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index de75b09740..d8f55f4c7c 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -48,7 +48,7 @@ jobs: # run: echo "$GITHUB_CONTEXT" - name: Set trigger output run: | - if ${{ github.event_name == 'workflow_dispatch'}} { + if (${{ github.event_name == 'workflow_dispatch'}}) { Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" } else { From 82a9ada937727aa6660bfff583a127959b77f206 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:31:51 +0200 Subject: [PATCH 015/260] test trigger output between jobs if else write-host conditions --- .github/workflows/atestworkflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index d8f55f4c7c..f26b7481af 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -48,6 +48,7 @@ jobs: # run: echo "$GITHUB_CONTEXT" - name: Set trigger output run: | + Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" if (${{ github.event_name == 'workflow_dispatch'}}) { Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" } From 7fbd1f775c6cdba3b36c0a9c938b69f8df075c85 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:34:55 +0200 Subject: [PATCH 016/260] remove if else --- .github/workflows/atestworkflow.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index f26b7481af..612242db04 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -49,12 +49,6 @@ jobs: - name: Set trigger output run: | Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - if (${{ github.event_name == 'workflow_dispatch'}}) { - Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - } - else { - Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - } id: get-trigger shell: pwsh - name: Get trigger output From d54139a334bfe4abf45e57ef152bdad1f52b720d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:36:55 +0200 Subject: [PATCH 017/260] comment if else --- .github/workflows/atestworkflow.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 612242db04..47325da247 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -49,6 +49,12 @@ jobs: - name: Set trigger output run: | Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" + # if (${{ github.event_name == 'workflow_dispatch'}}) { + # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" + # } + # else { + # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" + # } id: get-trigger shell: pwsh - name: Get trigger output From e6924469def55a27123a7e7dfa3172455db221d0 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:38:17 +0200 Subject: [PATCH 018/260] comment else --- .github/workflows/atestworkflow.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 47325da247..16ea411a2a 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -46,12 +46,13 @@ jobs: # env: # GITHUB_CONTEXT: ${{ toJson(github) }} # run: echo "$GITHUB_CONTEXT" - - name: Set trigger output + - name: Set trigger output push + if: (${{ github.event_name == 'workflow_dispatch'}} run: | Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - # if (${{ github.event_name == 'workflow_dispatch'}}) { - # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - # } + if (${{ github.event_name == 'workflow_dispatch'}}) { + Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" + } # else { # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" # } From 8b4028a36d8307bcd184f633b6b66328dcc33ff1 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:39:00 +0200 Subject: [PATCH 019/260] comment else --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 16ea411a2a..d62a8aaab5 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -47,7 +47,7 @@ jobs: # GITHUB_CONTEXT: ${{ toJson(github) }} # run: echo "$GITHUB_CONTEXT" - name: Set trigger output push - if: (${{ github.event_name == 'workflow_dispatch'}} + # if: ${{ github.event_name == 'workflow_dispatch'}} run: | Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" if (${{ github.event_name == 'workflow_dispatch'}}) { From 8cc6ef9d85b5bebb1d285dcc3737854d538b04c1 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:42:34 +0200 Subject: [PATCH 020/260] set input var --- .github/workflows/atestworkflow.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index d62a8aaab5..f2e7b06655 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -47,15 +47,13 @@ jobs: # GITHUB_CONTEXT: ${{ toJson(github) }} # run: echo "$GITHUB_CONTEXT" - name: Set trigger output push + if: github.event == 'push' # if: ${{ github.event_name == 'workflow_dispatch'}} run: | Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - if (${{ github.event_name == 'workflow_dispatch'}}) { - Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - } - # else { - # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - # } + Write-Host "::set-output name=removeDeployment::false" + Write-Host "::set-output name=versioningOption::patch" + Write-Host "::set-output name=customVersion::0.0.1" id: get-trigger shell: pwsh - name: Get trigger output From 72a3130ba735399850a4bd7a7af5c2b9b8b42901 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:45:07 +0200 Subject: [PATCH 021/260] set input var event_name --- .github/workflows/atestworkflow.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index f2e7b06655..9adddc69fb 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -47,7 +47,7 @@ jobs: # GITHUB_CONTEXT: ${{ toJson(github) }} # run: echo "$GITHUB_CONTEXT" - name: Set trigger output push - if: github.event == 'push' + if: github.event_name == 'push' # if: ${{ github.event_name == 'workflow_dispatch'}} run: | Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" @@ -56,6 +56,16 @@ jobs: Write-Host "::set-output name=customVersion::0.0.1" id: get-trigger shell: pwsh + - name: Set trigger output workflow_dispatch + if: github.event_name == 'workflow_dispatch' + # if: ${{ github.event_name == 'workflow_dispatch'}} + run: | + Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" + Write-Host "::set-output name=removeDeployment::${{ github.event.inputs.removeDeployment }}" + Write-Host "::set-output name=versioningOption::${{ github.event.inputs.versioningOption }}" + Write-Host "::set-output name=customVersion::${{ github.event.inputs.customVersion }}" + id: get-trigger + shell: pwsh - name: Get trigger output run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" outputs: From da0d7032905e436694ef67bc028f6a7cc0ca72de Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:47:39 +0200 Subject: [PATCH 022/260] set input var event_name 01 --- .github/workflows/atestworkflow.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 9adddc69fb..8201655a8f 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -56,16 +56,16 @@ jobs: Write-Host "::set-output name=customVersion::0.0.1" id: get-trigger shell: pwsh - - name: Set trigger output workflow_dispatch - if: github.event_name == 'workflow_dispatch' - # if: ${{ github.event_name == 'workflow_dispatch'}} - run: | - Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - Write-Host "::set-output name=removeDeployment::${{ github.event.inputs.removeDeployment }}" - Write-Host "::set-output name=versioningOption::${{ github.event.inputs.versioningOption }}" - Write-Host "::set-output name=customVersion::${{ github.event.inputs.customVersion }}" - id: get-trigger - shell: pwsh + # - name: Set trigger output workflow_dispatch + # if: github.event_name == 'workflow_dispatch' + # # if: ${{ github.event_name == 'workflow_dispatch'}} + # run: | + # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" + # Write-Host "::set-output name=removeDeployment::${{ github.event.inputs.removeDeployment }}" + # Write-Host "::set-output name=versioningOption::${{ github.event.inputs.versioningOption }}" + # Write-Host "::set-output name=customVersion::${{ github.event.inputs.customVersion }}" + # id: get-trigger + # shell: pwsh - name: Get trigger output run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" outputs: From 0a6883fd3c02f321a713692bbde2cf4dcf8bc0ff Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:50:14 +0200 Subject: [PATCH 023/260] set input var event_name if --- .github/workflows/atestworkflow.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 8201655a8f..2b91ca6293 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -47,13 +47,19 @@ jobs: # GITHUB_CONTEXT: ${{ toJson(github) }} # run: echo "$GITHUB_CONTEXT" - name: Set trigger output push - if: github.event_name == 'push' + # if: github.event_name == 'push' # if: ${{ github.event_name == 'workflow_dispatch'}} run: | Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - Write-Host "::set-output name=removeDeployment::false" - Write-Host "::set-output name=versioningOption::patch" - Write-Host "::set-output name=customVersion::0.0.1" + # Write-Host "::set-output name=removeDeployment::false" + # Write-Host "::set-output name=versioningOption::patch" + # Write-Host "::set-output name=customVersion::0.0.1" + if (${{ github.event_name == 'workflow_dispatch'}}) { + $removeDeployment=${{ github.event.inputs.removeDeployment }} + } + else { + $removeDeployment='false' + } id: get-trigger shell: pwsh # - name: Set trigger output workflow_dispatch From 938b2085c9d52c24d11f97b8b4f507bf6a76960b Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:51:40 +0200 Subject: [PATCH 024/260] set input var event_name if --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 2b91ca6293..e8426b2dff 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -54,7 +54,7 @@ jobs: # Write-Host "::set-output name=removeDeployment::false" # Write-Host "::set-output name=versioningOption::patch" # Write-Host "::set-output name=customVersion::0.0.1" - if (${{ github.event_name == 'workflow_dispatch'}}) { + if ('${{ github.event_name == 'workflow_dispatch'}}') { $removeDeployment=${{ github.event.inputs.removeDeployment }} } else { From 3c369cf8f2dd8542368611e759662da9cdd3bb6c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:53:55 +0200 Subject: [PATCH 025/260] set input var event_name if --- .github/workflows/atestworkflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index e8426b2dff..7c601786d9 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -55,11 +55,12 @@ jobs: # Write-Host "::set-output name=versioningOption::patch" # Write-Host "::set-output name=customVersion::0.0.1" if ('${{ github.event_name == 'workflow_dispatch'}}') { - $removeDeployment=${{ github.event.inputs.removeDeployment }} + $removeDeployment='${{ github.event.inputs.removeDeployment }}' } else { $removeDeployment='false' } + Write-Host $removeDeployment id: get-trigger shell: pwsh # - name: Set trigger output workflow_dispatch From c186983695d29df4862a2e13e5108e31ab608666 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 12:55:44 +0200 Subject: [PATCH 026/260] set input var event_name if print --- .github/workflows/atestworkflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 7c601786d9..8f95e8ecc3 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -60,7 +60,8 @@ jobs: else { $removeDeployment='false' } - Write-Host $removeDeployment + echo "RemoveDeployment: " $removeDeployment + echo "Input: " ${{ github.event.inputs.removeDeployment }} id: get-trigger shell: pwsh # - name: Set trigger output workflow_dispatch From b9c4046ca4ccbb4ac38cb88b30f0baa098372ff8 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 13:10:14 +0200 Subject: [PATCH 027/260] out removeDeployment --- .github/workflows/atestworkflow.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 8f95e8ecc3..898c88e4ea 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -62,6 +62,7 @@ jobs: } echo "RemoveDeployment: " $removeDeployment echo "Input: " ${{ github.event.inputs.removeDeployment }} + Write-Host "::set-output name=removeDeployment::$removeDeployment" id: get-trigger shell: pwsh # - name: Set trigger output workflow_dispatch @@ -78,6 +79,7 @@ jobs: run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" outputs: trigger: ${{ steps.get-trigger.outputs.TRIGGER }} + removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} # outputs: # identityApproach: ${{ env.identityApproach }} # - run: echo ${{ github.event.inputs.removeDeployment }} From 822a5f85fa4ca42156b703815a8150edccbf0b8a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 13:12:59 +0200 Subject: [PATCH 028/260] echo removeDeployment --- .github/workflows/atestworkflow.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 898c88e4ea..037b0cdb1e 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -95,7 +95,9 @@ jobs: # fetch-depth: 0 # ${{ needs.Get_identityApproach.outputs.identityApproach == 'AD' }} - name: Get trigger output - run: echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" + run: | + echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" + echo "The removeDeployment is ${{ needs.job_set_trigger.outputs.removeDeployment}}" - name: Dump set trigger env: TRIGGER: ${{ toJson(needs.job_set_trigger) }} From e219b936c2e1620a53a70685f5bbf941636b72d7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 13:18:01 +0200 Subject: [PATCH 029/260] echo removeDeployment check else --- .github/workflows/atestworkflow.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 037b0cdb1e..e8fb2edf73 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -56,9 +56,11 @@ jobs: # Write-Host "::set-output name=customVersion::0.0.1" if ('${{ github.event_name == 'workflow_dispatch'}}') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' + echo "RemoveDeployment: " $removeDeployment } else { - $removeDeployment='false' + $removeDeployment="false" + echo "RemoveDeployment: " $removeDeployment } echo "RemoveDeployment: " $removeDeployment echo "Input: " ${{ github.event.inputs.removeDeployment }} From 61818266c46908aaed950ed6a4884d13701ae3c0 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 13:22:07 +0200 Subject: [PATCH 030/260] echo removeDeployment set before else --- .github/workflows/atestworkflow.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index e8fb2edf73..9c82a0c7c0 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -54,13 +54,14 @@ jobs: # Write-Host "::set-output name=removeDeployment::false" # Write-Host "::set-output name=versioningOption::patch" # Write-Host "::set-output name=customVersion::0.0.1" + $removeDeployment="false" if ('${{ github.event_name == 'workflow_dispatch'}}') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' - echo "RemoveDeployment: " $removeDeployment + echo "RemoveDeployment workflow_dispatch: " $removeDeployment } else { $removeDeployment="false" - echo "RemoveDeployment: " $removeDeployment + echo "RemoveDeployment push: " $removeDeployment } echo "RemoveDeployment: " $removeDeployment echo "Input: " ${{ github.event.inputs.removeDeployment }} From e7045cb03f5f25b3fbf8ae8a0799250ff7a7d56b Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 13:23:04 +0200 Subject: [PATCH 031/260] echo removeDeployment set before else condition --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 9c82a0c7c0..c321263201 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -55,7 +55,7 @@ jobs: # Write-Host "::set-output name=versioningOption::patch" # Write-Host "::set-output name=customVersion::0.0.1" $removeDeployment="false" - if ('${{ github.event_name == 'workflow_dispatch'}}') { + if (${{ github.event_name == 'workflow_dispatch'}}) { $removeDeployment='${{ github.event.inputs.removeDeployment }}' echo "RemoveDeployment workflow_dispatch: " $removeDeployment } From bfe2517d068a09bfc53b0e35d8cc3bad4acc3094 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 13:28:32 +0200 Subject: [PATCH 032/260] echo removeDeployment set before else condition par --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index c321263201..527e0e7d24 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -55,7 +55,7 @@ jobs: # Write-Host "::set-output name=versioningOption::patch" # Write-Host "::set-output name=customVersion::0.0.1" $removeDeployment="false" - if (${{ github.event_name == 'workflow_dispatch'}}) { + if ${{ github.event_name == 'workflow_dispatch'}} { $removeDeployment='${{ github.event.inputs.removeDeployment }}' echo "RemoveDeployment workflow_dispatch: " $removeDeployment } From 5071502f0eb4a35cf1836192bdaff0af4e9fd50c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 13:32:29 +0200 Subject: [PATCH 033/260] condition par --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 527e0e7d24..f9a5a7b5da 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -55,7 +55,7 @@ jobs: # Write-Host "::set-output name=versioningOption::patch" # Write-Host "::set-output name=customVersion::0.0.1" $removeDeployment="false" - if ${{ github.event_name == 'workflow_dispatch'}} { + if (${{ github.event_name }} -eq 'workflow_dispatch') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' echo "RemoveDeployment workflow_dispatch: " $removeDeployment } From 82b837c08a18c66517dbaaf751f7c465db299aa9 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 13:33:59 +0200 Subject: [PATCH 034/260] condition quote --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index f9a5a7b5da..3c34d9ff05 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -55,7 +55,7 @@ jobs: # Write-Host "::set-output name=versioningOption::patch" # Write-Host "::set-output name=customVersion::0.0.1" $removeDeployment="false" - if (${{ github.event_name }} -eq 'workflow_dispatch') { + if ('${{ github.event_name }}' -eq 'workflow_dispatch') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' echo "RemoveDeployment workflow_dispatch: " $removeDeployment } From 23dfdd24a3dcfb80f9e5a93ccd305e4f048c2aa9 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 14:09:18 +0200 Subject: [PATCH 035/260] if else and output --- .github/workflows/atestworkflow.yml | 50 +++++++++++++---------------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 3c34d9ff05..1ec1e38b73 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -35,7 +35,7 @@ jobs: job_set_trigger: runs-on: ubuntu-20.04 - name: "Set trigger" + name: "Set input parameters to output variables" steps: - name: "Checkout" uses: actions/checkout@v2 @@ -46,43 +46,37 @@ jobs: # env: # GITHUB_CONTEXT: ${{ toJson(github) }} # run: echo "$GITHUB_CONTEXT" - - name: Set trigger output push - # if: github.event_name == 'push' - # if: ${{ github.event_name == 'workflow_dispatch'}} + - name: Set input parameters run: | - Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - # Write-Host "::set-output name=removeDeployment::false" - # Write-Host "::set-output name=versioningOption::patch" - # Write-Host "::set-output name=customVersion::0.0.1" - $removeDeployment="false" + # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" if ('${{ github.event_name }}' -eq 'workflow_dispatch') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' - echo "RemoveDeployment workflow_dispatch: " $removeDeployment + $versioningOption='${{ github.event.inputs.versioningOption }}' + $customVersion='${{ github.event.inputs.customVersion }}' + # echo "RemoveDeployment workflow_dispatch: " $removeDeployment } else { - $removeDeployment="false" - echo "RemoveDeployment push: " $removeDeployment + $removeDeployment='false' + $versioningOption='patch' + $customVersion='0.0.1' + # echo "RemoveDeployment push: " $removeDeployment } - echo "RemoveDeployment: " $removeDeployment - echo "Input: " ${{ github.event.inputs.removeDeployment }} Write-Host "::set-output name=removeDeployment::$removeDeployment" + Write-Host "::set-output name=versioningOption::$versioningOption" + Write-Host "::set-output name=customVersion::$customVersion" id: get-trigger shell: pwsh - # - name: Set trigger output workflow_dispatch - # if: github.event_name == 'workflow_dispatch' - # # if: ${{ github.event_name == 'workflow_dispatch'}} - # run: | - # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" - # Write-Host "::set-output name=removeDeployment::${{ github.event.inputs.removeDeployment }}" - # Write-Host "::set-output name=versioningOption::${{ github.event.inputs.versioningOption }}" - # Write-Host "::set-output name=customVersion::${{ github.event.inputs.customVersion }}" - # id: get-trigger - # shell: pwsh - name: Get trigger output - run: echo "The trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" + run: | + echo "The workflow trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" + echo "The removeDeployment is ${{ steps.get-trigger.outputs.removeDeployment }}" + echo "The versioningOption is ${{ steps.get-trigger.outputs.versioningOption }}" + echo "The customVersion is ${{ steps.get-trigger.outputs.customVersion }}" outputs: trigger: ${{ steps.get-trigger.outputs.TRIGGER }} removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} + versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} + customVersion: ${{ steps.get-trigger.outputs.customVersion }} # outputs: # identityApproach: ${{ env.identityApproach }} # - run: echo ${{ github.event.inputs.removeDeployment }} @@ -90,17 +84,19 @@ jobs: job_get_trigger: runs-on: ubuntu-20.04 needs: job_set_trigger - name: "Get trigger" + name: "Get input variables" steps: # - name: "Checkout" # uses: actions/checkout@v2 # with: # fetch-depth: 0 # ${{ needs.Get_identityApproach.outputs.identityApproach == 'AD' }} - - name: Get trigger output + - name: Get output run: | echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" echo "The removeDeployment is ${{ needs.job_set_trigger.outputs.removeDeployment}}" + echo "The versioningOption is ${{ needs.job_set_trigger.outputs.versioningOption}}" + echo "The customVersion is ${{ needs.job_set_trigger.outputs.customVersion}}" - name: Dump set trigger env: TRIGGER: ${{ toJson(needs.job_set_trigger) }} From fbef10f828005ba4c8687f27bdaee796721b1fbc Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 14:23:39 +0200 Subject: [PATCH 036/260] convert from yaml --- .github/workflows/atestworkflow.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 1ec1e38b73..59f3e68dc8 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -56,9 +56,14 @@ jobs: # echo "RemoveDeployment workflow_dispatch: " $removeDeployment } else { - $removeDeployment='false' - $versioningOption='patch' - $customVersion='0.0.1' + $workflowPath='${{ github.event.workflow }}' + $workflowObj=ConvertFrom-Yaml -Path $workflowPath + $removeDeployment=$workflowObj.on.workflow_dispatch.inputs.removeDeployment.default + $versioningOption=$workflowObj.on.workflow_dispatch.inputs.versioningOption.default + $customVersion=$workflowObj.on.workflow_dispatch.inputs.customVersion.default + # $removeDeployment='false' + # $versioningOption='patch' + # $customVersion='0.0.1' # echo "RemoveDeployment push: " $removeDeployment } Write-Host "::set-output name=removeDeployment::$removeDeployment" From a34a4dc4df3993be2d3752e7764f90b6566c697d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 14:52:53 +0200 Subject: [PATCH 037/260] convert from yaml templatefile --- .github/workflows/atestworkflow.yml | 64 ++++++++++++++++++----------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 59f3e68dc8..d391414f53 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -46,56 +46,72 @@ jobs: # env: # GITHUB_CONTEXT: ${{ toJson(github) }} # run: echo "$GITHUB_CONTEXT" + # - name: Set input parameters + # run: | + # if ('${{ github.event_name }}' -eq 'workflow_dispatch') { + # $removeDeployment='${{ github.event.inputs.removeDeployment }}' + # $versioningOption='${{ github.event.inputs.versioningOption }}' + # $customVersion='${{ github.event.inputs.customVersion }}' + + # } + # else { + # $workflowPath='${{ github.event.workflow }}' + # $workflowObj=ConvertFrom-Yaml -Path $workflowPath + # $removeDeployment=$workflowObj.on.workflow_dispatch.inputs.removeDeployment.default + # $versioningOption=$workflowObj.on.workflow_dispatch.inputs.versioningOption.default + # $customVersion=$workflowObj.on.workflow_dispatch.inputs.customVersion.default + + # } + # Write-Host "::set-output name=removeDeployment::$removeDeployment" + # Write-Host "::set-output name=versioningOption::$versioningOption" + # Write-Host "::set-output name=customVersion::$customVersion" + # id: get-trigger + # shell: pwsh - name: Set input parameters run: | - # Write-Host "::set-output name=TRIGGER::${{ github.event_name }}" if ('${{ github.event_name }}' -eq 'workflow_dispatch') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' $versioningOption='${{ github.event.inputs.versioningOption }}' $customVersion='${{ github.event.inputs.customVersion }}' - # echo "RemoveDeployment workflow_dispatch: " $removeDeployment + } else { - $workflowPath='${{ github.event.workflow }}' - $workflowObj=ConvertFrom-Yaml -Path $workflowPath - $removeDeployment=$workflowObj.on.workflow_dispatch.inputs.removeDeployment.default - $versioningOption=$workflowObj.on.workflow_dispatch.inputs.versioningOption.default - $customVersion=$workflowObj.on.workflow_dispatch.inputs.customVersion.default - # $removeDeployment='false' - # $versioningOption='patch' - # $customVersion='0.0.1' - # echo "RemoveDeployment push: " $removeDeployment + $templateFile='${{ github.event.workflow }}' + $content = Get-Content $templateFile + $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] + $removeDeploymentDefault = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $removeDeploymentDefault + $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] + $versioningOptionDefault = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $versioningOptionDefault + $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] + $customVersionDefault = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $customVersionDefault } Write-Host "::set-output name=removeDeployment::$removeDeployment" Write-Host "::set-output name=versioningOption::$versioningOption" Write-Host "::set-output name=customVersion::$customVersion" id: get-trigger shell: pwsh + + + - name: Get trigger output run: | - echo "The workflow trigger is ${{ steps.get-trigger.outputs.TRIGGER }}" echo "The removeDeployment is ${{ steps.get-trigger.outputs.removeDeployment }}" echo "The versioningOption is ${{ steps.get-trigger.outputs.versioningOption }}" echo "The customVersion is ${{ steps.get-trigger.outputs.customVersion }}" outputs: - trigger: ${{ steps.get-trigger.outputs.TRIGGER }} removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} customVersion: ${{ steps.get-trigger.outputs.customVersion }} - # outputs: - # identityApproach: ${{ env.identityApproach }} - # - run: echo ${{ github.event.inputs.removeDeployment }} + job_get_trigger: runs-on: ubuntu-20.04 needs: job_set_trigger - name: "Get input variables" + name: "Get job output variables" steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # ${{ needs.Get_identityApproach.outputs.identityApproach == 'AD' }} - name: Get output run: | echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" @@ -104,8 +120,8 @@ jobs: echo "The customVersion is ${{ needs.job_set_trigger.outputs.customVersion}}" - name: Dump set trigger env: - TRIGGER: ${{ toJson(needs.job_set_trigger) }} - run: echo "$TRIGGER" + jobContext: ${{ toJson(needs.job_set_trigger) }} + run: echo "$jobContext" # ################## # # UNIT TESTS # # ################## From 41f062e642652ce76d5e8f7f0af33346da1a3909 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 15:02:34 +0200 Subject: [PATCH 038/260] convert from yaml templatefile --- .github/workflows/atestworkflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index d391414f53..c77c55cf73 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -42,6 +42,7 @@ jobs: with: fetch-depth: 0 - run: echo ${{ github.event_name }} + - run: echo ${{ github.event.workflow }} # - name: Dump GitHub context # env: # GITHUB_CONTEXT: ${{ toJson(github) }} From 700b60cfa864e20af03d190af0ad7688ee860667 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 15:11:41 +0200 Subject: [PATCH 039/260] env.workflowpath --- .github/workflows/atestworkflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index c77c55cf73..3a886ff7aa 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -27,6 +27,7 @@ on: env: moduleName: 'servers' modulePath: 'arm/Microsoft.AnalysisServices/servers' + workflowPath: '.github/workflows/atestworkflow.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} @@ -42,7 +43,6 @@ jobs: with: fetch-depth: 0 - run: echo ${{ github.event_name }} - - run: echo ${{ github.event.workflow }} # - name: Dump GitHub context # env: # GITHUB_CONTEXT: ${{ toJson(github) }} @@ -77,7 +77,7 @@ jobs: } else { - $templateFile='${{ github.event.workflow }}' + $templateFile='${{ env.workflowPath }}' $content = Get-Content $templateFile $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] $removeDeploymentDefault = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') From 42727fd16664c3b636aa53235bec355b8bf4d3e3 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 15:18:23 +0200 Subject: [PATCH 040/260] cleanup --- .github/workflows/atestworkflow.yml | 197 ++++------------------------ 1 file changed, 22 insertions(+), 175 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 3a886ff7aa..26df4dc298 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -38,10 +38,10 @@ jobs: runs-on: ubuntu-20.04 name: "Set input parameters to output variables" steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 - run: echo ${{ github.event_name }} # - name: Dump GitHub context # env: @@ -70,34 +70,38 @@ jobs: # shell: pwsh - name: Set input parameters run: | + + # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' $versioningOption='${{ github.event.inputs.versioningOption }}' $customVersion='${{ github.event.inputs.customVersion }}' } + + # Otherwise retrieve default values else { $templateFile='${{ env.workflowPath }}' $content = Get-Content $templateFile $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] - $removeDeploymentDefault = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $removeDeploymentDefault + $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $removeDeployment $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] - $versioningOptionDefault = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $versioningOptionDefault + $versioningOption = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $versioningOption $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] - $customVersionDefault = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $customVersionDefault + $customVersion = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $customVersion } - Write-Host "::set-output name=removeDeployment::$removeDeployment" - Write-Host "::set-output name=versioningOption::$versioningOption" - Write-Host "::set-output name=customVersion::$customVersion" + + # Output values to be accessed by next jobs + echo "::set-output name=removeDeployment::$removeDeployment" + echo "::set-output name=versioningOption::$versioningOption" + echo "::set-output name=customVersion::$customVersion" id: get-trigger shell: pwsh - - - - name: Get trigger output + - name: Access values within the job run: | echo "The removeDeployment is ${{ steps.get-trigger.outputs.removeDeployment }}" echo "The versioningOption is ${{ steps.get-trigger.outputs.versioningOption }}" @@ -106,14 +110,13 @@ jobs: removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} customVersion: ${{ steps.get-trigger.outputs.customVersion }} - job_get_trigger: runs-on: ubuntu-20.04 needs: job_set_trigger name: "Get job output variables" steps: - - name: Get output + - name: Access values from another job run: | echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" echo "The removeDeployment is ${{ needs.job_set_trigger.outputs.removeDeployment}}" @@ -122,160 +125,4 @@ jobs: - name: Dump set trigger env: jobContext: ${{ toJson(needs.job_set_trigger) }} - run: echo "$jobContext" - # ################## - # # UNIT TESTS # - # ################## - # # Global tests - # # ------------ - # job_tests_module_global: - # runs-on: ubuntu-20.04 - # name: "Run global module tests" - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleGeneral - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' - - # # Global API tests - # # ---------------- - # job_tests_module_global_api: - # runs-on: ubuntu-20.04 - # name: "Run global API module tests" - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleApis - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' - - # # Validate deployment module tests - # # -------------------------------- - # job_tests_module_deploy_validate: - # runs-on: ubuntu-20.04 - # name: "Run deployment validation module tests" - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # # Name of variable file - # variableFileName: 'variables.module' # Don't write .json here - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleDeploy - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - - # #################### - # # DEPLOY TESTS # - # #################### - # job_deploy_module: - # runs-on: ubuntu-20.04 - # name: "Deploy module" - # needs: - # - job_tests_module_global - # - job_tests_module_global_api - # - job_tests_module_deploy_validate - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # # Name of variable file - # variableFileName: 'variables.module' # Don't write .json here - # - name: "Deploy module" - # uses: ./.github/actions/templates/deployModule - # with: - # moduleName: '${{ env.moduleName }}' - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ github.event.inputs.removeDeployment }}' - - # ############### - # # PUBLISH # - # ############### - # job_publish_module: - # name: "Publish module" - # if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - # runs-on: ubuntu-20.04 - # needs: - # - job_deploy_module - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # # Name of variable file - # variableFileName: 'variables.module' # Don't write .json here - # - name: "Publish module" - # uses: ./.github/actions/templates/publishModule - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' - # componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' - # componentTemplateSpecName: '${{ env.moduleName }}' - # componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' - # publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - # versioningOption: '${{ github.event.inputs.versioningOption }}' - # customVersion: '${{ github.event.inputs.customVersion }}' - - # ############## - # # REMOVE # - # ############## - # job_remove_module: - # runs-on: ubuntu-20.04 - # name: "Remove module" - # if: ${{ always() && !cancelled() && github.event.inputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} - # needs: - # - job_deploy_module - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # # Name of variable file - # variableFileName: 'variables.module' # Don't write .json here - # - name: "Remove module" - # uses: ./.github/actions/templates/removeModule - # with: - # moduleName: '${{ env.moduleName }}' - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file + run: echo "$jobContext" \ No newline at end of file From f2857f49ca225e2c905b5b6ab3d7817a2c4eb7b2 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 15:20:19 +0200 Subject: [PATCH 041/260] checkout back --- .github/workflows/atestworkflow.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 26df4dc298..4c429e5717 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -38,10 +38,10 @@ jobs: runs-on: ubuntu-20.04 name: "Set input parameters to output variables" steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 - run: echo ${{ github.event_name }} # - name: Dump GitHub context # env: From 273dbff834ce2736c812a8fa8a83429b031217e5 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 17:23:48 +0200 Subject: [PATCH 042/260] action --- .../templates/getWorkflowInput/action.yml | 102 ++++++++++++++++++ .../workflows/atestworkflowwithactions.yml | 72 +++++++++++++ 2 files changed, 174 insertions(+) create mode 100644 .github/actions/templates/getWorkflowInput/action.yml create mode 100644 .github/workflows/atestworkflowwithactions.yml diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml new file mode 100644 index 0000000000..b9dfe5c4c6 --- /dev/null +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -0,0 +1,102 @@ +name: 'Get Workflow Input' +description: 'Get Workflow Input' + +inputs: + moduleName: + description: 'The name of the module to remove' + required: true + workflowPath: + description: 'The path to the template file set for removal. Used to determine the type of resource.' + required: true + resourceGroupName: + description: 'The resource group the module is deployed into' + required: true + +runs: + using: "composite" + steps: + # - name: "Setup agent & login" + # shell: pwsh + # run: | + # # Load used functions + # . ".github/actions/sharedScripts/Set-EnvironmentOnAgent.ps1" + # # Set agent up + # Set-EnvironmentOnAgent + + # - name: Azure Login + # uses: Azure/login@v1 + # with: + # creds: ${{ env.AZURE_CREDENTIALS }} + # enable-AzPSSession: true + + # - name: "Remove module" + # shell: pwsh + # run: | + # # Load used functions + # . "$env:GITHUB_ACTION_PATH/scripts/Remove-DeployedModule.ps1" + + # $functionInput = @{ + # moduleName = '${{ inputs.moduleName }}' + # resourceGroupName = '${{ inputs.resourceGroupName }}' + # templateFilePath = '${{ inputs.templateFilePath }}' + # } + + # Write-Verbose "Invoke task with" -Verbose + # Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + # Remove-DeployedModule @functionInput -Verbose + + + # - name: Dump GitHub context + # env: + # GITHUB_CONTEXT: ${{ toJson(github) }} + # run: echo "$GITHUB_CONTEXT" + # - name: Set input parameters + # run: | + # if ('${{ github.event_name }}' -eq 'workflow_dispatch') { + # $removeDeployment='${{ github.event.inputs.removeDeployment }}' + # $versioningOption='${{ github.event.inputs.versioningOption }}' + # $customVersion='${{ github.event.inputs.customVersion }}' + + # } + # else { + # $workflowPath='${{ github.event.workflow }}' + # $workflowObj=ConvertFrom-Yaml -Path $workflowPath + # $removeDeployment=$workflowObj.on.workflow_dispatch.inputs.removeDeployment.default + # $versioningOption=$workflowObj.on.workflow_dispatch.inputs.versioningOption.default + # $customVersion=$workflowObj.on.workflow_dispatch.inputs.customVersion.default + + # } + # Write-Host "::set-output name=removeDeployment::$removeDeployment" + # Write-Host "::set-output name=versioningOption::$versioningOption" + # Write-Host "::set-output name=customVersion::$customVersion" + # id: get-trigger + # shell: pwsh + - name: Set input parameters + run: | + # When running from workflow_dispatch event get input values + if ('${{ github.event_name }}' -eq 'workflow_dispatch') { + $removeDeployment='${{ github.event.inputs.removeDeployment }}' + $versioningOption='${{ github.event.inputs.versioningOption }}' + $customVersion='${{ github.event.inputs.customVersion }}' + } + # Otherwise retrieve default values + else { + $templateFile='${{ inputs.workflowPath }}' + $content = Get-Content $templateFile + $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] + $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $removeDeployment + $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] + $versioningOption = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $versioningOption + $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] + $customVersion = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $customVersion + } + # Output values to be accessed by next jobs + echo "::set-output name=removeDeployment::$removeDeployment" + echo "::set-output name=versioningOption::$versioningOption" + echo "::set-output name=customVersion::$customVersion" + id: get-trigger + shell: pwsh \ No newline at end of file diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml new file mode 100644 index 0000000000..4125f93479 --- /dev/null +++ b/.github/workflows/atestworkflowwithactions.yml @@ -0,0 +1,72 @@ +name: "AA test workflow with actions" + +on: + workflow_dispatch: + inputs: + removeDeployment: + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + description: 'The mode to handle the version increments [major|minor|patch|custom]' + required: false + default: 'patch' + customVersion: + description: 'The version to enforce if [versionOption] is set to [custom]' + required: false + default: '0.0.1' + push: + branches: + - main + # paths: + # - '.github/actions/templates/**' + # - '.github/workflows/ms.analysisservices.servers.yml' + # - 'arm/Microsoft.AnalysisServices/servers/**' + # - '!arm/Microsoft.AnalysisServices/servers/readme.md' + +env: + moduleName: 'servers' + modulePath: 'arm/Microsoft.AnalysisServices/servers' + workflowPath: '.github/workflows/atestworkflow.yml' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} + ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} + +jobs: + + job_set_trigger: + runs-on: ubuntu-20.04 + name: "Set input parameters to output variables" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: "Set input parameters" + id: get-trigger + uses: ./.github/actions/templates/getWorkflowInput + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + workflowPath: '${{ env.workflowPath}}' + outputs: + removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} + versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} + customVersion: ${{ steps.get-trigger.outputs.customVersion }} + + job_get_trigger: + runs-on: ubuntu-20.04 + needs: job_set_trigger + name: "Get job output variables" + steps: + - name: Access values from another job + run: | + echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" + echo "The removeDeployment is ${{ needs.job_set_trigger.outputs.removeDeployment}}" + echo "The versioningOption is ${{ needs.job_set_trigger.outputs.versioningOption}}" + echo "The customVersion is ${{ needs.job_set_trigger.outputs.customVersion}}" + - name: Dump set trigger + env: + jobContext: ${{ toJson(needs.job_set_trigger) }} + run: echo "$jobContext" + From 7cd5792d31548fe2bdbf46b4e1d7f04849f52b9a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 17:26:07 +0200 Subject: [PATCH 043/260] 1 action --- .github/workflows/atestworkflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 4c429e5717..276b3c07e5 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -15,9 +15,9 @@ on: description: 'The version to enforce if [versionOption] is set to [custom]' required: false default: '0.0.1' - push: - branches: - - main + # push: + # branches: + # - main # paths: # - '.github/actions/templates/**' # - '.github/workflows/ms.analysisservices.servers.yml' From b2db9d8eb4dddd8877fbd04174e8b3c35b99c819 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 17:29:37 +0200 Subject: [PATCH 044/260] 1 action no param --- .../templates/getWorkflowInput/action.yml | 67 +------------------ .../workflows/atestworkflowwithactions.yml | 2 - 2 files changed, 2 insertions(+), 67 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index b9dfe5c4c6..8b21503994 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -2,76 +2,13 @@ name: 'Get Workflow Input' description: 'Get Workflow Input' inputs: - moduleName: - description: 'The name of the module to remove' - required: true workflowPath: - description: 'The path to the template file set for removal. Used to determine the type of resource.' - required: true - resourceGroupName: - description: 'The resource group the module is deployed into' + description: 'The path to the current workflow yaml file' required: true runs: using: "composite" steps: - # - name: "Setup agent & login" - # shell: pwsh - # run: | - # # Load used functions - # . ".github/actions/sharedScripts/Set-EnvironmentOnAgent.ps1" - # # Set agent up - # Set-EnvironmentOnAgent - - # - name: Azure Login - # uses: Azure/login@v1 - # with: - # creds: ${{ env.AZURE_CREDENTIALS }} - # enable-AzPSSession: true - - # - name: "Remove module" - # shell: pwsh - # run: | - # # Load used functions - # . "$env:GITHUB_ACTION_PATH/scripts/Remove-DeployedModule.ps1" - - # $functionInput = @{ - # moduleName = '${{ inputs.moduleName }}' - # resourceGroupName = '${{ inputs.resourceGroupName }}' - # templateFilePath = '${{ inputs.templateFilePath }}' - # } - - # Write-Verbose "Invoke task with" -Verbose - # Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - # Remove-DeployedModule @functionInput -Verbose - - - # - name: Dump GitHub context - # env: - # GITHUB_CONTEXT: ${{ toJson(github) }} - # run: echo "$GITHUB_CONTEXT" - # - name: Set input parameters - # run: | - # if ('${{ github.event_name }}' -eq 'workflow_dispatch') { - # $removeDeployment='${{ github.event.inputs.removeDeployment }}' - # $versioningOption='${{ github.event.inputs.versioningOption }}' - # $customVersion='${{ github.event.inputs.customVersion }}' - - # } - # else { - # $workflowPath='${{ github.event.workflow }}' - # $workflowObj=ConvertFrom-Yaml -Path $workflowPath - # $removeDeployment=$workflowObj.on.workflow_dispatch.inputs.removeDeployment.default - # $versioningOption=$workflowObj.on.workflow_dispatch.inputs.versioningOption.default - # $customVersion=$workflowObj.on.workflow_dispatch.inputs.customVersion.default - - # } - # Write-Host "::set-output name=removeDeployment::$removeDeployment" - # Write-Host "::set-output name=versioningOption::$versioningOption" - # Write-Host "::set-output name=customVersion::$customVersion" - # id: get-trigger - # shell: pwsh - name: Set input parameters run: | # When running from workflow_dispatch event get input values @@ -82,7 +19,7 @@ runs: } # Otherwise retrieve default values else { - $templateFile='${{ inputs.workflowPath }}' + $templateFile='${{ env.workflowPath }}' $content = Get-Content $templateFile $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index 4125f93479..5576dc0ef9 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -46,8 +46,6 @@ jobs: id: get-trigger uses: ./.github/actions/templates/getWorkflowInput with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' workflowPath: '${{ env.workflowPath}}' outputs: removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} From 9c54e3e21c396da67f6e8e07798e22edcb7836de Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 17:32:29 +0200 Subject: [PATCH 045/260] 1 action yes param --- .github/actions/templates/getWorkflowInput/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 8b21503994..dbdc1e0463 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -19,7 +19,7 @@ runs: } # Otherwise retrieve default values else { - $templateFile='${{ env.workflowPath }}' + $templateFile='${{ input.workflowPath }}' $content = Get-Content $templateFile $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') From 512d3388b56a5c05fc4e537ec899954679bcbaf4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 17:34:43 +0200 Subject: [PATCH 046/260] 1 action yes param 1 --- .../templates/getWorkflowInput/action.yml | 67 ++++++++++++++++++- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index dbdc1e0463..209ece3f7a 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -2,13 +2,76 @@ name: 'Get Workflow Input' description: 'Get Workflow Input' inputs: + # moduleName: + # description: 'The name of the module to remove' + # required: true workflowPath: - description: 'The path to the current workflow yaml file' + description: 'The path to the template file set for removal. Used to determine the type of resource.' required: true + # resourceGroupName: + # description: 'The resource group the module is deployed into' + # required: true runs: using: "composite" steps: + # - name: "Setup agent & login" + # shell: pwsh + # run: | + # # Load used functions + # . ".github/actions/sharedScripts/Set-EnvironmentOnAgent.ps1" + # # Set agent up + # Set-EnvironmentOnAgent + + # - name: Azure Login + # uses: Azure/login@v1 + # with: + # creds: ${{ env.AZURE_CREDENTIALS }} + # enable-AzPSSession: true + + # - name: "Remove module" + # shell: pwsh + # run: | + # # Load used functions + # . "$env:GITHUB_ACTION_PATH/scripts/Remove-DeployedModule.ps1" + + # $functionInput = @{ + # moduleName = '${{ inputs.moduleName }}' + # resourceGroupName = '${{ inputs.resourceGroupName }}' + # templateFilePath = '${{ inputs.templateFilePath }}' + # } + + # Write-Verbose "Invoke task with" -Verbose + # Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + # Remove-DeployedModule @functionInput -Verbose + + + # - name: Dump GitHub context + # env: + # GITHUB_CONTEXT: ${{ toJson(github) }} + # run: echo "$GITHUB_CONTEXT" + # - name: Set input parameters + # run: | + # if ('${{ github.event_name }}' -eq 'workflow_dispatch') { + # $removeDeployment='${{ github.event.inputs.removeDeployment }}' + # $versioningOption='${{ github.event.inputs.versioningOption }}' + # $customVersion='${{ github.event.inputs.customVersion }}' + + # } + # else { + # $workflowPath='${{ github.event.workflow }}' + # $workflowObj=ConvertFrom-Yaml -Path $workflowPath + # $removeDeployment=$workflowObj.on.workflow_dispatch.inputs.removeDeployment.default + # $versioningOption=$workflowObj.on.workflow_dispatch.inputs.versioningOption.default + # $customVersion=$workflowObj.on.workflow_dispatch.inputs.customVersion.default + + # } + # Write-Host "::set-output name=removeDeployment::$removeDeployment" + # Write-Host "::set-output name=versioningOption::$versioningOption" + # Write-Host "::set-output name=customVersion::$customVersion" + # id: get-trigger + # shell: pwsh - name: Set input parameters run: | # When running from workflow_dispatch event get input values @@ -19,7 +82,7 @@ runs: } # Otherwise retrieve default values else { - $templateFile='${{ input.workflowPath }}' + $templateFile='${{ inputs.workflowPath }}' $content = Get-Content $templateFile $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') From 0af02ccf80d8f53f64e9e0497bb9b8315541fb56 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 17:35:31 +0200 Subject: [PATCH 047/260] 1 action yes param 2 --- .github/actions/templates/getWorkflowInput/action.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 209ece3f7a..1866fadcbd 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -2,15 +2,9 @@ name: 'Get Workflow Input' description: 'Get Workflow Input' inputs: - # moduleName: - # description: 'The name of the module to remove' - # required: true workflowPath: description: 'The path to the template file set for removal. Used to determine the type of resource.' required: true - # resourceGroupName: - # description: 'The resource group the module is deployed into' - # required: true runs: using: "composite" From a3721adbc707d1a4ed1e07ed4cddd786775c1271 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 7 Oct 2021 17:51:13 +0200 Subject: [PATCH 048/260] no action from push --- .github/actions/templates/getWorkflowInput/action.yml | 11 ++++++++++- .github/workflows/atestworkflow.yml | 9 ++++----- .github/workflows/atestworkflowwithactions.yml | 6 +++--- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 1866fadcbd..a5bdb4bb0f 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -93,4 +93,13 @@ runs: echo "::set-output name=versioningOption::$versioningOption" echo "::set-output name=customVersion::$customVersion" id: get-trigger - shell: pwsh \ No newline at end of file + shell: pwsh + # outputs: + # removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} + # versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} + # customVersion: ${{ steps.get-trigger.outputs.customVersion }} +outputs: + # removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} + removeDeployment: $removeDeployment + versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} + customVersion: ${{ steps.get-trigger.outputs.customVersion }} \ No newline at end of file diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 276b3c07e5..3240abc034 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -15,9 +15,9 @@ on: description: 'The version to enforce if [versionOption] is set to [custom]' required: false default: '0.0.1' - # push: - # branches: - # - main + push: + branches: + - main # paths: # - '.github/actions/templates/**' # - '.github/workflows/ms.analysisservices.servers.yml' @@ -70,13 +70,12 @@ jobs: # shell: pwsh - name: Set input parameters run: | - + # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' $versioningOption='${{ github.event.inputs.versioningOption }}' $customVersion='${{ github.event.inputs.customVersion }}' - } # Otherwise retrieve default values diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index 5576dc0ef9..76fe6788e9 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -15,9 +15,9 @@ on: description: 'The version to enforce if [versionOption] is set to [custom]' required: false default: '0.0.1' - push: - branches: - - main + # push: + # branches: + # - main # paths: # - '.github/actions/templates/**' # - '.github/workflows/ms.analysisservices.servers.yml' From 74b50d93cd485919972e4405d0301b6a3631c169 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 01:30:46 +0200 Subject: [PATCH 049/260] action from push --- .../templates/getWorkflowInput/action.yml | 131 ++++++------------ .github/workflows/atestworkflow.yml | 8 +- .../workflows/atestworkflowwithactions.yml | 6 +- 3 files changed, 48 insertions(+), 97 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index a5bdb4bb0f..5fe8e3a938 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -6,100 +6,51 @@ inputs: description: 'The path to the template file set for removal. Used to determine the type of resource.' required: true +outputs: + # removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} + # removeDeployment: $removeDeployment + removeDeployment: + description: removeDeployment + value: ${{ steps.get-trigger-action.outputs.removeDeployment }} + versioningOption: + description: versioningOption + value: ${{ steps.get-trigger-action.outputs.versioningOption }} + customVersion: + description: customVersion + value: ${{ steps.get-trigger-action.outputs.customVersion }} + runs: using: "composite" steps: - # - name: "Setup agent & login" - # shell: pwsh - # run: | - # # Load used functions - # . ".github/actions/sharedScripts/Set-EnvironmentOnAgent.ps1" - # # Set agent up - # Set-EnvironmentOnAgent - - # - name: Azure Login - # uses: Azure/login@v1 - # with: - # creds: ${{ env.AZURE_CREDENTIALS }} - # enable-AzPSSession: true - - # - name: "Remove module" - # shell: pwsh - # run: | - # # Load used functions - # . "$env:GITHUB_ACTION_PATH/scripts/Remove-DeployedModule.ps1" - - # $functionInput = @{ - # moduleName = '${{ inputs.moduleName }}' - # resourceGroupName = '${{ inputs.resourceGroupName }}' - # templateFilePath = '${{ inputs.templateFilePath }}' - # } - - # Write-Verbose "Invoke task with" -Verbose - # Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - # Remove-DeployedModule @functionInput -Verbose - - - # - name: Dump GitHub context - # env: - # GITHUB_CONTEXT: ${{ toJson(github) }} - # run: echo "$GITHUB_CONTEXT" - # - name: Set input parameters - # run: | - # if ('${{ github.event_name }}' -eq 'workflow_dispatch') { - # $removeDeployment='${{ github.event.inputs.removeDeployment }}' - # $versioningOption='${{ github.event.inputs.versioningOption }}' - # $customVersion='${{ github.event.inputs.customVersion }}' - - # } - # else { - # $workflowPath='${{ github.event.workflow }}' - # $workflowObj=ConvertFrom-Yaml -Path $workflowPath - # $removeDeployment=$workflowObj.on.workflow_dispatch.inputs.removeDeployment.default - # $versioningOption=$workflowObj.on.workflow_dispatch.inputs.versioningOption.default - # $customVersion=$workflowObj.on.workflow_dispatch.inputs.customVersion.default - - # } - # Write-Host "::set-output name=removeDeployment::$removeDeployment" - # Write-Host "::set-output name=versioningOption::$versioningOption" - # Write-Host "::set-output name=customVersion::$customVersion" - # id: get-trigger - # shell: pwsh - - name: Set input parameters - run: | - # When running from workflow_dispatch event get input values - if ('${{ github.event_name }}' -eq 'workflow_dispatch') { - $removeDeployment='${{ github.event.inputs.removeDeployment }}' - $versioningOption='${{ github.event.inputs.versioningOption }}' - $customVersion='${{ github.event.inputs.customVersion }}' - } - # Otherwise retrieve default values - else { - $templateFile='${{ inputs.workflowPath }}' - $content = Get-Content $templateFile - $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] - $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $removeDeployment - $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] - $versioningOption = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $versioningOption - $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] - $customVersion = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $customVersion - } - # Output values to be accessed by next jobs - echo "::set-output name=removeDeployment::$removeDeployment" - echo "::set-output name=versioningOption::$versioningOption" - echo "::set-output name=customVersion::$customVersion" - id: get-trigger - shell: pwsh + # - name: Set input parameters + - id: get-trigger-action + run: | + # When running from workflow_dispatch event get input values + if ('${{ github.event_name }}' -eq 'workflow_dispatch') { + $removeDeployment='${{ github.event.inputs.removeDeployment }}' + $versioningOption='${{ github.event.inputs.versioningOption }}' + $customVersion='${{ github.event.inputs.customVersion }}' + } + # Otherwise retrieve default values + else { + $templateFile='${{ inputs.workflowPath }}' + $content = Get-Content $templateFile + $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] + $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $removeDeployment + $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] + $versioningOption = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $versioningOption + $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] + $customVersion = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + $customVersion + } + # Output values to be accessed by next jobs + echo "::set-output name=removeDeployment::$removeDeployment" + echo "::set-output name=versioningOption::$versioningOption" + echo "::set-output name=customVersion::$customVersion" + shell: pwsh # outputs: # removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} # versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} # customVersion: ${{ steps.get-trigger.outputs.customVersion }} -outputs: - # removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} - removeDeployment: $removeDeployment - versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} - customVersion: ${{ steps.get-trigger.outputs.customVersion }} \ No newline at end of file diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 3240abc034..dcae7de364 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -15,9 +15,9 @@ on: description: 'The version to enforce if [versionOption] is set to [custom]' required: false default: '0.0.1' - push: - branches: - - main + # push: + # branches: + # - main # paths: # - '.github/actions/templates/**' # - '.github/workflows/ms.analysisservices.servers.yml' @@ -70,7 +70,7 @@ jobs: # shell: pwsh - name: Set input parameters run: | - + # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index 76fe6788e9..5576dc0ef9 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -15,9 +15,9 @@ on: description: 'The version to enforce if [versionOption] is set to [custom]' required: false default: '0.0.1' - # push: - # branches: - # - main + push: + branches: + - main # paths: # - '.github/actions/templates/**' # - '.github/workflows/ms.analysisservices.servers.yml' From a45c19443a4f1d665bcfb3090848bc9af9f3e3d1 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 01:38:26 +0200 Subject: [PATCH 050/260] action from push rename --- .../workflows/atestworkflowwithactions.yml | 43 +++++++++++++------ 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index 5576dc0ef9..c81d9e0e30 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -34,7 +34,7 @@ env: jobs: - job_set_trigger: + job_set_workflow_param: runs-on: ubuntu-20.04 name: "Set input parameters to output variables" steps: @@ -43,28 +43,43 @@ jobs: with: fetch-depth: 0 - name: "Set input parameters" - id: get-trigger + id: get-workflow-param uses: ./.github/actions/templates/getWorkflowInput with: workflowPath: '${{ env.workflowPath}}' outputs: - removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} - versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} - customVersion: ${{ steps.get-trigger.outputs.customVersion }} + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} + customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - job_get_trigger: + job_get_workflow_param_removal: + if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'true'}}" runs-on: ubuntu-20.04 - needs: job_set_trigger - name: "Get job output variables" + needs: job_set_workflow_param + name: "Get job output variables if removal true" steps: - name: Access values from another job run: | - echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" - echo "The removeDeployment is ${{ needs.job_set_trigger.outputs.removeDeployment}}" - echo "The versioningOption is ${{ needs.job_set_trigger.outputs.versioningOption}}" - echo "The customVersion is ${{ needs.job_set_trigger.outputs.customVersion}}" - - name: Dump set trigger + echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" + echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" + echo "The customVersion is ${{ needs.job_set_workflow_param.outputs.customVersion}}" + - name: Dump set workflow param env: - jobContext: ${{ toJson(needs.job_set_trigger) }} + jobContext: ${{ toJson(needs.job_set_workflow_param) }} run: echo "$jobContext" + job_get_workflow_param_noremoval: + if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'false'}}" + runs-on: ubuntu-20.04 + needs: job_set_workflow_param + name: "Get job output variables if removal false" + steps: + - name: Access values from another job + run: | + echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" + echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" + echo "The customVersion is ${{ needs.job_set_workflow_param.outputs.customVersion}}" + - name: Dump set workflow param + env: + jobContext: ${{ toJson(needs.job_set_workflow_param) }} + run: echo "$jobContext" From 2297c64f6209a141631ce9294e5b9143cde80d6c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 01:45:37 +0200 Subject: [PATCH 051/260] action from push if --- .github/workflows/atestworkflowwithactions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index c81d9e0e30..bf25d699af 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -59,6 +59,7 @@ jobs: name: "Get job output variables if removal true" steps: - name: Access values from another job + if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'true'}}" run: | echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" @@ -75,6 +76,7 @@ jobs: name: "Get job output variables if removal false" steps: - name: Access values from another job + if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'false'}}" run: | echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" From 6b71da472859b35ae671b150c98fee06cdefff90 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 01:49:00 +0200 Subject: [PATCH 052/260] action from push if spaces --- .github/workflows/atestworkflowwithactions.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index bf25d699af..4ae33eac9a 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -53,13 +53,13 @@ jobs: customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} job_get_workflow_param_removal: - if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'true'}}" + if: needs.job_set_workflow_param.outputs.removeDeployment == 'true' runs-on: ubuntu-20.04 needs: job_set_workflow_param name: "Get job output variables if removal true" steps: - name: Access values from another job - if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'true'}}" + if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'true' }}" run: | echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" @@ -70,13 +70,13 @@ jobs: run: echo "$jobContext" job_get_workflow_param_noremoval: - if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'false'}}" + if: needs.job_set_workflow_param.outputs.removeDeployment == 'false' runs-on: ubuntu-20.04 needs: job_set_workflow_param name: "Get job output variables if removal false" steps: - name: Access values from another job - if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'false'}}" + if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'false' }}" run: | echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" From a9378f6fb0508073f5f2449ea27ec7726ad944c9 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 09:28:53 +0200 Subject: [PATCH 053/260] cleanup --- .../templates/getWorkflowInput/action.yml | 16 +++++----------- .github/workflows/atestworkflowwithactions.yml | 2 -- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 5fe8e3a938..2bf6a6a7c0 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -7,23 +7,21 @@ inputs: required: true outputs: - # removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} - # removeDeployment: $removeDeployment removeDeployment: - description: removeDeployment + description: 'Remove deployed module' value: ${{ steps.get-trigger-action.outputs.removeDeployment }} versioningOption: - description: versioningOption + description: 'The mode to handle the version increments [major|minor|patch|custom]' value: ${{ steps.get-trigger-action.outputs.versioningOption }} customVersion: - description: customVersion + description: 'The version to enforce if [versionOption] is set to [custom]' value: ${{ steps.get-trigger-action.outputs.customVersion }} runs: using: "composite" steps: - # - name: Set input parameters - - id: get-trigger-action + - name: Set input parameters + id: get-trigger-action run: | # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { @@ -50,7 +48,3 @@ runs: echo "::set-output name=versioningOption::$versioningOption" echo "::set-output name=customVersion::$customVersion" shell: pwsh - # outputs: - # removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} - # versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} - # customVersion: ${{ steps.get-trigger.outputs.customVersion }} diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index 4ae33eac9a..4acfc48716 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -59,7 +59,6 @@ jobs: name: "Get job output variables if removal true" steps: - name: Access values from another job - if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'true' }}" run: | echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" @@ -76,7 +75,6 @@ jobs: name: "Get job output variables if removal false" steps: - name: Access values from another job - if: ${{ needs.job_set_workflow_param.outputs.removeDeployment == 'false' }}" run: | echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" From 51ead4cb483931ea541db78f1cbe6e0bdfdc92c4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 09:30:36 +0200 Subject: [PATCH 054/260] env --- .github/actions/templates/getWorkflowInput/action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 2bf6a6a7c0..b12713dd51 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -1,10 +1,10 @@ name: 'Get Workflow Input' description: 'Get Workflow Input' -inputs: - workflowPath: - description: 'The path to the template file set for removal. Used to determine the type of resource.' - required: true +# inputs: +# workflowPath: +# description: 'The path to the template file set for removal. Used to determine the type of resource.' +# required: true outputs: removeDeployment: @@ -31,7 +31,7 @@ runs: } # Otherwise retrieve default values else { - $templateFile='${{ inputs.workflowPath }}' + $templateFile='${{ env.workflowPath }}' $content = Get-Content $templateFile $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') From 8a3da4b52ff4bd8161e95ee4cfc114d6503174ff Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 12:32:34 +0200 Subject: [PATCH 055/260] input --- .github/actions/templates/getWorkflowInput/action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index b12713dd51..47ef528607 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -1,10 +1,10 @@ name: 'Get Workflow Input' description: 'Get Workflow Input' -# inputs: -# workflowPath: -# description: 'The path to the template file set for removal. Used to determine the type of resource.' -# required: true +inputs: + workflowPath: + description: 'The path to the template file set for removal. Used to determine the type of resource.' + required: true outputs: removeDeployment: @@ -31,7 +31,7 @@ runs: } # Otherwise retrieve default values else { - $templateFile='${{ env.workflowPath }}' + $templateFile='${{ input.workflowPath }}' $content = Get-Content $templateFile $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') From 24671e6f3955e87ed945fd25d3786f90633d9c80 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 12:34:57 +0200 Subject: [PATCH 056/260] input --- .github/workflows/atestworkflowwithactions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index 4acfc48716..9a00f80870 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -27,7 +27,7 @@ on: env: moduleName: 'servers' modulePath: 'arm/Microsoft.AnalysisServices/servers' - workflowPath: '.github/workflows/atestworkflow.yml' + workflowPath: '.github/workflows/atestworkflowwithactions.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} From 989f5cf4793dca8a225ded849d149ce45364ce99 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 12:35:29 +0200 Subject: [PATCH 057/260] apace --- .github/workflows/atestworkflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index dcae7de364..022468ef00 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -70,7 +70,7 @@ jobs: # shell: pwsh - name: Set input parameters run: | - + # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { $removeDeployment='${{ github.event.inputs.removeDeployment }}' From c23918ab3305c60403556ddf77d7a83eb4043282 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 12:37:35 +0200 Subject: [PATCH 058/260] inputs --- .github/actions/templates/getWorkflowInput/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 47ef528607..2bf6a6a7c0 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -31,7 +31,7 @@ runs: } # Otherwise retrieve default values else { - $templateFile='${{ input.workflowPath }}' + $templateFile='${{ inputs.workflowPath }}' $content = Get-Content $templateFile $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') From 97bbc85e1b4a2de04743b59900ab0eba353eb8a1 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 12:42:49 +0200 Subject: [PATCH 059/260] main run --- .github/actions/templates/getWorkflowInput/action.yml | 10 +++++----- .github/workflows/atestworkflow.yml | 2 +- .github/workflows/atestworkflowwithactions.yml | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 2bf6a6a7c0..e52faea734 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -9,19 +9,19 @@ inputs: outputs: removeDeployment: description: 'Remove deployed module' - value: ${{ steps.get-trigger-action.outputs.removeDeployment }} + value: ${{ steps.get-input-param-action.outputs.removeDeployment }} versioningOption: description: 'The mode to handle the version increments [major|minor|patch|custom]' - value: ${{ steps.get-trigger-action.outputs.versioningOption }} + value: ${{ steps.get-input-param-action.outputs.versioningOption }} customVersion: description: 'The version to enforce if [versionOption] is set to [custom]' - value: ${{ steps.get-trigger-action.outputs.customVersion }} + value: ${{ steps.get-input-param-action.outputs.customVersion }} runs: using: "composite" steps: - - name: Set input parameters - id: get-trigger-action + - name: Get workflow input parameters + id: get-input-param-action run: | # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml index 022468ef00..2251615d78 100644 --- a/.github/workflows/atestworkflow.yml +++ b/.github/workflows/atestworkflow.yml @@ -20,7 +20,7 @@ on: # - main # paths: # - '.github/actions/templates/**' - # - '.github/workflows/ms.analysisservices.servers.yml' + # - '.github/workflows/atestworkflow.yml' # - 'arm/Microsoft.AnalysisServices/servers/**' # - '!arm/Microsoft.AnalysisServices/servers/readme.md' diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml index 9a00f80870..dc1bd44f47 100644 --- a/.github/workflows/atestworkflowwithactions.yml +++ b/.github/workflows/atestworkflowwithactions.yml @@ -18,11 +18,11 @@ on: push: branches: - main - # paths: - # - '.github/actions/templates/**' - # - '.github/workflows/ms.analysisservices.servers.yml' - # - 'arm/Microsoft.AnalysisServices/servers/**' - # - '!arm/Microsoft.AnalysisServices/servers/readme.md' + paths: + - '.github/actions/templates/**' + - '.github/workflows/atestworkflowwithactions.yml' + - 'arm/Microsoft.AnalysisServices/servers/**' + - '!arm/Microsoft.AnalysisServices/servers/readme.md' env: moduleName: 'servers' From dc9c6fad2285c5b0685e1425de6b917342aca4e1 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 12:58:12 +0200 Subject: [PATCH 060/260] analisys services --- .../workflows/ms.analysisservices.servers.yml | 310 ++++++++++-------- 1 file changed, 172 insertions(+), 138 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index fd6b451df2..b9bf66849b 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -2,154 +2,190 @@ name: "AnalysisServices: Servers" on: workflow_dispatch: - # push: - # branches: - # - main - # paths: - # - '.github/actions/templates/**' - # - '.github/workflows/ms.analysisservices.servers.yml' - # - 'arm/Microsoft.AnalysisServices/servers/**' - # - '!arm/Microsoft.AnalysisServices/servers/readme.md' + inputs: + removeDeployment: + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + description: 'The mode to handle the version increments [major|minor|patch|custom]' + required: false + default: 'patch' + customVersion: + description: 'The version to enforce if [versionOption] is set to [custom]' + required: false + default: '0.0.1' + push: + branches: + - main + paths: + - '.github/actions/templates/**' + - '.github/workflows/ms.analysisservices.servers.yml' + - 'arm/Microsoft.AnalysisServices/servers/**' + - '!arm/Microsoft.AnalysisServices/servers/readme.md' env: moduleName: 'servers' modulePath: 'arm/Microsoft.AnalysisServices/servers' - removeDeployment: false # Remove deployed module - versioningOption: 'patch' # The mode to handle the version increments [major|minor|patch|custom] - customVersion: 0.0.1 # The version to enforce if [versionOption] is set to [custom] + workflowPath: '.github/workflows/ms.analysisservices.servers.yml' + # removeDeployment: false # Remove deployed module + # versioningOption: 'patch' # The mode to handle the version increments [major|minor|patch|custom] + # customVersion: 0.0.1 # The version to enforce if [versionOption] is set to [custom] AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} jobs: - ################## - # UNIT TESTS # - ################## - # Global tests - # ------------ - job_tests_module_global: + ############################ + # SET INPUT PARAMETERS # + ############################ + job_set_workflow_param: runs-on: ubuntu-20.04 - name: "Run global module tests" + name: "Set input parameters to output variables" steps: - name: "Checkout" uses: actions/checkout@v2 with: fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleGeneral - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' + - name: "Set input parameters" + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + outputs: + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} + customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - # Global API tests - # ---------------- - job_tests_module_global_api: - runs-on: ubuntu-20.04 - name: "Run global API module tests" - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleApis - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' + # ################## + # # UNIT TESTS # + # ################## + # # Global tests + # # ------------ + # job_tests_module_global: + # runs-on: ubuntu-20.04 + # name: "Run global module tests" + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleGeneral + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' - # Validate deployment module tests - # -------------------------------- - job_tests_module_deploy_validate: - runs-on: ubuntu-20.04 - name: "Run deployment validation module tests" - strategy: - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Test module" - uses: ./.github/actions/templates/validateModuleDeploy - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # # Global API tests + # # ---------------- + # job_tests_module_global_api: + # runs-on: ubuntu-20.04 + # name: "Run global API module tests" + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleApis + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' - #################### - # DEPLOY TESTS # - #################### - job_deploy_module: - runs-on: ubuntu-20.04 - name: "Deploy module" - needs: - - job_tests_module_global - - job_tests_module_global_api - - job_tests_module_deploy_validate - strategy: - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Deploy module" - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # # Validate deployment module tests + # # -------------------------------- + # job_tests_module_deploy_validate: + # runs-on: ubuntu-20.04 + # name: "Run deployment validation module tests" + # strategy: + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # # Name of variable file + # variableFileName: 'variables.module' # Don't write .json here + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleDeploy + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - ############### - # PUBLISH # - ############### - job_publish_module: - name: "Publish module" - if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - runs-on: ubuntu-20.04 - needs: - - job_deploy_module - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Publish module" - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' - componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' - componentTemplateSpecName: '${{ env.moduleName }}' - componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' - publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - versioningOption: '${{ env.versioningOption }}' - customVersion: '${{ env.customVersion }}' + # #################### + # # DEPLOY TESTS # + # #################### + # job_deploy_module: + # runs-on: ubuntu-20.04 + # name: "Deploy module" + # needs: + # - job_set_workflow_param + # - job_tests_module_global + # - job_tests_module_global_api + # - job_tests_module_deploy_validate + # strategy: + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # # Name of variable file + # variableFileName: 'variables.module' # Don't write .json here + # - name: "Deploy module" + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + + # ############### + # # PUBLISH # + # ############### + # job_publish_module: + # name: "Publish module" + # if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + # runs-on: ubuntu-20.04 + # needs: + # - job_deploy_module + # steps: + # - name: "Checkout" + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # # Name of variable file + # variableFileName: 'variables.module' # Don't write .json here + # - name: "Publish module" + # uses: ./.github/actions/templates/publishModule + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + # componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + # componentTemplateSpecName: '${{ env.moduleName }}' + # componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + # publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + # versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' ############## # REMOVE # @@ -157,24 +193,22 @@ jobs: job_remove_module: runs-on: ubuntu-20.04 name: "Remove module" + if: needs.job_set_workflow_param.outputs.removeDeployment == 'true' needs: - job_deploy_module steps: - name: "Checkout" uses: actions/checkout@v2 - if: ${{ env.removeDeployment == 'true' }} with: fetch-depth: 0 - name: Set environment variables uses: deep-mm/set-variables@v1.0 - if: ${{ env.removeDeployment == 'true' }} with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - - name: "Remove module" - uses: ./.github/actions/templates/removeModule - if: ${{ env.removeDeployment == 'true' }} - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: '${{ env.modulePath }}/deploy.json' - resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file + # - name: "Remove module" + # uses: ./.github/actions/templates/removeModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file From bb158b933f4bbc88b861e682bd7adc3c0a28cde0 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 13:00:05 +0200 Subject: [PATCH 061/260] analisys services comment actions --- .../workflows/ms.analysisservices.servers.yml | 250 +++++++++--------- 1 file changed, 125 insertions(+), 125 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index b9bf66849b..24ed02ebb3 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -57,135 +57,135 @@ jobs: versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - # ################## - # # UNIT TESTS # - # ################## - # # Global tests - # # ------------ - # job_tests_module_global: - # runs-on: ubuntu-20.04 - # name: "Run global module tests" - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleGeneral - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' + ################## + # UNIT TESTS # + ################## + # Global tests + # ------------ + job_tests_module_global: + runs-on: ubuntu-20.04 + name: "Run global module tests" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleGeneral + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' - # # Global API tests - # # ---------------- - # job_tests_module_global_api: - # runs-on: ubuntu-20.04 - # name: "Run global API module tests" - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleApis - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' + # Global API tests + # ---------------- + job_tests_module_global_api: + runs-on: ubuntu-20.04 + name: "Run global API module tests" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleApis + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' - # # Validate deployment module tests - # # -------------------------------- - # job_tests_module_deploy_validate: - # runs-on: ubuntu-20.04 - # name: "Run deployment validation module tests" - # strategy: - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # # Name of variable file - # variableFileName: 'variables.module' # Don't write .json here - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleDeploy - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # Validate deployment module tests + # -------------------------------- + job_tests_module_deploy_validate: + runs-on: ubuntu-20.04 + name: "Run deployment validation module tests" + strategy: + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleDeploy + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # #################### - # # DEPLOY TESTS # - # #################### - # job_deploy_module: - # runs-on: ubuntu-20.04 - # name: "Deploy module" - # needs: - # - job_set_workflow_param - # - job_tests_module_global - # - job_tests_module_global_api - # - job_tests_module_deploy_validate - # strategy: - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # # Name of variable file - # variableFileName: 'variables.module' # Don't write .json here - # - name: "Deploy module" - # uses: ./.github/actions/templates/deployModule - # with: - # moduleName: '${{ env.moduleName }}' - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + #################### + # DEPLOY TESTS # + #################### + job_deploy_module: + runs-on: ubuntu-20.04 + name: "Deploy module" + needs: + - job_set_workflow_param + - job_tests_module_global + - job_tests_module_global_api + - job_tests_module_deploy_validate + strategy: + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + # - name: "Deploy module" + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - # ############### - # # PUBLISH # - # ############### - # job_publish_module: - # name: "Publish module" - # if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - # runs-on: ubuntu-20.04 - # needs: - # - job_deploy_module - # steps: - # - name: "Checkout" - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # # Name of variable file - # variableFileName: 'variables.module' # Don't write .json here - # - name: "Publish module" - # uses: ./.github/actions/templates/publishModule - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' - # componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' - # componentTemplateSpecName: '${{ env.moduleName }}' - # componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' - # publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - # versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + ############### + # PUBLISH # + ############### + job_publish_module: + name: "Publish module" + if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + runs-on: ubuntu-20.04 + needs: + - job_deploy_module + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + # - name: "Publish module" + # uses: ./.github/actions/templates/publishModule + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + # componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + # componentTemplateSpecName: '${{ env.moduleName }}' + # componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + # publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + # versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' ############## # REMOVE # From 502f9a9625d0aeba85c2f4458b8764f7add3f8a9 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 13:05:46 +0200 Subject: [PATCH 062/260] analisys services uncomment actions --- .../workflows/ms.analysisservices.servers.yml | 97 +++++++++---------- 1 file changed, 47 insertions(+), 50 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 24ed02ebb3..21d5358222 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -28,9 +28,6 @@ env: moduleName: 'servers' modulePath: 'arm/Microsoft.AnalysisServices/servers' workflowPath: '.github/workflows/ms.analysisservices.servers.yml' - # removeDeployment: false # Remove deployed module - # versioningOption: 'patch' # The mode to handle the version increments [major|minor|patch|custom] - # customVersion: 0.0.1 # The version to enforce if [versionOption] is set to [custom] AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} @@ -70,11 +67,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleGeneral - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleGeneral + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' # Global API tests # ---------------- @@ -86,11 +83,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleApis - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleApis + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' # Validate deployment module tests # -------------------------------- @@ -110,15 +107,15 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleDeploy - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleDeploy + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' #################### # DEPLOY TESTS # @@ -144,17 +141,17 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Deploy module" - # uses: ./.github/actions/templates/deployModule - # with: - # moduleName: '${{ env.moduleName }}' - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + - name: "Deploy module" + uses: ./.github/actions/templates/deployModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' ############### # PUBLISH # @@ -175,17 +172,17 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Publish module" - # uses: ./.github/actions/templates/publishModule - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' - # componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' - # componentTemplateSpecName: '${{ env.moduleName }}' - # componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' - # publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - # versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + - name: "Publish module" + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + componentTemplateSpecName: '${{ env.moduleName }}' + componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' ############## # REMOVE # @@ -206,9 +203,9 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Remove module" - # uses: ./.github/actions/templates/removeModule - # with: - # moduleName: '${{ env.moduleName }}' - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file + - name: "Remove module" + uses: ./.github/actions/templates/removeModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.json' + resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file From f06a181669b6e7902d3fad60195cbbedcd54de21 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 13:10:52 +0200 Subject: [PATCH 063/260] analisys services comment test actions --- .../workflows/ms.analysisservices.servers.yml | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 21d5358222..29b7ec29d2 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -67,11 +67,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleGeneral - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleGeneral + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' # Global API tests # ---------------- @@ -83,11 +83,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleApis - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleApis + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' # Validate deployment module tests # -------------------------------- @@ -107,15 +107,15 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - - name: "Test module" - uses: ./.github/actions/templates/validateModuleDeploy - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleDeploy + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' #################### # DEPLOY TESTS # From 5b0edcbc52104f21fa5b6078a2164ecf51bc030d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 13:17:16 +0200 Subject: [PATCH 064/260] analisys services uncomment --- .../workflows/ms.analysisservices.servers.yml | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 29b7ec29d2..21d5358222 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -67,11 +67,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleGeneral - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleGeneral + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' # Global API tests # ---------------- @@ -83,11 +83,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleApis - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleApis + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' # Validate deployment module tests # -------------------------------- @@ -107,15 +107,15 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleDeploy - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleDeploy + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' #################### # DEPLOY TESTS # From 5e09b8b2a498faca78748c96d4ae03c38643598f Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 13:19:17 +0200 Subject: [PATCH 065/260] cleanup --- .github/workflows/atestworkflow.yml | 127 ------------ .../workflows/atestworkflowwithactions.yml | 85 -------- .../ms.analysisservices.servers_backup.yml | 182 ------------------ 3 files changed, 394 deletions(-) delete mode 100644 .github/workflows/atestworkflow.yml delete mode 100644 .github/workflows/atestworkflowwithactions.yml delete mode 100644 .github/workflows/ms.analysisservices.servers_backup.yml diff --git a/.github/workflows/atestworkflow.yml b/.github/workflows/atestworkflow.yml deleted file mode 100644 index 2251615d78..0000000000 --- a/.github/workflows/atestworkflow.yml +++ /dev/null @@ -1,127 +0,0 @@ -name: "AA test workflow" - -on: - workflow_dispatch: - inputs: - removeDeployment: - description: 'Remove deployed module' - required: false - default: 'true' - versioningOption: - description: 'The mode to handle the version increments [major|minor|patch|custom]' - required: false - default: 'patch' - customVersion: - description: 'The version to enforce if [versionOption] is set to [custom]' - required: false - default: '0.0.1' - # push: - # branches: - # - main - # paths: - # - '.github/actions/templates/**' - # - '.github/workflows/atestworkflow.yml' - # - 'arm/Microsoft.AnalysisServices/servers/**' - # - '!arm/Microsoft.AnalysisServices/servers/readme.md' - -env: - moduleName: 'servers' - modulePath: 'arm/Microsoft.AnalysisServices/servers' - workflowPath: '.github/workflows/atestworkflow.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} - ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} - -jobs: - - job_set_trigger: - runs-on: ubuntu-20.04 - name: "Set input parameters to output variables" - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - run: echo ${{ github.event_name }} - # - name: Dump GitHub context - # env: - # GITHUB_CONTEXT: ${{ toJson(github) }} - # run: echo "$GITHUB_CONTEXT" - # - name: Set input parameters - # run: | - # if ('${{ github.event_name }}' -eq 'workflow_dispatch') { - # $removeDeployment='${{ github.event.inputs.removeDeployment }}' - # $versioningOption='${{ github.event.inputs.versioningOption }}' - # $customVersion='${{ github.event.inputs.customVersion }}' - - # } - # else { - # $workflowPath='${{ github.event.workflow }}' - # $workflowObj=ConvertFrom-Yaml -Path $workflowPath - # $removeDeployment=$workflowObj.on.workflow_dispatch.inputs.removeDeployment.default - # $versioningOption=$workflowObj.on.workflow_dispatch.inputs.versioningOption.default - # $customVersion=$workflowObj.on.workflow_dispatch.inputs.customVersion.default - - # } - # Write-Host "::set-output name=removeDeployment::$removeDeployment" - # Write-Host "::set-output name=versioningOption::$versioningOption" - # Write-Host "::set-output name=customVersion::$customVersion" - # id: get-trigger - # shell: pwsh - - name: Set input parameters - run: | - - # When running from workflow_dispatch event get input values - if ('${{ github.event_name }}' -eq 'workflow_dispatch') { - $removeDeployment='${{ github.event.inputs.removeDeployment }}' - $versioningOption='${{ github.event.inputs.versioningOption }}' - $customVersion='${{ github.event.inputs.customVersion }}' - } - - # Otherwise retrieve default values - else { - $templateFile='${{ env.workflowPath }}' - $content = Get-Content $templateFile - $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] - $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $removeDeployment - $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] - $versioningOption = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $versioningOption - $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] - $customVersion = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $customVersion - } - - # Output values to be accessed by next jobs - echo "::set-output name=removeDeployment::$removeDeployment" - echo "::set-output name=versioningOption::$versioningOption" - echo "::set-output name=customVersion::$customVersion" - id: get-trigger - shell: pwsh - - - name: Access values within the job - run: | - echo "The removeDeployment is ${{ steps.get-trigger.outputs.removeDeployment }}" - echo "The versioningOption is ${{ steps.get-trigger.outputs.versioningOption }}" - echo "The customVersion is ${{ steps.get-trigger.outputs.customVersion }}" - outputs: - removeDeployment: ${{ steps.get-trigger.outputs.removeDeployment }} - versioningOption: ${{ steps.get-trigger.outputs.versioningOption }} - customVersion: ${{ steps.get-trigger.outputs.customVersion }} - - job_get_trigger: - runs-on: ubuntu-20.04 - needs: job_set_trigger - name: "Get job output variables" - steps: - - name: Access values from another job - run: | - echo "The trigger is ${{ needs.job_set_trigger.outputs.TRIGGER}}" - echo "The removeDeployment is ${{ needs.job_set_trigger.outputs.removeDeployment}}" - echo "The versioningOption is ${{ needs.job_set_trigger.outputs.versioningOption}}" - echo "The customVersion is ${{ needs.job_set_trigger.outputs.customVersion}}" - - name: Dump set trigger - env: - jobContext: ${{ toJson(needs.job_set_trigger) }} - run: echo "$jobContext" \ No newline at end of file diff --git a/.github/workflows/atestworkflowwithactions.yml b/.github/workflows/atestworkflowwithactions.yml deleted file mode 100644 index dc1bd44f47..0000000000 --- a/.github/workflows/atestworkflowwithactions.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: "AA test workflow with actions" - -on: - workflow_dispatch: - inputs: - removeDeployment: - description: 'Remove deployed module' - required: false - default: 'true' - versioningOption: - description: 'The mode to handle the version increments [major|minor|patch|custom]' - required: false - default: 'patch' - customVersion: - description: 'The version to enforce if [versionOption] is set to [custom]' - required: false - default: '0.0.1' - push: - branches: - - main - paths: - - '.github/actions/templates/**' - - '.github/workflows/atestworkflowwithactions.yml' - - 'arm/Microsoft.AnalysisServices/servers/**' - - '!arm/Microsoft.AnalysisServices/servers/readme.md' - -env: - moduleName: 'servers' - modulePath: 'arm/Microsoft.AnalysisServices/servers' - workflowPath: '.github/workflows/atestworkflowwithactions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} - ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} - -jobs: - - job_set_workflow_param: - runs-on: ubuntu-20.04 - name: "Set input parameters to output variables" - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: "Set input parameters" - id: get-workflow-param - uses: ./.github/actions/templates/getWorkflowInput - with: - workflowPath: '${{ env.workflowPath}}' - outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} - customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - - job_get_workflow_param_removal: - if: needs.job_set_workflow_param.outputs.removeDeployment == 'true' - runs-on: ubuntu-20.04 - needs: job_set_workflow_param - name: "Get job output variables if removal true" - steps: - - name: Access values from another job - run: | - echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" - echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" - echo "The customVersion is ${{ needs.job_set_workflow_param.outputs.customVersion}}" - - name: Dump set workflow param - env: - jobContext: ${{ toJson(needs.job_set_workflow_param) }} - run: echo "$jobContext" - - job_get_workflow_param_noremoval: - if: needs.job_set_workflow_param.outputs.removeDeployment == 'false' - runs-on: ubuntu-20.04 - needs: job_set_workflow_param - name: "Get job output variables if removal false" - steps: - - name: Access values from another job - run: | - echo "The removeDeployment is ${{ needs.job_set_workflow_param.outputs.removeDeployment}}" - echo "The versioningOption is ${{ needs.job_set_workflow_param.outputs.versioningOption}}" - echo "The customVersion is ${{ needs.job_set_workflow_param.outputs.customVersion}}" - - name: Dump set workflow param - env: - jobContext: ${{ toJson(needs.job_set_workflow_param) }} - run: echo "$jobContext" diff --git a/.github/workflows/ms.analysisservices.servers_backup.yml b/.github/workflows/ms.analysisservices.servers_backup.yml deleted file mode 100644 index 25bc5358a0..0000000000 --- a/.github/workflows/ms.analysisservices.servers_backup.yml +++ /dev/null @@ -1,182 +0,0 @@ -name: "AnalysisServices: Servers" - -on: - workflow_dispatch: - inputs: - removeDeployment: - description: 'Remove deployed module' - required: false - default: 'true' - versioningOption: - description: 'The mode to handle the version increments [major|minor|patch|custom]' - required: false - default: 'patch' - customVersion: - description: 'The version to enforce if [versionOption] is set to [custom]' - required: false - default: '0.0.1' - -env: - moduleName: 'servers' - modulePath: 'arm/Microsoft.AnalysisServices/servers' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} - ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} - -jobs: - ################## - # UNIT TESTS # - ################## - # Global tests - # ------------ - job_tests_module_global: - runs-on: ubuntu-20.04 - name: "Run global module tests" - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleGeneral - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' - - # Global API tests - # ---------------- - job_tests_module_global_api: - runs-on: ubuntu-20.04 - name: "Run global API module tests" - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleApis - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' - - # Validate deployment module tests - # -------------------------------- - job_tests_module_deploy_validate: - runs-on: ubuntu-20.04 - name: "Run deployment validation module tests" - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Test module" - uses: ./.github/actions/templates/validateModuleDeploy - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - - #################### - # DEPLOY TESTS # - #################### - job_deploy_module: - runs-on: ubuntu-20.04 - name: "Deploy module" - needs: - - job_tests_module_global - - job_tests_module_global_api - - job_tests_module_deploy_validate - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Deploy module" - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ github.event.inputs.removeDeployment }}' - - ############### - # PUBLISH # - ############### - job_publish_module: - name: "Publish module" - if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - runs-on: ubuntu-20.04 - needs: - - job_deploy_module - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Publish module" - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' - componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' - componentTemplateSpecName: '${{ env.moduleName }}' - componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' - publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - versioningOption: '${{ github.event.inputs.versioningOption }}' - customVersion: '${{ github.event.inputs.customVersion }}' - - ############## - # REMOVE # - ############## - job_remove_module: - runs-on: ubuntu-20.04 - name: "Remove module" - if: ${{ always() && !cancelled() && github.event.inputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} - needs: - - job_deploy_module - steps: - - name: "Checkout" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - # Name of variable file - variableFileName: 'variables.module' # Don't write .json here - - name: "Remove module" - uses: ./.github/actions/templates/removeModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: '${{ env.modulePath }}/deploy.json' - resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file From 31cb17c3cbad71673eb05132a1aca8a3b62d7729 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 13:24:16 +0200 Subject: [PATCH 066/260] refactor --- .../workflows/ms.analysisservices.servers.yml | 98 ++++++++++--------- 1 file changed, 50 insertions(+), 48 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 21d5358222..c6bef12899 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -67,11 +67,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleGeneral - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleGeneral + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' # Global API tests # ---------------- @@ -83,11 +83,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: "Test module" - uses: ./.github/actions/templates/validateModuleApis - with: - modulePath: '${{ env.modulePath }}' - moduleName: '${{ env.moduleName}}' + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleApis + # with: + # modulePath: '${{ env.modulePath }}' + # moduleName: '${{ env.moduleName}}' # Validate deployment module tests # -------------------------------- @@ -95,6 +95,7 @@ jobs: runs-on: ubuntu-20.04 name: "Run deployment validation module tests" strategy: + fail-fast: false matrix: parameterFilePaths: ['parameters.json'] steps: @@ -107,15 +108,15 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - - name: "Test module" - uses: ./.github/actions/templates/validateModuleDeploy - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # - name: "Test module" + # uses: ./.github/actions/templates/validateModuleDeploy + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' #################### # DEPLOY TESTS # @@ -129,6 +130,7 @@ jobs: - job_tests_module_global_api - job_tests_module_deploy_validate strategy: + fail-fast: false matrix: parameterFilePaths: ['parameters.json'] steps: @@ -141,17 +143,17 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - - name: "Deploy module" - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: '${{ env.modulePath }}/deploy.json' - parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + # - name: "Deploy module" + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' ############### # PUBLISH # @@ -172,17 +174,17 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - - name: "Publish module" - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.json' - componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' - componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' - componentTemplateSpecName: '${{ env.moduleName }}' - componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' - publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + # - name: "Publish module" + # uses: ./.github/actions/templates/publishModule + # with: + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + # componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + # componentTemplateSpecName: '${{ env.moduleName }}' + # componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + # publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + # versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' ############## # REMOVE # @@ -190,7 +192,7 @@ jobs: job_remove_module: runs-on: ubuntu-20.04 name: "Remove module" - if: needs.job_set_workflow_param.outputs.removeDeployment == 'true' + if: ${{ always() && !cancelled() && needs.job_set_workflow_param.outputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} needs: - job_deploy_module steps: @@ -203,9 +205,9 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - - name: "Remove module" - uses: ./.github/actions/templates/removeModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: '${{ env.modulePath }}/deploy.json' - resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file + # - name: "Remove module" + # uses: ./.github/actions/templates/removeModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: '${{ env.modulePath }}/deploy.json' + # resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file From c11b17e0921001adb7400f76a445f068484c9166 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 8 Oct 2021 13:34:18 +0200 Subject: [PATCH 067/260] uncomment for push --- .../workflows/ms.analysisservices.servers.yml | 94 +++++++++---------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index c6bef12899..dfd8073775 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -67,11 +67,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleGeneral - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleGeneral + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' # Global API tests # ---------------- @@ -83,11 +83,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleApis - # with: - # modulePath: '${{ env.modulePath }}' - # moduleName: '${{ env.moduleName}}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleApis + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' # Validate deployment module tests # -------------------------------- @@ -108,15 +108,15 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Test module" - # uses: ./.github/actions/templates/validateModuleDeploy - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + - name: "Test module" + uses: ./.github/actions/templates/validateModuleDeploy + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' #################### # DEPLOY TESTS # @@ -143,17 +143,17 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Deploy module" - # uses: ./.github/actions/templates/deployModule - # with: - # moduleName: '${{ env.moduleName }}' - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + - name: "Deploy module" + uses: ./.github/actions/templates/deployModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.json' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' ############### # PUBLISH # @@ -174,17 +174,17 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Publish module" - # uses: ./.github/actions/templates/publishModule - # with: - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' - # componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' - # componentTemplateSpecName: '${{ env.moduleName }}' - # componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' - # publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - # versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + - name: "Publish module" + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.json' + componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + componentTemplateSpecName: '${{ env.moduleName }}' + componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' ############## # REMOVE # @@ -205,9 +205,9 @@ jobs: with: # Name of variable file variableFileName: 'variables.module' # Don't write .json here - # - name: "Remove module" - # uses: ./.github/actions/templates/removeModule - # with: - # moduleName: '${{ env.moduleName }}' - # templateFilePath: '${{ env.modulePath }}/deploy.json' - # resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file + - name: "Remove module" + uses: ./.github/actions/templates/removeModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.json' + resourceGroupName: '${{ env.resourceGroupName }}' \ No newline at end of file From e7abe5916f0bc49309075a869454ffddddc12805 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 11 Oct 2021 12:19:17 +0200 Subject: [PATCH 068/260] script out --- .../templates/getWorkflowInput/action.yml | 50 +++++++++++----- .../scripts/Get-WorkflowDefaultInput.ps1 | 57 +++++++++++++++++++ 2 files changed, 92 insertions(+), 15 deletions(-) create mode 100644 .github/actions/templates/getWorkflowInput/scripts/Get-WorkflowDefaultInput.ps1 diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index e52faea734..0aef191fd5 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -3,7 +3,7 @@ description: 'Get Workflow Input' inputs: workflowPath: - description: 'The path to the template file set for removal. Used to determine the type of resource.' + description: 'The path to the workflow file used to retrieve default workflow input parameters.' required: true outputs: @@ -23,28 +23,48 @@ runs: - name: Get workflow input parameters id: get-input-param-action run: | + Write-Output "The workflow trigger is: ${{ github.event_name }}" -Verbose + # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { + $removeDeployment='${{ github.event.inputs.removeDeployment }}' $versioningOption='${{ github.event.inputs.versioningOption }}' $customVersion='${{ github.event.inputs.customVersion }}' } # Otherwise retrieve default values else { - $templateFile='${{ inputs.workflowPath }}' - $content = Get-Content $templateFile - $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] - $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $removeDeployment - $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] - $versioningOption = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $versioningOption - $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] - $customVersion = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - $customVersion + # Load used functions + . "$env:GITHUB_ACTION_PATH/scripts/Get-WorkflowDefaultInput.ps1" + + $functionInput = @{ + workflowPath = '${{ inputs.workflowPath }}' + } + + Write-Verbose "Invoke task with" -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + $workflowParameters = Get-WorkflowDefaultInput @functionInput -Verbose + + $removeDeployment = $workflowParameters.removeDeployment + $versioningOption = $workflowParameters.versioningOption + $customVersion = $workflowParameters.customVersion + + # $templateFile='${{ inputs.workflowPath }}' + # $content = Get-Content $templateFile + # $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] + # $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + # $removeDeployment + # $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] + # $versioningOption = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + # $versioningOption + # $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] + # $customVersion = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') + # $customVersion } + # Output values to be accessed by next jobs - echo "::set-output name=removeDeployment::$removeDeployment" - echo "::set-output name=versioningOption::$versioningOption" - echo "::set-output name=customVersion::$customVersion" + Write-Output "::set-output name=removeDeployment::$removeDeployment" + Write-Output "::set-output name=versioningOption::$versioningOption" + Write-Output "::set-output name=customVersion::$customVersion" shell: pwsh diff --git a/.github/actions/templates/getWorkflowInput/scripts/Get-WorkflowDefaultInput.ps1 b/.github/actions/templates/getWorkflowInput/scripts/Get-WorkflowDefaultInput.ps1 new file mode 100644 index 0000000000..6d626dbc68 --- /dev/null +++ b/.github/actions/templates/getWorkflowInput/scripts/Get-WorkflowDefaultInput.ps1 @@ -0,0 +1,57 @@ +<# +.SYNOPSIS +Retrieve default values for input parameters for a specified workflow. + +.DESCRIPTION +Retrieve default values for input parameters for a specified workflow. Return hashtable containing pairs. + +.PARAMETER workflowPath +Mandatory. The path to the github workflow file. + +.EXAMPLE +Get-WorkflowDefaultInput -workflowPath 'path/to/workflow' -verbose + +Retrieve default values for input parameters for the 'path/to/workflow' workflow. +#> +function Get-WorkflowDefaultInput { + + param ( + [Parameter(Mandatory)] + [string] $workflowPath + + ) + + begin { + Write-Debug ("{0} entered" -f $MyInvocation.MyCommand) + } + + process { + $content = Get-Content $workflowPath + # Get 'removeDeployment' default input value + $removeDeploymentRowIndex = ((0..($content.Count - 1)) | Where-Object { $content[$_] -like '*removeDeployment:*' })[0] + $removeDeployment = $content[$removeDeploymentRowIndex + 3].trim().Split(':')[1].Trim().Replace("'", "").Replace('"', '') + Write-Verbose "Default input value for removeDeployment: $removeDeployment" + # Get 'versioningOption' default input value + $versioningOptionRowIndex = ((0..($content.Count - 1)) | Where-Object { $content[$_] -like "*versioningOption:*" })[0] + $versioningOption = $content[$versioningOptionRowIndex + 3].trim().Split(':')[1].Trim().Replace("'", "").Replace('"', '') + Write-Verbose "Default input value for versioningOption: $versioningOption" + # Get 'customVersion' default input value + $customVersionRowIndex = ((0..($content.Count - 1)) | Where-Object { $content[$_] -like "*customVersion:*" })[0] + $customVersion = $content[$customVersionRowIndex + 3].trim().Split(':')[1].Trim().Replace("'", "").Replace('"', '') + Write-Verbose "Default input value for customVersion: $customVersion" + + # Define hashtable to contain workflow parameters + $workflowParameters = @{} + $workflowParameters.Add("removeDeployment", $removeDeployment) + $workflowParameters.Add("versioningOption", $versioningOption) + $workflowParameters.Add("customVersion", $customVersion) + + Write-Verbose "Get workflow default input complete" + + return $workflowParameters + } + + end { + Write-Debug ("{0} exited" -f $MyInvocation.MyCommand) + } +} \ No newline at end of file From 6725d52498b7387945f1b46cb1f1a6e20d826e5e Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 11 Oct 2021 12:37:15 +0200 Subject: [PATCH 069/260] cleanup --- .../actions/templates/getWorkflowInput/action.yml | 13 ------------- .../scripts/Get-WorkflowDefaultInput.ps1 | 11 +++++++---- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 0aef191fd5..8a906a013b 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -45,22 +45,9 @@ runs: Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose $workflowParameters = Get-WorkflowDefaultInput @functionInput -Verbose - $removeDeployment = $workflowParameters.removeDeployment $versioningOption = $workflowParameters.versioningOption $customVersion = $workflowParameters.customVersion - - # $templateFile='${{ inputs.workflowPath }}' - # $content = Get-Content $templateFile - # $removeDeploymentRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like '*removeDeployment:*'})[0] - # $removeDeployment = $content[$removeDeploymentRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - # $removeDeployment - # $versioningOptionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*versioningOption:*" })[0] - # $versioningOption = $content[$versioningOptionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - # $versioningOption - # $customVersionRowIndex = ((0..($content.Count-1)) | Where-Object {$content[$_] -like "*customVersion:*" })[0] - # $customVersion = $content[$customVersionRowIndex+3].trim().Split(':')[1].Trim().Replace("'","").Replace('"','') - # $customVersion } # Output values to be accessed by next jobs diff --git a/.github/actions/templates/getWorkflowInput/scripts/Get-WorkflowDefaultInput.ps1 b/.github/actions/templates/getWorkflowInput/scripts/Get-WorkflowDefaultInput.ps1 index 6d626dbc68..55bb7de679 100644 --- a/.github/actions/templates/getWorkflowInput/scripts/Get-WorkflowDefaultInput.ps1 +++ b/.github/actions/templates/getWorkflowInput/scripts/Get-WorkflowDefaultInput.ps1 @@ -1,9 +1,9 @@ <# .SYNOPSIS -Retrieve default values for input parameters for a specified workflow. +Retrieve input parameter default values for a specified workflow. .DESCRIPTION -Retrieve default values for input parameters for a specified workflow. Return hashtable containing pairs. +Retrieve input parameter default values for a specified workflow. Return hashtable containing pairs. .PARAMETER workflowPath Mandatory. The path to the github workflow file. @@ -11,7 +11,7 @@ Mandatory. The path to the github workflow file. .EXAMPLE Get-WorkflowDefaultInput -workflowPath 'path/to/workflow' -verbose -Retrieve default values for input parameters for the 'path/to/workflow' workflow. +Retrieve input parameter default values for the 'path/to/workflow' workflow. #> function Get-WorkflowDefaultInput { @@ -27,14 +27,17 @@ function Get-WorkflowDefaultInput { process { $content = Get-Content $workflowPath + # Get 'removeDeployment' default input value $removeDeploymentRowIndex = ((0..($content.Count - 1)) | Where-Object { $content[$_] -like '*removeDeployment:*' })[0] $removeDeployment = $content[$removeDeploymentRowIndex + 3].trim().Split(':')[1].Trim().Replace("'", "").Replace('"', '') Write-Verbose "Default input value for removeDeployment: $removeDeployment" + # Get 'versioningOption' default input value $versioningOptionRowIndex = ((0..($content.Count - 1)) | Where-Object { $content[$_] -like "*versioningOption:*" })[0] $versioningOption = $content[$versioningOptionRowIndex + 3].trim().Split(':')[1].Trim().Replace("'", "").Replace('"', '') Write-Verbose "Default input value for versioningOption: $versioningOption" + # Get 'customVersion' default input value $customVersionRowIndex = ((0..($content.Count - 1)) | Where-Object { $content[$_] -like "*customVersion:*" })[0] $customVersion = $content[$customVersionRowIndex + 3].trim().Split(':')[1].Trim().Replace("'", "").Replace('"', '') @@ -45,9 +48,9 @@ function Get-WorkflowDefaultInput { $workflowParameters.Add("removeDeployment", $removeDeployment) $workflowParameters.Add("versioningOption", $versioningOption) $workflowParameters.Add("customVersion", $customVersion) - Write-Verbose "Get workflow default input complete" + # Return hashtable return $workflowParameters } From 0299a42a615da2913cf58a2dd1deaac0dbac1c87 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 11 Oct 2021 12:37:39 +0200 Subject: [PATCH 070/260] cleanup --- .github/actions/templates/getWorkflowInput/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index 8a906a013b..01ec7486bc 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -23,7 +23,7 @@ runs: - name: Get workflow input parameters id: get-input-param-action run: | - Write-Output "The workflow trigger is: ${{ github.event_name }}" -Verbose + Write-Verbose "The workflow trigger is: ${{ github.event_name }}" -Verbose # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { @@ -38,7 +38,7 @@ runs: . "$env:GITHUB_ACTION_PATH/scripts/Get-WorkflowDefaultInput.ps1" $functionInput = @{ - workflowPath = '${{ inputs.workflowPath }}' + workflowPath = '${{ inputs.workflowPath }}' } Write-Verbose "Invoke task with" -Verbose From e97fbd6b22e3621f3538011a021f1d032536ab0d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 14 Oct 2021 13:40:30 +0200 Subject: [PATCH 071/260] avset bicep --- .../workflows/ms.compute.availabilitysets.yml | 182 ++++++++++++++++++ .../.bicep/nested_cuaId.bicep | 0 .../availabilitySets/.bicep/nested_rbac.bicep | 11 ++ .../availabilitySets/deploy.bicep | 93 +++++++++ .../parameters/parameters.json | 9 + .../availabilitySets/readme.md | 91 +++++++++ 6 files changed, 386 insertions(+) create mode 100644 .github/workflows/ms.compute.availabilitysets.yml create mode 100644 arm/Microsoft.Compute/availabilitySets/.bicep/nested_cuaId.bicep create mode 100644 arm/Microsoft.Compute/availabilitySets/.bicep/nested_rbac.bicep create mode 100644 arm/Microsoft.Compute/availabilitySets/deploy.bicep create mode 100644 arm/Microsoft.Compute/availabilitySets/parameters/parameters.json create mode 100644 arm/Microsoft.Compute/availabilitySets/readme.md diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml new file mode 100644 index 0000000000..6e6676d78c --- /dev/null +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -0,0 +1,182 @@ +name: 'Compute: Availability Sets' + +on: + workflow_dispatch: + inputs: + removeDeployment: + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + description: 'The mode to handle the version increments [major|minor|patch|custom]' + required: false + default: 'patch' + customVersion: + description: 'The version to enforce if [versionOption] is set to [custom]' + required: false + default: '0.0.1' + +env: + moduleName: 'images' + modulePath: 'arm/Microsoft.Compute/availabilitySets' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} + ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} + +jobs: + ################## + # UNIT TESTS # + ################## + # Global tests + # ------------ + job_tests_module_global: + runs-on: ubuntu-20.04 + name: 'Run global module tests' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Test module' + uses: ./.github/actions/templates/validateModuleGeneral + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + + # Global API tests + # ---------------- + job_tests_module_global_api: + runs-on: ubuntu-20.04 + name: 'Run global API module tests' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Test module' + uses: ./.github/actions/templates/validateModuleApis + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + + # Validate deployment module tests + # -------------------------------- + job_tests_module_deploy_validate: + runs-on: ubuntu-20.04 + name: 'Run deployment validation module tests' + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: 'Test module' + uses: ./.github/actions/templates/validateModuleDeploy + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + + #################### + # DEPLOY TESTS # + #################### + job_deploy_module: + runs-on: ubuntu-20.04 + name: 'Deploy module' + needs: + - job_tests_module_global + - job_tests_module_global_api + - job_tests_module_deploy_validate + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: 'Deploy module' + uses: ./.github/actions/templates/deployModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ github.event.inputs.removeDeployment }}' + + ############### + # PUBLISH # + ############### + job_publish_module: + name: 'Publish module' + if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + runs-on: ubuntu-20.04 + needs: + - job_deploy_module + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: 'Publish module' + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + componentTemplateSpecName: '${{ env.moduleName }}' + componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + versioningOption: '${{ github.event.inputs.versioningOption }}' + customVersion: '${{ github.event.inputs.customVersion }}' + + ############## + # REMOVE # + ############## + job_remove_module: + runs-on: ubuntu-20.04 + name: 'Remove module' + if: ${{ always() && !cancelled() && github.event.inputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} + needs: + - job_deploy_module + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: 'Remove module' + uses: ./.github/actions/templates/removeModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + resourceGroupName: '${{ env.resourceGroupName }}' diff --git a/arm/Microsoft.Compute/availabilitySets/.bicep/nested_cuaId.bicep b/arm/Microsoft.Compute/availabilitySets/.bicep/nested_cuaId.bicep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/arm/Microsoft.Compute/availabilitySets/.bicep/nested_rbac.bicep b/arm/Microsoft.Compute/availabilitySets/.bicep/nested_rbac.bicep new file mode 100644 index 0000000000..5794fba1fa --- /dev/null +++ b/arm/Microsoft.Compute/availabilitySets/.bicep/nested_rbac.bicep @@ -0,0 +1,11 @@ +param roleAssignmentObj object +param builtInRoleNames object +param resourceName string + +resource roleAssigment 'Microsoft.Compute/availabilitySets/providers/roleAssignments@2020-04-01-preview' = [for principalId in roleAssignmentObj.principalIds: { + name: '${resourceName}/Microsoft.Authorization/${guid(resourceName, principalId, roleAssignmentObj.roleDefinitionIdOrName)}' + properties: { + roleDefinitionId: (contains(builtInRoleNames, roleAssignmentObj.roleDefinitionIdOrName) ? builtInRoleNames[roleAssignmentObj.roleDefinitionIdOrName] : roleAssignmentObj.roleDefinitionIdOrName) + principalId: principalId + } +}] diff --git a/arm/Microsoft.Compute/availabilitySets/deploy.bicep b/arm/Microsoft.Compute/availabilitySets/deploy.bicep new file mode 100644 index 0000000000..cdb001f349 --- /dev/null +++ b/arm/Microsoft.Compute/availabilitySets/deploy.bicep @@ -0,0 +1,93 @@ +@description('Required. The name of the availability set that is being created.') +param availabilitySetName string + +@description('Optional. The number of fault domains to use.') +param availabilitySetFaultDomain int = 2 + +@description('Optional. The number of update domains to use.') +param availabilitySetUpdateDomain int = 5 + +@description('Optional. Sku of the availability set. Use \'Aligned\' for virtual machines with managed disks and \'Classic\' for virtual machines with unmanaged disks.') +param availabilitySetSku string = 'Aligned' + +@description('Optional. Resource Id of a proximity placement group.') +param proximityPlacementGroupId string = '' + +@description('Optional. Resource location.') +param location string = resourceGroup().location + +@description('Optional. Switch to lock the availability set from deletion.') +param lockForDeletion bool = false + +@description('Optional. Array of role assignment objects that contain the \'roleDefinitionIdOrName\' and \'principalId\' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: \'/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11\'') +param roleAssignments array = [] + +@description('Optional. Tags of the availability set resource.') +param tags object = {} + +@description('Optional. Customer Usage Attribution id (GUID). This GUID must be previously registered') +param cuaId string = '' + +var builtInRoleNames = { + 'Owner': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '8e3af657-a8ff-443c-a75c-2fe8c4bcb635') + 'Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b24988ac-6180-42a0-ab88-20f7382dd24c') + 'Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'acdd72a7-3385-48ef-bd42-f606fba81ae7') + 'Avere Cluster Create': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'a7b1b19a-0e83-4fe5-935c-faaefbfd18c3') + 'Avere Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '4f8fab4f-1852-4a58-a46a-8eaf358af14a') + 'Azure Service Deploy Release Management Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '21d96096-b162-414a-8302-d8354f9d91b2') + 'CAL-Custom-Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '7b266cd7-0bba-4ae2-8423-90ede5e1e898') + 'DevTest Labs User': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '76283e04-6283-4c54-8f91-bcf1374a3c64') + 'Log Analytics Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '92aaf0da-9dab-42b6-94a3-d43ce8d16293') + 'Log Analytics Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '73c42c96-874c-492b-b04d-ab87d138a893') + 'Managed Application Contributor Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '641177b8-a67a-45b9-a033-47bc880bb21e') + 'Managed Application Operator Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'c7393b34-138c-406f-901b-d8cf2b17e6ae') + 'Managed Applications Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b9331d33-8a36-4f8c-b097-4f54124fdb44') + 'masterreader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'a48d7796-14b4-4889-afef-fbb65a93e5a2') + 'Monitoring Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '749f88d5-cbae-40b8-bcfc-e573ddc772fa') + 'Monitoring Metrics Publisher': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '3913510d-42f4-4e42-8a64-420c390055eb') + 'Monitoring Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '43d0d8ad-25c7-4714-9337-8ba259a9fe05') + 'Reservation Purchaser': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'f7b75c60-3036-4b75-91c3-6b41c27c1689') + 'Resource Policy Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '36243c78-bf99-498c-9df9-86d9f8d28608') + 'User Access Administrator': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '18d7d88d-d35e-4fb5-a5c3-7773c20a72d9') + 'Virtual Machine Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '9980e02c-c2be-4d73-94e8-173b1dc7cf3c') +} + +module pid_cuaId './.bicep/nested_cuaId.bicep' = if (!empty(cuaId)) { + name: 'pid-${cuaId}' + params: {} +} + +resource availabilitySet 'Microsoft.Compute/availabilitySets@2021-04-01' = { + name: availabilitySetName + location: location + tags: tags + properties: { + platformFaultDomainCount: availabilitySetFaultDomain + platformUpdateDomainCount: availabilitySetUpdateDomain + proximityPlacementGroup: (empty(proximityPlacementGroupId) ? json('null') : proximityPlacementGroupId) + } + sku: { + name: availabilitySetSku + } +} + +resource availabilitySet_lock 'Microsoft.Authorization/locks@2016-09-01' = if (lockForDeletion) { + name: '${availabilitySet.name}-DoNotDelete' + properties: { + level: 'CanNotDelete' + } + scope: availabilitySet +} + +module availabilitySet_rbac './.bicep/nested_rbac.bicep' = [for (roleAssignment, index) in roleAssignments: { + name: 'rbac-${deployment().name}${index}' + params: { + roleAssignmentObj: roleAssignment + builtInRoleNames: builtInRoleNames + resourceName: availabilitySet.name + } +}] + +output availabilitySetResourceName string = availabilitySet.name +output availabilitySetResourceId string = availabilitySet.id +output availabilitySetResourceGroup string = resourceGroup().name diff --git a/arm/Microsoft.Compute/availabilitySets/parameters/parameters.json b/arm/Microsoft.Compute/availabilitySets/parameters/parameters.json new file mode 100644 index 0000000000..c3bda81213 --- /dev/null +++ b/arm/Microsoft.Compute/availabilitySets/parameters/parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "availabilitySetName": { + "value": "sxx-az-avs-weu-x-001" + } + } +} diff --git a/arm/Microsoft.Compute/availabilitySets/readme.md b/arm/Microsoft.Compute/availabilitySets/readme.md new file mode 100644 index 0000000000..58b833f134 --- /dev/null +++ b/arm/Microsoft.Compute/availabilitySets/readme.md @@ -0,0 +1,91 @@ +# AvailabilitySet + +This template deploys an Availability Set + +## Resource types + +| Resource Type | ApiVersion | +| :------------------------------------------------------------- | :----------------- | +| `Microsoft.Compute/availabilitySets` | 2021-04-01 | +| `Microsoft.Authorization/locks` | 2016-09-01 | +| `Microsoft.Compute/availabilitySets/providers/roleAssignments` | 2020-04-01-preview | + +## Parameters + +| Parameter Name | Type | Default Value | Possible values | Description | +| :---------------------------- | :----- | :------------ | :---------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `availabilitySetName` | string | | | Optional. The name of the availability set that is being created. | +| `availabilitySetFaultDomain` | int | 2 | | Optional. The number of fault domains to use. | +| `availabilitySetUpdateDomain` | int | 5 | | Optional. The number of update domains to use. | +| `availabilitySetSku` | string | Aligned | | Optional. Sku of the availability set. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. | +| `proximityPlacementGroupId` | string | | | Optional. Resource Id of a proximity placement group. | +| `location` | string | | | Optional. Resource location. | +| `lockForDeletion` | bool | `false` | | Optional. Switch to lock the availability set from deletion. | +| `roleAssignments` | array | [] | Complex structure, see below. | Optional. Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or it's fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11' | +| `tags` | object | | | Optional. Tags of the availability set resource. | +| `cuaId` | string | "" | | Optional. Customer Usage Attribution id (GUID). This GUID must be previously registered. | + +### Parameter Usage: `lockForDeletion` + +Switch to lock Availability Set from deletion. + +```json +"lockForDeletion": { + "value": true +} +``` + +### Parameter Usage: `roleAssignments` + +```json +"roleAssignments": { + "value": [ + { + "roleDefinitionIdOrName": "Reader", + "principalIds": [ + "12345678-1234-1234-1234-123456789012", // object 1 + "78945612-1234-1234-1234-123456789012" // object 2 + ] + }, + { + "roleDefinitionIdOrName": "/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11", + "principalIds": [ + "12345678-1234-1234-1234-123456789012" // object 1 + ] + } + ] +} +``` + +### Parameter Usage: `tags` + +Tag names and tag values can be provided as needed. A tag can be left without a value. + +```json +"tags": { + "value": { + "Environment": "Non-Prod", + "Contact": "test.user@testcompany.com", + "PurchaseOrder": "1234", + "CostCenter": "7890", + "ServiceName": "DeploymentValidation", + "Role": "DeploymentValidation" + } +} +``` + +## Outputs + +| Output Name | Type | Description | +| :----------------------------- | :----- | :------------------------------------------------------- | +| `availabilitySetResourceName` | string | The Name of the Availability Set. | +| `availabilitySetResourceId` | string | The Resource Id of the Availability Set. | +| `availabilitySetResourceGroup` | string | The Resource Group the Availability Set was deployed to. | + +## Considerations + +N/A + +## Additional resources + +- [Microsoft.Compute availabilitySets template reference](https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/availabilitysets) From c6ddc5bb8952443630e1fdf6bc3d3429830b485f Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 14 Oct 2021 13:43:27 +0200 Subject: [PATCH 072/260] avset bicep workflow name --- .github/workflows/ms.compute.availabilitysets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index 6e6676d78c..d4208d1dc4 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -1,4 +1,4 @@ -name: 'Compute: Availability Sets' +name: 'Compute: Availabilitysets' on: workflow_dispatch: From 5c6cbaf507ecb0967290d4d2d62639941fc844cb Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 14 Oct 2021 13:47:01 +0200 Subject: [PATCH 073/260] avset bicep readme --- arm/Microsoft.Compute/availabilitySets/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/arm/Microsoft.Compute/availabilitySets/readme.md b/arm/Microsoft.Compute/availabilitySets/readme.md index 58b833f134..2fca9c463e 100644 --- a/arm/Microsoft.Compute/availabilitySets/readme.md +++ b/arm/Microsoft.Compute/availabilitySets/readme.md @@ -9,6 +9,7 @@ This template deploys an Availability Set | `Microsoft.Compute/availabilitySets` | 2021-04-01 | | `Microsoft.Authorization/locks` | 2016-09-01 | | `Microsoft.Compute/availabilitySets/providers/roleAssignments` | 2020-04-01-preview | +| `Microsoft.Resources/deployments` | 2020-06-01 | ## Parameters From 57795929aecbd613a7d4b9abca9ae4c23704fc19 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 14 Oct 2021 14:05:20 +0200 Subject: [PATCH 074/260] avset bicep push --- .../workflows/ms.compute.availabilitysets.yml | 42 ++++++++++++++++--- 1 file changed, 37 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index d4208d1dc4..30bb1de1b5 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -15,15 +15,45 @@ on: description: 'The version to enforce if [versionOption] is set to [custom]' required: false default: '0.0.1' + push: + branches: + - main + paths: + - '.github/actions/templates/**' + - '.github/workflows/ms.compute.availabilitysets.yml' + - 'arm/Microsoft.Compute/availabilitySets/**' + - '!arm/Microsoft.Compute/availabilitySets/readme.md' env: - moduleName: 'images' + moduleName: 'availabilitySets' modulePath: 'arm/Microsoft.Compute/availabilitySets' + workflowPath: '.github/workflows/ms.compute.availabilitysets.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} jobs: + ############################ + # SET INPUT PARAMETERS # + ############################ + job_set_workflow_param: + runs-on: ubuntu-20.04 + name: "Set input parameters to output variables" + steps: + - name: "Checkout" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: "Set input parameters" + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + outputs: + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} + customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + ################## # UNIT TESTS # ################## @@ -95,6 +125,7 @@ jobs: runs-on: ubuntu-20.04 name: 'Deploy module' needs: + - job_set_workflow_param - job_tests_module_global - job_tests_module_global_api - job_tests_module_deploy_validate @@ -122,7 +153,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ github.event.inputs.removeDeployment }}' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' ############### # PUBLISH # @@ -132,6 +163,7 @@ jobs: if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) runs-on: ubuntu-20.04 needs: + - job_set_workflow_param - job_deploy_module steps: - name: 'Checkout' @@ -152,8 +184,8 @@ jobs: componentTemplateSpecName: '${{ env.moduleName }}' componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' - versioningOption: '${{ github.event.inputs.versioningOption }}' - customVersion: '${{ github.event.inputs.customVersion }}' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' ############## # REMOVE # @@ -161,7 +193,7 @@ jobs: job_remove_module: runs-on: ubuntu-20.04 name: 'Remove module' - if: ${{ always() && !cancelled() && github.event.inputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} + if: ${{ always() && !cancelled() && needs.job_set_workflow_param.outputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} needs: - job_deploy_module steps: From d6b12a1d6ee019db9b48149ba595407c69ca4e3e Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 15 Oct 2021 00:11:33 +0200 Subject: [PATCH 075/260] proximity placement group --- .../ms.compute.proximityPlacementGroups.yml | 214 ++++++++++++++++++ .../.bicep/nested_cuaId.bicep | 0 .../.bicep/nested_rbac.bicep | 11 + .../proximityPlacementGroups/deploy.bicep | 81 +++++++ .../parameters/parameters.json | 9 + .../proximityPlacementGroups/readme.md | 89 ++++++++ 6 files changed, 404 insertions(+) create mode 100644 .github/workflows/ms.compute.proximityPlacementGroups.yml create mode 100644 arm/Microsoft.Compute/proximityPlacementGroups/.bicep/nested_cuaId.bicep create mode 100644 arm/Microsoft.Compute/proximityPlacementGroups/.bicep/nested_rbac.bicep create mode 100644 arm/Microsoft.Compute/proximityPlacementGroups/deploy.bicep create mode 100644 arm/Microsoft.Compute/proximityPlacementGroups/parameters/parameters.json create mode 100644 arm/Microsoft.Compute/proximityPlacementGroups/readme.md diff --git a/.github/workflows/ms.compute.proximityPlacementGroups.yml b/.github/workflows/ms.compute.proximityPlacementGroups.yml new file mode 100644 index 0000000000..d9e88d1b6d --- /dev/null +++ b/.github/workflows/ms.compute.proximityPlacementGroups.yml @@ -0,0 +1,214 @@ +name: 'Compute: ProximityPlacementGroups' + +on: + workflow_dispatch: + inputs: + removeDeployment: + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + description: 'The mode to handle the version increments [major|minor|patch|custom]' + required: false + default: 'patch' + customVersion: + description: 'The version to enforce if [versionOption] is set to [custom]' + required: false + default: '0.0.1' + push: + branches: + - main + paths: + - '.github/actions/templates/**' + - '.github/workflows/ms.compute.proximityPlacementGroups.yml' + - 'arm/Microsoft.Compute/proximityPlacementGroups/**' + - '!arm/Microsoft.Compute/proximityPlacementGroups/readme.md' + +env: + moduleName: 'proximityPlacementGroups' + modulePath: 'arm/Microsoft.Compute/proximityPlacementGroups' + workflowPath: '.github/workflows/ms.compute.proximityPlacementGroups.yml' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} + ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} + +jobs: + ############################ + # SET INPUT PARAMETERS # + ############################ + job_set_workflow_param: + runs-on: ubuntu-20.04 + name: 'Set input parameters to output variables' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Set input parameters' + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + outputs: + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} + customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + + ################## + # UNIT TESTS # + ################## + # Global tests + # ------------ + job_tests_module_global: + runs-on: ubuntu-20.04 + name: 'Run global module tests' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Test module' + uses: ./.github/actions/templates/validateModuleGeneral + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + + # Global API tests + # ---------------- + job_tests_module_global_api: + runs-on: ubuntu-20.04 + name: 'Run global API module tests' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Test module' + uses: ./.github/actions/templates/validateModuleApis + with: + modulePath: '${{ env.modulePath }}' + moduleName: '${{ env.moduleName}}' + + # Validate deployment module tests + # -------------------------------- + job_tests_module_deploy_validate: + runs-on: ubuntu-20.04 + name: 'Run deployment validation module tests' + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: 'Test module' + uses: ./.github/actions/templates/validateModuleDeploy + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + + #################### + # DEPLOY TESTS # + #################### + job_deploy_module: + runs-on: ubuntu-20.04 + name: 'Deploy module' + needs: + - job_set_workflow_param + - job_tests_module_global + - job_tests_module_global_api + - job_tests_module_deploy_validate + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: 'Deploy module' + uses: ./.github/actions/templates/deployModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + parameterFilePath: '${{ env.modulePath }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + + ############### + # PUBLISH # + ############### + job_publish_module: + name: 'Publish module' + if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + runs-on: ubuntu-20.04 + needs: + - job_set_workflow_param + - job_deploy_module + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: 'Publish module' + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + componentTemplateSpecRGName: '${{ env.componentTemplateSpecRGName }}' + componentTemplateSpecRGLocation: '${{ env.componentTemplateSpecRGLocation }}' + componentTemplateSpecName: '${{ env.moduleName }}' + componentTemplateSpecDescription: '${{ env.componentTemplateSpecDescription }}' + publishToTemplateSpec: '${{ env.publishToTemplateSpec }}' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + + ############## + # REMOVE # + ############## + job_remove_module: + runs-on: ubuntu-20.04 + name: 'Remove module' + if: ${{ always() && !cancelled() && needs.job_set_workflow_param.outputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} + needs: + - job_deploy_module + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + # Name of variable file + variableFileName: 'variables.module' # Don't write .json here + - name: 'Remove module' + uses: ./.github/actions/templates/removeModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + resourceGroupName: '${{ env.resourceGroupName }}' diff --git a/arm/Microsoft.Compute/proximityPlacementGroups/.bicep/nested_cuaId.bicep b/arm/Microsoft.Compute/proximityPlacementGroups/.bicep/nested_cuaId.bicep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/arm/Microsoft.Compute/proximityPlacementGroups/.bicep/nested_rbac.bicep b/arm/Microsoft.Compute/proximityPlacementGroups/.bicep/nested_rbac.bicep new file mode 100644 index 0000000000..ae8894c71d --- /dev/null +++ b/arm/Microsoft.Compute/proximityPlacementGroups/.bicep/nested_rbac.bicep @@ -0,0 +1,11 @@ +param roleAssignmentObj object +param builtInRoleNames object +param resourceName string + +resource roleAssigment 'Microsoft.Compute/proximityPlacementGroups/providers/roleAssignments@2020-04-01-preview' = [for principalId in roleAssignmentObj.principalIds: { + name: '${resourceName}/Microsoft.Authorization/${guid(resourceName, principalId, roleAssignmentObj.roleDefinitionIdOrName)}' + properties: { + roleDefinitionId: (contains(builtInRoleNames, roleAssignmentObj.roleDefinitionIdOrName) ? builtInRoleNames[roleAssignmentObj.roleDefinitionIdOrName] : roleAssignmentObj.roleDefinitionIdOrName) + principalId: principalId + } +}] diff --git a/arm/Microsoft.Compute/proximityPlacementGroups/deploy.bicep b/arm/Microsoft.Compute/proximityPlacementGroups/deploy.bicep new file mode 100644 index 0000000000..e41e79f709 --- /dev/null +++ b/arm/Microsoft.Compute/proximityPlacementGroups/deploy.bicep @@ -0,0 +1,81 @@ +@description('Required. The name of the proximity placement group that is being created.') +param proximityPlacementGroupName string = '' + +@description('Optional. Specifies the type of the proximity placement group.') +@allowed([ + 'Standard' + 'Ultra' +]) +param proximityPlacementGroupType string = 'Standard' + +@description('Optional. Resource location.') +param location string = resourceGroup().location + +@description('Optional. Switch to lock the proximity placement group from deletion.') +param lockForDeletion bool = false + +@description('Optional. Array of role assignment objects that contain the \'roleDefinitionIdOrName\' and \'principalId\' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: \'/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11\'') +param roleAssignments array = [] + +@description('Optional. Tags of the proximity placement group resource.') +param tags object = {} + +@description('Optional. Customer Usage Attribution id (GUID). This GUID must be previously registered') +param cuaId string = '' + +var builtInRoleNames = { + 'Owner': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '8e3af657-a8ff-443c-a75c-2fe8c4bcb635') + 'Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b24988ac-6180-42a0-ab88-20f7382dd24c') + 'Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'acdd72a7-3385-48ef-bd42-f606fba81ae7') + 'Avere Cluster Create': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'a7b1b19a-0e83-4fe5-935c-faaefbfd18c3') + 'Avere Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '4f8fab4f-1852-4a58-a46a-8eaf358af14a') + 'Azure Service Deploy Release Management Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '21d96096-b162-414a-8302-d8354f9d91b2') + 'CAL-Custom-Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '7b266cd7-0bba-4ae2-8423-90ede5e1e898') + 'Log Analytics Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '92aaf0da-9dab-42b6-94a3-d43ce8d16293') + 'Log Analytics Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '73c42c96-874c-492b-b04d-ab87d138a893') + 'Managed Application Contributor Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '641177b8-a67a-45b9-a033-47bc880bb21e') + 'Managed Application Operator Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'c7393b34-138c-406f-901b-d8cf2b17e6ae') + 'Managed Applications Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b9331d33-8a36-4f8c-b097-4f54124fdb44') + 'masterreader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'a48d7796-14b4-4889-afef-fbb65a93e5a2') + 'Monitoring Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '749f88d5-cbae-40b8-bcfc-e573ddc772fa') + 'Monitoring Metrics Publisher': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '3913510d-42f4-4e42-8a64-420c390055eb') + 'Monitoring Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '43d0d8ad-25c7-4714-9337-8ba259a9fe05') + 'Reservation Purchaser': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'f7b75c60-3036-4b75-91c3-6b41c27c1689') + 'Resource Policy Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '36243c78-bf99-498c-9df9-86d9f8d28608') + 'User Access Administrator': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '18d7d88d-d35e-4fb5-a5c3-7773c20a72d9') +} + +module pid_cuaId './.bicep/nested_cuaId.bicep' = if (!empty(cuaId)) { + name: 'pid-${cuaId}' + params: {} +} + +resource proximityPlacementGroup 'Microsoft.Compute/proximityPlacementGroups@2021-04-01' = { + name: proximityPlacementGroupName + location: location + tags: tags + properties: { + proximityPlacementGroupType: proximityPlacementGroupType + } +} + +resource proximityPlacementGroup_lock 'Microsoft.Authorization/locks@2016-09-01' = if (lockForDeletion) { + name: '${proximityPlacementGroup.name}-DoNotDelete' + properties: { + level: 'CanNotDelete' + } + scope: proximityPlacementGroup +} + +module proximityPlacementGroup_rbac './.bicep/nested_rbac.bicep' = [for (roleAssignment, index) in roleAssignments: { + name: 'rbac-${deployment().name}${index}' + params: { + roleAssignmentObj: roleAssignment + builtInRoleNames: builtInRoleNames + resourceName: proximityPlacementGroup.name + } +}] + +output proximityPlacementGroupResourceName string = proximityPlacementGroup.name +output proximityPlacementGroupResourceId string = proximityPlacementGroup.id +output proximityPlacementGroupResourceGroup string = resourceGroup().name diff --git a/arm/Microsoft.Compute/proximityPlacementGroups/parameters/parameters.json b/arm/Microsoft.Compute/proximityPlacementGroups/parameters/parameters.json new file mode 100644 index 0000000000..44586917d8 --- /dev/null +++ b/arm/Microsoft.Compute/proximityPlacementGroups/parameters/parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "proximityPlacementGroupName": { + "value": "sxx-az-ppg-weu-x-001" + } + } +} diff --git a/arm/Microsoft.Compute/proximityPlacementGroups/readme.md b/arm/Microsoft.Compute/proximityPlacementGroups/readme.md new file mode 100644 index 0000000000..87762f0945 --- /dev/null +++ b/arm/Microsoft.Compute/proximityPlacementGroups/readme.md @@ -0,0 +1,89 @@ +# ProximityPlacementGroup + +This template deploys a Proximity Placement Group + +## Resource types + +| Resource Type | ApiVersion | +| :--------------------------------------------------------------------- | :----------------- | +| `Microsoft.Compute/proximityPlacementGroups` | 2021-04-01 | +| `Microsoft.Authorization/locks` | 2016-09-01 | +| `Microsoft.Compute/proximityPlacementGroups/providers/roleAssignments` | 2020-04-01-preview | +| `Microsoft.Resources/deployments` | 2020-06-01 | + +## Parameters + +| Parameter Name | Type | Default Value | Possible values | Description | +| :---------------------------- | :----- | :------------ | :---------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `proximityPlacementGroupName` | string | | | Required. The name of the proximity placement group that is being created. | +| `proximityPlacementGroupType` | string | `Standard` | `Standard`/`Ultra` | Optional. Specifies the type of the proximity placement group. | +| `location` | string | | | Optional. Resource location. | +| `lockForDeletion` | bool | `false` | | Optional. Switch to lock the proximity placement group from deletion. | +| `roleAssignments` | array | [] | Complex structure, see below. | Optional. Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or it's fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11' | +| `tags` | object | | | Optional. Tags of the proximity placement group resource. | +| `cuaId` | string | "" | | Optional. Customer Usage Attribution id (GUID). This GUID must be previously registered. | + +### Parameter Usage: `lockForDeletion` + +Switch to lock Proximity Placement Group from deletion. + +```json +"lockForDeletion": { + "value": true +} +``` + +### Parameter Usage: `roleAssignments` + +```json +"roleAssignments": { + "value": [ + { + "roleDefinitionIdOrName": "Reader", + "principalIds": [ + "12345678-1234-1234-1234-123456789012", // object 1 + "78945612-1234-1234-1234-123456789012" // object 2 + ] + }, + { + "roleDefinitionIdOrName": "/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11", + "principalIds": [ + "12345678-1234-1234-1234-123456789012" // object 1 + ] + } + ] +} +``` + +### Parameter Usage: `tags` + +Tag names and tag values can be provided as needed. A tag can be left without a value. + +```json +"tags": { + "value": { + "Environment": "Non-Prod", + "Contact": "test.user@testcompany.com", + "PurchaseOrder": "1234", + "CostCenter": "7890", + "ServiceName": "DeploymentValidation", + "Role": "DeploymentValidation" + } +} +``` + +## Outputs + +| Output Name | Type | Description | +| :------------------------------------- | :----- | :---------------------------------------------------------------- | +| `proximityPlacementGroupResourceName` | string | The Name of the Proximity Placement Group. | +| `proximityPlacementGroupResourceId` | string | The Resource Id of the Proximity Placement Group. | +| `proximityPlacementGroupResourceGroup` | string | The Resource Group the Proximity Placement Group was deployed to. | + +## Considerations + +N/A + +## Additional resources + +- [Microsoft.Compute proximityPlacementGroups template reference](https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/proximityPlacementGroups) From fb18fc7f9e57948bea911094d7bd7da0c3686b41 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 15 Oct 2021 09:53:20 +0200 Subject: [PATCH 076/260] lowercase workflow --- .github/workflows/ms.compute.proximityPlacementGroups.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ms.compute.proximityPlacementGroups.yml b/.github/workflows/ms.compute.proximityPlacementGroups.yml index d9e88d1b6d..6e65cd5841 100644 --- a/.github/workflows/ms.compute.proximityPlacementGroups.yml +++ b/.github/workflows/ms.compute.proximityPlacementGroups.yml @@ -20,14 +20,14 @@ on: - main paths: - '.github/actions/templates/**' - - '.github/workflows/ms.compute.proximityPlacementGroups.yml' + - '.github/workflows/ms.compute.proximityplacementgroups.yml' - 'arm/Microsoft.Compute/proximityPlacementGroups/**' - '!arm/Microsoft.Compute/proximityPlacementGroups/readme.md' env: moduleName: 'proximityPlacementGroups' modulePath: 'arm/Microsoft.Compute/proximityPlacementGroups' - workflowPath: '.github/workflows/ms.compute.proximityPlacementGroups.yml' + workflowPath: '.github/workflows/ms.compute.proximityplacementgroups.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} From 3ddb46230826cde4ba8c053042e0464c90ee0dc3 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 15 Oct 2021 10:45:00 +0200 Subject: [PATCH 077/260] temp change --- ...entGroups.yml => ms.compute.proximityplacementgroups1.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{ms.compute.proximityPlacementGroups.yml => ms.compute.proximityplacementgroups1.yml} (98%) diff --git a/.github/workflows/ms.compute.proximityPlacementGroups.yml b/.github/workflows/ms.compute.proximityplacementgroups1.yml similarity index 98% rename from .github/workflows/ms.compute.proximityPlacementGroups.yml rename to .github/workflows/ms.compute.proximityplacementgroups1.yml index 6e65cd5841..de751d99ae 100644 --- a/.github/workflows/ms.compute.proximityPlacementGroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups1.yml @@ -20,14 +20,14 @@ on: - main paths: - '.github/actions/templates/**' - - '.github/workflows/ms.compute.proximityplacementgroups.yml' + - '.github/workflows/ms.compute.proximityplacementgroups1.yml' - 'arm/Microsoft.Compute/proximityPlacementGroups/**' - '!arm/Microsoft.Compute/proximityPlacementGroups/readme.md' env: moduleName: 'proximityPlacementGroups' modulePath: 'arm/Microsoft.Compute/proximityPlacementGroups' - workflowPath: '.github/workflows/ms.compute.proximityplacementgroups.yml' + workflowPath: '.github/workflows/ms.compute.proximityplacementgroups1.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} From 98a982c490cb4c85cd8bf7c1e43309fd3b63b47a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 15 Oct 2021 11:40:35 +0200 Subject: [PATCH 078/260] change back --- ...entgroups1.yml => ms.compute.proximityplacementgroups.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{ms.compute.proximityplacementgroups1.yml => ms.compute.proximityplacementgroups.yml} (98%) diff --git a/.github/workflows/ms.compute.proximityplacementgroups1.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml similarity index 98% rename from .github/workflows/ms.compute.proximityplacementgroups1.yml rename to .github/workflows/ms.compute.proximityplacementgroups.yml index de751d99ae..6e65cd5841 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups1.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -20,14 +20,14 @@ on: - main paths: - '.github/actions/templates/**' - - '.github/workflows/ms.compute.proximityplacementgroups1.yml' + - '.github/workflows/ms.compute.proximityplacementgroups.yml' - 'arm/Microsoft.Compute/proximityPlacementGroups/**' - '!arm/Microsoft.Compute/proximityPlacementGroups/readme.md' env: moduleName: 'proximityPlacementGroups' modulePath: 'arm/Microsoft.Compute/proximityPlacementGroups' - workflowPath: '.github/workflows/ms.compute.proximityplacementgroups1.yml' + workflowPath: '.github/workflows/ms.compute.proximityplacementgroups.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} From 022604db1e1f454e7d58a933a9b3f3766d97ef5c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 25 Oct 2021 10:54:37 +0200 Subject: [PATCH 079/260] dependency pipeline --- .github/workflows/utility.dependencies.yml | 81 +++++++++++++++++++ .../parameters/artifacts.parameters.json | 9 +++ .../parameters/dependencies.parameters.json | 9 +++ .../parameters/validation.parameters.json | 9 +++ 4 files changed, 108 insertions(+) create mode 100644 .github/workflows/utility.dependencies.yml create mode 100644 dependencies/Microsoft.Resources/resourceGroups/parameters/artifacts.parameters.json create mode 100644 dependencies/Microsoft.Resources/resourceGroups/parameters/dependencies.parameters.json create mode 100644 dependencies/Microsoft.Resources/resourceGroups/parameters/validation.parameters.json diff --git a/.github/workflows/utility.dependencies.yml b/.github/workflows/utility.dependencies.yml new file mode 100644 index 0000000000..7e4375a0fb --- /dev/null +++ b/.github/workflows/utility.dependencies.yml @@ -0,0 +1,81 @@ +name: '.Utility: Dependencies' + +on: + workflow_dispatch: + # inputs: + # removeDeployment: + # description: 'Remove deployed module' + # required: false + # default: 'false' + + # push: + # branches: + # - main + # paths: + # - '.github/actions/templates/**' + # - '.github/workflows/utility.dependencies.yml' + # - 'dependencies/**' + +env: + workflowPath: '.github/workflows/utility.dependencies.yml' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} + ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} + +jobs: + job_deploy_rg: + runs-on: ubuntu-20.04 + name: 'Deploy resource group' + env: + moduleName: resourceGroups + namespace: 'Microsoft.Resources\resourceGroups' + defaultLocation: 'WestEurope' + resourceGroupName: 'validation-rg' + # needs: + # - job_set_workflow_param + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/deployModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: 'dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + + ############## + # REMOVE # + ############## + # job_remove_module: + # runs-on: ubuntu-20.04 + # name: 'Remove module' + # if: ${{ always() && !cancelled() && needs.job_set_workflow_param.outputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} + # needs: + # - job_deploy_rg + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # # Name of variable file + # variableFileName: 'variables.module' # Don't write .json here + # - name: 'Remove module' + # uses: ./.github/actions/templates/removeModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: '${{ env.modulePath }}/deploy.bicep' + # resourceGroupName: '${{ env.resourceGroupName }}' diff --git a/dependencies/Microsoft.Resources/resourceGroups/parameters/artifacts.parameters.json b/dependencies/Microsoft.Resources/resourceGroups/parameters/artifacts.parameters.json new file mode 100644 index 0000000000..c7019fdf5f --- /dev/null +++ b/dependencies/Microsoft.Resources/resourceGroups/parameters/artifacts.parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "resourceGroupName": { + "value": "artifacts-rg" + } + } +} diff --git a/dependencies/Microsoft.Resources/resourceGroups/parameters/dependencies.parameters.json b/dependencies/Microsoft.Resources/resourceGroups/parameters/dependencies.parameters.json new file mode 100644 index 0000000000..32823e18f3 --- /dev/null +++ b/dependencies/Microsoft.Resources/resourceGroups/parameters/dependencies.parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "resourceGroupName": { + "value": "dependencies-rg" + } + } +} diff --git a/dependencies/Microsoft.Resources/resourceGroups/parameters/validation.parameters.json b/dependencies/Microsoft.Resources/resourceGroups/parameters/validation.parameters.json new file mode 100644 index 0000000000..be0708cff7 --- /dev/null +++ b/dependencies/Microsoft.Resources/resourceGroups/parameters/validation.parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "resourceGroupName": { + "value": "validation-rg" + } + } +} From 3e3743421335e48232158eee01e82578f3b77bc3 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 25 Oct 2021 10:59:20 +0200 Subject: [PATCH 080/260] dependency pipeline param --- .github/workflows/utility.dependencies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/utility.dependencies.yml b/.github/workflows/utility.dependencies.yml index 7e4375a0fb..ebf53fa720 100644 --- a/.github/workflows/utility.dependencies.yml +++ b/.github/workflows/utility.dependencies.yml @@ -36,7 +36,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ['parameters.json'] + parameterFilePaths: ['*.parameters.json'] steps: - name: 'Checkout' uses: actions/checkout@v2 From 2e60d2005b033df525336a86ad34fe9c1699d6a8 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 25 Oct 2021 11:07:54 +0200 Subject: [PATCH 081/260] dependency pipeline param list --- .github/workflows/utility.dependencies.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/utility.dependencies.yml b/.github/workflows/utility.dependencies.yml index ebf53fa720..fd3eaef5fe 100644 --- a/.github/workflows/utility.dependencies.yml +++ b/.github/workflows/utility.dependencies.yml @@ -36,7 +36,12 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ['*.parameters.json'] + parameterFilePaths: + [ + 'artifacts.parameters.json', + 'dependencies.parameters.json', + 'validation.parameters.json', + ] steps: - name: 'Checkout' uses: actions/checkout@v2 From 45e7026af8e5a001ee9a599866e0ef96767927cc Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 25 Oct 2021 11:27:52 +0200 Subject: [PATCH 082/260] msi param list --- .github/workflows/utility.dependencies.yml | 65 +++++++++---------- .../parameters/parameters.json | 9 +++ 2 files changed, 38 insertions(+), 36 deletions(-) create mode 100644 dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json diff --git a/.github/workflows/utility.dependencies.yml b/.github/workflows/utility.dependencies.yml index fd3eaef5fe..6c4e7653c8 100644 --- a/.github/workflows/utility.dependencies.yml +++ b/.github/workflows/utility.dependencies.yml @@ -2,11 +2,6 @@ name: '.Utility: Dependencies' on: workflow_dispatch: - # inputs: - # removeDeployment: - # description: 'Remove deployed module' - # required: false - # default: 'false' # push: # branches: @@ -17,7 +12,8 @@ on: # - 'dependencies/**' env: - workflowPath: '.github/workflows/utility.dependencies.yml' + defaultLocation: 'WestEurope' + resourceGroupName: 'validation-rg' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} @@ -29,10 +25,6 @@ jobs: env: moduleName: resourceGroups namespace: 'Microsoft.Resources\resourceGroups' - defaultLocation: 'WestEurope' - resourceGroupName: 'validation-rg' - # needs: - # - job_set_workflow_param strategy: fail-fast: false matrix: @@ -57,30 +49,31 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - ############## - # REMOVE # - ############## - # job_remove_module: - # runs-on: ubuntu-20.04 - # name: 'Remove module' - # if: ${{ always() && !cancelled() && needs.job_set_workflow_param.outputs.removeDeployment == 'true' && (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) }} - # needs: - # - job_deploy_rg - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # # Name of variable file - # variableFileName: 'variables.module' # Don't write .json here - # - name: 'Remove module' - # uses: ./.github/actions/templates/removeModule - # with: - # moduleName: '${{ env.moduleName }}' - # templateFilePath: '${{ env.modulePath }}/deploy.bicep' - # resourceGroupName: '${{ env.resourceGroupName }}' + job_deploy_msi: + runs-on: ubuntu-20.04 + name: 'Deploy resource group' + env: + moduleName: userAssignedIdentities + namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/deployModule + with: + moduleName: '${{ env.moduleName }}' + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: 'dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' diff --git a/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json b/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json new file mode 100644 index 0000000000..df25ff0b77 --- /dev/null +++ b/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "userMsiName": { + "value": "adp-sxx-az-msi-weu-x-001" + } + } +} From 92b17a68deee14b4ba19bb85bc19b4e15673fff4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 25 Oct 2021 11:36:54 +0200 Subject: [PATCH 083/260] msi job name --- .github/workflows/utility.dependencies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/utility.dependencies.yml b/.github/workflows/utility.dependencies.yml index 6c4e7653c8..b3470f900d 100644 --- a/.github/workflows/utility.dependencies.yml +++ b/.github/workflows/utility.dependencies.yml @@ -52,7 +52,7 @@ jobs: job_deploy_msi: runs-on: ubuntu-20.04 - name: 'Deploy resource group' + name: 'Deploy user assigned identity' env: moduleName: userAssignedIdentities namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' From 6a1526e9a31c8de0acadbfbc203a69197fddea36 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 25 Oct 2021 14:29:58 +0200 Subject: [PATCH 084/260] workflow rename --- .../{utility.dependencies.yml => platform.dependencies.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{utility.dependencies.yml => platform.dependencies.yml} (98%) diff --git a/.github/workflows/utility.dependencies.yml b/.github/workflows/platform.dependencies.yml similarity index 98% rename from .github/workflows/utility.dependencies.yml rename to .github/workflows/platform.dependencies.yml index b3470f900d..422223fdd0 100644 --- a/.github/workflows/utility.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -1,4 +1,4 @@ -name: '.Utility: Dependencies' +name: '.Platform: Dependencies' on: workflow_dispatch: From 7a7285f2e4f4334665e606e2ab385f1f03649f4a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 25 Oct 2021 14:31:42 +0200 Subject: [PATCH 085/260] workflow rename push path --- .github/workflows/platform.dependencies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 422223fdd0..d51b4cedbf 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -8,7 +8,7 @@ on: # - main # paths: # - '.github/actions/templates/**' - # - '.github/workflows/utility.dependencies.yml' + # - '.github/workflows/platform.dependencies.yml' # - 'dependencies/**' env: From 41924b4a217dddea179e1f926a1c7ba2039a8998 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 25 Oct 2021 14:33:40 +0200 Subject: [PATCH 086/260] remove dependencies rg --- .github/workflows/platform.dependencies.yml | 6 +----- .../parameters/dependencies.parameters.json | 9 --------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 dependencies/Microsoft.Resources/resourceGroups/parameters/dependencies.parameters.json diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index d51b4cedbf..a14661bb8f 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -29,11 +29,7 @@ jobs: fail-fast: false matrix: parameterFilePaths: - [ - 'artifacts.parameters.json', - 'dependencies.parameters.json', - 'validation.parameters.json', - ] + ['artifacts.parameters.json', 'validation.parameters.json'] steps: - name: 'Checkout' uses: actions/checkout@v2 diff --git a/dependencies/Microsoft.Resources/resourceGroups/parameters/dependencies.parameters.json b/dependencies/Microsoft.Resources/resourceGroups/parameters/dependencies.parameters.json deleted file mode 100644 index 32823e18f3..0000000000 --- a/dependencies/Microsoft.Resources/resourceGroups/parameters/dependencies.parameters.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "resourceGroupName": { - "value": "dependencies-rg" - } - } -} From 2c75807a6c26f9477aec9117ee23483b3db3d3eb Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 2 Nov 2021 20:49:12 +0100 Subject: [PATCH 087/260] kv secrets --- .github/workflows/platform.dependencies.yml | 1205 +++++++++-------- .../vaults/parameters/parameters.json | 114 +- 2 files changed, 679 insertions(+), 640 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index b8078229b2..c7a7839e16 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -20,484 +20,484 @@ env: ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} jobs: - job_deploy_rg: - runs-on: ubuntu-20.04 - name: 'Deploy resource group' - env: - moduleName: resourceGroups - namespace: 'Microsoft.Resources\resourceGroups' - strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['artifacts.parameters.json', 'validation.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_rg: + # runs-on: ubuntu-20.04 + # name: 'Deploy resource group' + # env: + # moduleName: resourceGroups + # namespace: 'Microsoft.Resources\resourceGroups' + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # ['artifacts.parameters.json', 'validation.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_msi: - runs-on: ubuntu-20.04 - name: 'Deploy user assigned identity' - env: - moduleName: userAssignedIdentities - namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_msi: + # runs-on: ubuntu-20.04 + # name: 'Deploy user assigned identity' + # env: + # moduleName: userAssignedIdentities + # namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_evhns: - runs-on: ubuntu-20.04 - name: 'Deploy eventhub namespace' - env: - moduleName: namespaces - namespace: 'Microsoft.EventHub\namespaces' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_evhns: + # runs-on: ubuntu-20.04 + # name: 'Deploy eventhub namespace' + # env: + # moduleName: namespaces + # namespace: 'Microsoft.EventHub\namespaces' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_law: - runs-on: ubuntu-20.04 - name: 'Deploy log analytics workspace' - env: - moduleName: workspaces - namespace: 'Microsoft.OperationalInsights\workspaces' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_law: + # runs-on: ubuntu-20.04 + # name: 'Deploy log analytics workspace' + # env: + # moduleName: workspaces + # namespace: 'Microsoft.OperationalInsights\workspaces' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_sa: - runs-on: ubuntu-20.04 - name: 'Deploy storage account' - env: - moduleName: storageAccounts - namespace: 'Microsoft.Storage\storageAccounts' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['fa.parameters.json', 'parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_sa: + # runs-on: ubuntu-20.04 + # name: 'Deploy storage account' + # env: + # moduleName: storageAccounts + # namespace: 'Microsoft.Storage\storageAccounts' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['fa.parameters.json', 'parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_sig: - runs-on: ubuntu-20.04 - name: 'Deploy shared image gallery' - env: - moduleName: galleries - namespace: 'Microsoft.Compute\galleries' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_sig: + # runs-on: ubuntu-20.04 + # name: 'Deploy shared image gallery' + # env: + # moduleName: galleries + # namespace: 'Microsoft.Compute\galleries' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_nw: - runs-on: ubuntu-20.04 - name: 'Deploy network watchers' - env: - moduleName: networkWatchers - namespace: 'Microsoft.Network\networkWatchers' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_nw: + # runs-on: ubuntu-20.04 + # name: 'Deploy network watchers' + # env: + # moduleName: networkWatchers + # namespace: 'Microsoft.Network\networkWatchers' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_ag: - runs-on: ubuntu-20.04 - name: 'Deploy action groups' - env: - moduleName: actionGroups - namespace: 'Microsoft.Insights\actionGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_ag: + # runs-on: ubuntu-20.04 + # name: 'Deploy action groups' + # env: + # moduleName: actionGroups + # namespace: 'Microsoft.Insights\actionGroups' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_asg: - runs-on: ubuntu-20.04 - name: 'Deploy application security groups' - env: - moduleName: applicationSecurityGroups - namespace: 'Microsoft.Network\applicationSecurityGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_asg: + # runs-on: ubuntu-20.04 + # name: 'Deploy application security groups' + # env: + # moduleName: applicationSecurityGroups + # namespace: 'Microsoft.Network\applicationSecurityGroups' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_asp: - runs-on: ubuntu-20.04 - name: 'Deploy serverfarms' - env: - moduleName: serverfarms - namespace: 'Microsoft.Web\serverfarms' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_asp: + # runs-on: ubuntu-20.04 + # name: 'Deploy serverfarms' + # env: + # moduleName: serverfarms + # namespace: 'Microsoft.Web\serverfarms' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_udr: - runs-on: ubuntu-20.04 - name: 'Deploy route tables' - env: - moduleName: routeTables - namespace: 'Microsoft.Network\routeTables' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_udr: + # runs-on: ubuntu-20.04 + # name: 'Deploy route tables' + # env: + # moduleName: routeTables + # namespace: 'Microsoft.Network\routeTables' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_evh: - runs-on: ubuntu-20.04 - name: 'Deploy eventhub' - env: - moduleName: eventhubs - namespace: 'Microsoft.EventHub\namespacesResources\eventhubs' - needs: - - job_deploy_evhns - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_evh: + # runs-on: ubuntu-20.04 + # name: 'Deploy eventhub' + # env: + # moduleName: eventhubs + # namespace: 'Microsoft.EventHub\namespacesResources\eventhubs' + # needs: + # - job_deploy_evhns + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_nsg: - runs-on: ubuntu-20.04 - name: 'Deploy network security groups' - env: - moduleName: networkSecurityGroups - namespace: 'Microsoft.Network\networkSecurityGroups' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - 'apgw.parameters.json', - 'ase.parameters.json', - 'bastion.parameters.json', - 'sqlmi.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_nsg: + # runs-on: ubuntu-20.04 + # name: 'Deploy network security groups' + # env: + # moduleName: networkSecurityGroups + # namespace: 'Microsoft.Network\networkSecurityGroups' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # [ + # 'apgw.parameters.json', + # 'ase.parameters.json', + # 'bastion.parameters.json', + # 'sqlmi.parameters.json', + # 'parameters.json', + # ] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_pip: - runs-on: ubuntu-20.04 - name: 'Deploy public IP addresses' - env: - moduleName: publicIPAddresses - namespace: 'Microsoft.Network\publicIPAddresses' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['apgw.parameters.json', 'bas.parameters.json', 'lb.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_pip: + # runs-on: ubuntu-20.04 + # name: 'Deploy public IP addresses' + # env: + # moduleName: publicIPAddresses + # namespace: 'Microsoft.Network\publicIPAddresses' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # ['apgw.parameters.json', 'bas.parameters.json', 'lb.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_apim: - runs-on: ubuntu-20.04 - name: 'Deploy api management service' - env: - moduleName: service - namespace: 'Microsoft.ApiManagement\service' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_apim: + # runs-on: ubuntu-20.04 + # name: 'Deploy api management service' + # env: + # moduleName: service + # namespace: 'Microsoft.ApiManagement\service' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_appi: - runs-on: ubuntu-20.04 - name: 'Deploy application insight' - env: - moduleName: components - namespace: 'Microsoft.Insights\components' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_appi: + # runs-on: ubuntu-20.04 + # name: 'Deploy application insight' + # env: + # moduleName: components + # namespace: 'Microsoft.Insights\components' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' job_deploy_kv: runs-on: ubuntu-20.04 @@ -505,10 +505,10 @@ jobs: env: moduleName: vaults namespace: 'Microsoft.KeyVault\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law strategy: fail-fast: false matrix: @@ -530,128 +530,167 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - job_deploy_rolea: + job_deploy_kv_secrets: runs-on: ubuntu-20.04 - name: 'Deploy role assignments' - env: - moduleName: roleAssignments - namespace: 'Microsoft.Authorization\roleAssignments' - needs: - - job_deploy_msi - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] + name: 'Set key vault secrets and keys' + # needs: + # - job_deploy_kv steps: - name: 'Checkout' uses: actions/checkout@v2 with: fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_rbac_sub.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + - name: Azure Login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + enable-AzPSSession: true + - name: Run PowerShell + uses: azure/powershell@v1 + with: + inlineScript: | + $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length + $passwordString = (New-Guid).Guid.SubString(0,19) + $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) + echo $username + $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force + $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force + $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force + # VirtualMachines and VMSS + Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'adminUsername' -SecretValue $username + Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'adminPassword' -SecretValue $password + # Azure SQLServer and SQLManagedInstances + Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'administratorLogin' -SecretValue $username + Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'administratorLoginPassword' -SecretValue $password + # VirtualNetworkGateway + Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'vpnSharedKey' -SecretValue $vpnSharedKey + # DiskEncryptionSet, VirtualMachines and VMSS + # az keyvault key create --vault-name "adp-sxx-az-kv-weu-x-001q" --name "keyEncryptionKey" + # az keyvault key create --vault-name "adp-sxx-az-kv-weu-x-001q" --name "keyEncryptionKeySqlMi" + azPSVersion: 'latest' - job_deploy_sid: - runs-on: ubuntu-20.04 - name: 'Deploy shared image definition' - env: - moduleName: images - namespace: 'Microsoft.Compute\galleriesResources\images' - needs: - - job_deploy_sig - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_rolea: + # runs-on: ubuntu-20.04 + # name: 'Deploy role assignments' + # env: + # moduleName: roleAssignments + # namespace: 'Microsoft.Authorization\roleAssignments' + # needs: + # - job_deploy_msi + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_rbac_sub.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_vnet: - runs-on: ubuntu-20.04 - name: 'Deploy virtual networks' - env: - moduleName: virtualNetworks - namespace: 'Microsoft.Network\virtualNetworks' - needs: - - job_deploy_udr - - job_deploy_nsg - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - '2.vnetpeer01.parameters.json', - '3.vnetpeer02.parameters.json', - '4.azfw.parameters.json', - '5.aks.parameters.json', - '6.sqlmi.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_sid: + # runs-on: ubuntu-20.04 + # name: 'Deploy shared image definition' + # env: + # moduleName: images + # namespace: 'Microsoft.Compute\galleriesResources\images' + # needs: + # - job_deploy_sig + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' - job_deploy_vm: - runs-on: ubuntu-20.04 - name: 'Deploy virtual machines' - env: - moduleName: virtualMachines - namespace: 'Microsoft.Compute\virtualMachines' - needs: - - job_deploy_kv - - job_deploy_vnet - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/deployModule - with: - moduleName: '${{ env.moduleName }}' - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_vnet: + # runs-on: ubuntu-20.04 + # name: 'Deploy virtual networks' + # env: + # moduleName: virtualNetworks + # namespace: 'Microsoft.Network\virtualNetworks' + # needs: + # - job_deploy_udr + # - job_deploy_nsg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # [ + # '2.vnetpeer01.parameters.json', + # '3.vnetpeer02.parameters.json', + # '4.azfw.parameters.json', + # '5.aks.parameters.json', + # '6.sqlmi.parameters.json', + # 'parameters.json', + # ] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_vm: + # runs-on: ubuntu-20.04 + # name: 'Deploy virtual machines' + # env: + # moduleName: virtualMachines + # namespace: 'Microsoft.Compute\virtualMachines' + # needs: + # - job_deploy_kv + # - job_deploy_vnet + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/deployModule + # with: + # moduleName: '${{ env.moduleName }}' + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: 'utilities/dependencies/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' diff --git a/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json b/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json index c4627fba05..71967b263b 100644 --- a/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json +++ b/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json @@ -3,40 +3,40 @@ "contentVersion": "1.0.0.0", "parameters": { "keyVaultName": { - "value": "adp-sxx-az-kv-weu-x-001" + "value": "adp-sxx-az-kv-weu-x-001q" }, "accessPolicies": { "value": [ - { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "objectId": "4b24c6f0-3147-48bc-be02-09d5f99b6290", // Disk Encryption Set needs to permission to Key Vault - "permissions": { - "keys": [ - "Get", - "WrapKey", - "UnwrapKey" - ], - "secrets": [], - "certificates": [] - } - }, // Backup Management Service needs access to back up the keys and secrets, along with the associated VMs - { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "objectId": "f40e18f0-6544-45c2-9d24-639a8bb3b41a", - "permissions": { - "keys": [ - "Get", - "List", - "Backup" - ], - "secrets": [ - "Get", - "List", - "Backup" - ], - "certificates": [] - } - }, + // { + // "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + // "objectId": "4b24c6f0-3147-48bc-be02-09d5f99b6290", // Disk Encryption Set needs to permission to Key Vault + // "permissions": { + // "keys": [ + // "Get", + // "WrapKey", + // "UnwrapKey" + // ], + // "secrets": [], + // "certificates": [] + // } + // }, // Backup Management Service needs access to back up the keys and secrets, along with the associated VMs + // { + // "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + // "objectId": "f40e18f0-6544-45c2-9d24-639a8bb3b41a", + // "permissions": { + // "keys": [ + // "Get", + // "List", + // "Backup" + // ], + // "secrets": [ + // "Get", + // "List", + // "Backup" + // ], + // "certificates": [] + // } + // }, // { // "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", // "objectId": "0ecf68c1-d14d-4890-bafe-a6cab9bda1d7", @@ -52,32 +52,32 @@ // ] // } // }, // adding AAD-IaCS-Azure-Owners to view keys and secrets - { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "objectId": "7fb2b64e-e273-4593-8811-3ced3480df6f", - "permissions": { - "keys": [ - "all" - ], - "secrets": [ - "all" - ], - "certificates": [ - "all" - ] - } - }, // adding adp-sxx-az-msi-weu-x-001 to get secrets - { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "objectId": "5545f7a0-51f4-46af-b3b4-baecf5176a56", - "permissions": { - "keys": [], - "secrets": [ - "Get" - ], - "certificates": [] - } - } + // { + // "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + // "objectId": "7fb2b64e-e273-4593-8811-3ced3480df6f", + // "permissions": { + // "keys": [ + // "all" + // ], + // "secrets": [ + // "all" + // ], + // "certificates": [ + // "all" + // ] + // } + // }, // adding adp-sxx-az-msi-weu-x-001 to get secrets + // { + // "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + // "objectId": "5545f7a0-51f4-46af-b3b4-baecf5176a56", + // "permissions": { + // "keys": [], + // "secrets": [ + // "Get" + // ], + // "certificates": [] + // } + // } ] }, "enablePurgeProtection": { From 8aa2c0df2e7c4a8d727aea05d544667849301a2e Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 2 Nov 2021 20:55:49 +0100 Subject: [PATCH 088/260] kv secrets dep --- .github/workflows/platform.dependencies.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index c7a7839e16..b30da6c6d4 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -533,8 +533,8 @@ jobs: job_deploy_kv_secrets: runs-on: ubuntu-20.04 name: 'Set key vault secrets and keys' - # needs: - # - job_deploy_kv + needs: + - job_deploy_kv steps: - name: 'Checkout' uses: actions/checkout@v2 From b3e529df398a71984edfe5b0e6b336cb91f0a328 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 2 Nov 2021 20:58:23 +0100 Subject: [PATCH 089/260] kv keys --- .github/workflows/platform.dependencies.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index b30da6c6d4..b16138d60d 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -565,8 +565,8 @@ jobs: # VirtualNetworkGateway Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'vpnSharedKey' -SecretValue $vpnSharedKey # DiskEncryptionSet, VirtualMachines and VMSS - # az keyvault key create --vault-name "adp-sxx-az-kv-weu-x-001q" --name "keyEncryptionKey" - # az keyvault key create --vault-name "adp-sxx-az-kv-weu-x-001q" --name "keyEncryptionKeySqlMi" + az keyvault key create --vault-name "adp-sxx-az-kv-weu-x-001q" --name "keyEncryptionKey" + az keyvault key create --vault-name "adp-sxx-az-kv-weu-x-001q" --name "keyEncryptionKeySqlMi" azPSVersion: 'latest' # job_deploy_rolea: From de35fb43481fb98be49cfcf704cae58f86dcd53e Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 2 Nov 2021 21:04:26 +0100 Subject: [PATCH 090/260] kv access policies --- .../vaults/parameters/parameters.json | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json b/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json index 71967b263b..3b06c69a36 100644 --- a/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json +++ b/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json @@ -37,21 +37,22 @@ // "certificates": [] // } // }, - // { - // "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - // "objectId": "0ecf68c1-d14d-4890-bafe-a6cab9bda1d7", - // "permissions": { - // "keys": [ - // "all" - // ], - // "secrets": [ - // "all" - // ], - // "certificates": [ - // "all" - // ] - // } - // }, // adding AAD-IaCS-Azure-Owners to view keys and secrets + { + "tenantId": "766717d1-af36-4f93-bd9a-c6035d2e3382", + "objectId": "d918f6ef-b36f-44c0-a3f6-d912d8e0e275", + "permissions": { + "keys": [ + "all" + ], + "secrets": [ + "all" + ], + "certificates": [ + "all" + ] + } + } + // , // adding AAD-IaCS-Azure-Owners to view keys and secrets // { // "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", // "objectId": "7fb2b64e-e273-4593-8811-3ced3480df6f", From 06e4ff74312e7125575743e52060363414920767 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 2 Nov 2021 21:11:09 +0100 Subject: [PATCH 091/260] kv access policies objId --- .../Microsoft.KeyVault/vaults/parameters/parameters.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json b/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json index 3b06c69a36..1df743eaa1 100644 --- a/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json +++ b/utilities/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json @@ -39,7 +39,7 @@ // }, { "tenantId": "766717d1-af36-4f93-bd9a-c6035d2e3382", - "objectId": "d918f6ef-b36f-44c0-a3f6-d912d8e0e275", + "objectId": "31679c25-1e40-4b02-ab4c-f7672f3b42bc", "permissions": { "keys": [ "all" From eae474849d8d9e9fbc154d2c056195d727b700f0 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 2 Nov 2021 21:30:43 +0100 Subject: [PATCH 092/260] kv secret opt --- .github/workflows/platform.dependencies.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index b16138d60d..fbf6d17b54 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -552,21 +552,21 @@ jobs: $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length $passwordString = (New-Guid).Guid.SubString(0,19) $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - echo $username + $keyVaultName = 'adp-sxx-az-kv-weu-x-001q' $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force # VirtualMachines and VMSS - Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'adminUsername' -SecretValue $username - Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'adminPassword' -SecretValue $password + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminUsername' -SecretValue $username + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminPassword' -SecretValue $password # Azure SQLServer and SQLManagedInstances - Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'administratorLogin' -SecretValue $username - Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'administratorLoginPassword' -SecretValue $password + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password # VirtualNetworkGateway - Set-AzKeyVaultSecret -VaultName 'adp-sxx-az-kv-weu-x-001q' -Name 'vpnSharedKey' -SecretValue $vpnSharedKey + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'vpnSharedKey' -SecretValue $vpnSharedKey # DiskEncryptionSet, VirtualMachines and VMSS - az keyvault key create --vault-name "adp-sxx-az-kv-weu-x-001q" --name "keyEncryptionKey" - az keyvault key create --vault-name "adp-sxx-az-kv-weu-x-001q" --name "keyEncryptionKeySqlMi" + az keyvault key create --vault-name $keyVaultName --name "keyEncryptionKey" + az keyvault key create --vault-name $keyVaultName --name "keyEncryptionKeySqlMi" azPSVersion: 'latest' # job_deploy_rolea: From 1658830faa48615a6fe4ea43c456502cdb0e9652 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 17 Nov 2021 17:22:53 +0100 Subject: [PATCH 093/260] input options --- .github/workflows/ms.keyvault.vaults.yml | 26 ++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index eb2fc22e32..61b10351c7 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -4,9 +4,13 @@ on: workflow_dispatch: inputs: removeDeployment: + type: choice description: 'Remove deployed module' - required: false - default: 'false' # Soft-delete prevents re-deployment + # required: false + options: + - true + - false + #default: 'false' # Soft-delete prevents re-deployment versioningOption: description: 'The mode to handle the version increments [major|minor|patch|custom]' required: false @@ -15,6 +19,24 @@ on: description: 'The version to enforce if [versionOption] is set to [custom]' required: false default: '0.0.1' + + # on: + # workflow_dispatch: + # inputs: + # name: + # type: choice + # description: Who to greet + # options: + # - monalisa + # - cschleiden + # message: + # required: true + # use-emoji: + # type: boolean + # description: Include 🎉🤣 emojis + # environment: + # type: environment + push: branches: - main From 6114e188f9af5a4183f8537a6e3259234f4c08e6 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 17 Nov 2021 17:25:28 +0100 Subject: [PATCH 094/260] input options versioning --- .github/workflows/ms.keyvault.vaults.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index 61b10351c7..75a3a6e0d6 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -12,9 +12,15 @@ on: - false #default: 'false' # Soft-delete prevents re-deployment versioningOption: + type: choice description: 'The mode to handle the version increments [major|minor|patch|custom]' required: false default: 'patch' + options: + - major + - minor + - patch + - custom customVersion: description: 'The version to enforce if [versionOption] is set to [custom]' required: false @@ -37,14 +43,14 @@ on: # environment: # type: environment - push: - branches: - - main - paths: - - '.github/actions/templates/**' - - '.github/workflows/ms.keyvault.vaults.yml' - - 'arm/Microsoft.KeyVault/vaults/**' - - '!arm/Microsoft.KeyVault/vaults/readme.md' + # push: + # branches: + # - main + # paths: + # - '.github/actions/templates/**' + # - '.github/workflows/ms.keyvault.vaults.yml' + # - 'arm/Microsoft.KeyVault/vaults/**' + # - '!arm/Microsoft.KeyVault/vaults/readme.md' env: moduleName: 'vaults' From 72afb4b4ac3dc58dc12e661ce2cd2850971ce1fa Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:08:30 +0100 Subject: [PATCH 095/260] reuse --- .../workflows/ms.resources.resourcegroups.yml | 99 ++---------- .../ms.resources.resourcegroups_backup.yml | 147 ++++++++++++++++++ .github/workflows/template.module.yml | 113 ++++++++++++++ 3 files changed, 271 insertions(+), 88 deletions(-) create mode 100644 .github/workflows/ms.resources.resourcegroups_backup.yml create mode 100644 .github/workflows/template.module.yml diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 91f4c5c002..081e7029ad 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -25,9 +25,10 @@ on: branches: - main paths: - - '.github/actions/templates/**' - '.github/workflows/ms.resources.resourcegroups.yml' - 'arm/Microsoft.Resources/resourceGroups/**' + - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '!*/**/readme.md' - 'utilities/pipelines/**' - '!utilities/pipelines/dependencies/**' @@ -35,15 +36,10 @@ on: env: modulePath: 'arm/Microsoft.Resources/resourceGroups' workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' jobs: ############################ - # SET INPUT PARAMETERS # + # Set input parameters # ############################ job_set_workflow_param: runs-on: ubuntu-20.04 @@ -63,85 +59,12 @@ jobs: versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - #################### - # Pester Tests # - #################### - job_module_pester_validation: - runs-on: ubuntu-20.04 - name: 'Pester tests' - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - - #################### - # Deployment tests # - #################### - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deployment tests' - needs: - - job_set_workflow_param - - job_module_pester_validation - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - - ############### - # PUBLISH # - ############### - job_publish_module: - name: 'Publish module' - if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - runs-on: ubuntu-20.04 + call-workflow-passing-data: needs: - - job_set_workflow_param - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Publish module' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + - job_set_workflow_param + uses: .github/workflows/template.module.yml@main + with: + modulePath: '${{ env.modulePath}}' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' diff --git a/.github/workflows/ms.resources.resourcegroups_backup.yml b/.github/workflows/ms.resources.resourcegroups_backup.yml new file mode 100644 index 0000000000..91f4c5c002 --- /dev/null +++ b/.github/workflows/ms.resources.resourcegroups_backup.yml @@ -0,0 +1,147 @@ +name: 'Resources: ResourceGroups' + +on: + workflow_dispatch: + inputs: + removeDeployment: + type: boolean + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + type: choice + description: 'The mode to handle the version increments [major|minor|patch]' + required: false + default: 'patch' + options: + - major + - minor + - patch + customVersion: + description: 'Custom version to apply. Used only if higher than latest' + required: false + default: '0.0.1' + push: + branches: + - main + paths: + - '.github/actions/templates/**' + - '.github/workflows/ms.resources.resourcegroups.yml' + - 'arm/Microsoft.Resources/resourceGroups/**' + - '!*/**/readme.md' + - 'utilities/pipelines/**' + - '!utilities/pipelines/dependencies/**' + +env: + modulePath: 'arm/Microsoft.Resources/resourceGroups' + workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + +jobs: + ############################ + # SET INPUT PARAMETERS # + ############################ + job_set_workflow_param: + runs-on: ubuntu-20.04 + name: 'Set input parameters to output variables' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Set input parameters' + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + outputs: + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} + customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + + #################### + # Pester Tests # + #################### + job_module_pester_validation: + runs-on: ubuntu-20.04 + name: 'Pester tests' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' + + #################### + # Deployment tests # + #################### + job_module_deploy_validation: + runs-on: ubuntu-20.04 + name: 'Deployment tests' + needs: + - job_set_workflow_param + - job_module_pester_validation + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + variableFileName: 'global.variables' + - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + parameterFilePath: '${{ env.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + + ############### + # PUBLISH # + ############### + job_publish_module: + name: 'Publish module' + if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + runs-on: ubuntu-20.04 + needs: + - job_set_workflow_param + - job_module_deploy_validation + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + variableFileName: 'global.variables' + - name: 'Publish module' + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + templateSpecsRGName: '${{ env.templateSpecsRGName }}' + templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' + templateSpecsDescription: '${{ env.templateSpecsDescription }}' + templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' + bicepRegistryName: '${{ env.bicepRegistryName }}' + bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' + bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' + bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml new file mode 100644 index 0000000000..0a4aed4709 --- /dev/null +++ b/.github/workflows/template.module.yml @@ -0,0 +1,113 @@ +name: 'Template: Module Pipeline' + +on: + workflow_call: + inputs: + modulePath: + type: string + description: 'Relative path to the module folder' + required: true + removeDeployment: + type: boolean + description: 'Remove deployed module' + required: true + versioningOption: + type: choice + description: 'The mode to handle the version increments [major|minor|patch]' + required: true + options: + - major + - minor + - patch + customVersion: + description: 'Custom version to apply. Used only if higher than latest' + required: true + +env: + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + +jobs: + #################### + # Pester Tests # + #################### + job_module_pester_validation: + runs-on: ubuntu-20.04 + name: 'Pester tests' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ inputs.modulePath }}' + + # #################### + # # Deployment tests # + # #################### + # job_module_deploy_validation: + # runs-on: ubuntu-20.04 + # name: 'Deployment tests' + # needs: + # - job_module_pester_validation + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # variableFileName: 'global.variables' + # - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' + # parameterFilePath: '${{ inputs.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ inputs.removeDeployment }}' + + # ############### + # # Publish # + # ############### + # job_publish_module: + # name: 'Publish module' + # if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + # runs-on: ubuntu-20.04 + # needs: + # - job_module_deploy_validation + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: deep-mm/set-variables@v1.0 + # with: + # variableFileName: 'global.variables' + # - name: 'Publish module' + # uses: ./.github/actions/templates/publishModule + # with: + # templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' + # versioningOption: '${{ inputs.versioningOption }}' + # customVersion: '${{ inputs.customVersion }}' + # templateSpecsRGName: '${{ env.templateSpecsRGName }}' + # templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' + # templateSpecsDescription: '${{ env.templateSpecsDescription }}' + # templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' + # bicepRegistryName: '${{ env.bicepRegistryName }}' + # bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' + # bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' + # bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' From b6115b24d700927426cd320b30688bf4bdc032b6 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:10:34 +0100 Subject: [PATCH 096/260] bicep registry --- .github/variables/global.variables.json | 2 +- .../registries/parameters/parameters.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/variables/global.variables.json b/.github/variables/global.variables.json index 1f20a00491..44ba19fc41 100644 --- a/.github/variables/global.variables.json +++ b/.github/variables/global.variables.json @@ -26,7 +26,7 @@ }, { "name": "bicepRegistryName", - "value": "adpsxxazacrx001" + "value": "adpsxxazacrx001q" }, { "name": "bicepRegistryRGName", diff --git a/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json index 52597e8a27..3c97f3394b 100644 --- a/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpsxxazacrx001" + "value": "adpsxxazacrx001q" }, "acrAdminUserEnabled": { "value": false From 6eff8f7eb483b3e8b9034f0c3c65e0cc847a8391 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:12:50 +0100 Subject: [PATCH 097/260] uses root --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 081e7029ad..a695545c9d 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -62,7 +62,7 @@ jobs: call-workflow-passing-data: needs: - job_set_workflow_param - uses: .github/workflows/template.module.yml@main + uses: ./.github/workflows/template.module.yml@main with: modulePath: '${{ env.modulePath}}' removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' From 8dcc761fb40c1b399e35c0c44e348897bf02fb9e Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:17:21 +0100 Subject: [PATCH 098/260] simple call --- .../workflows/ms.resources.resourcegroups.yml | 58 +++++++++++-------- .../ms.resources.resourcegroups_backup.yml | 20 +++---- 2 files changed, 43 insertions(+), 35 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index a695545c9d..918ddc1fbe 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -38,33 +38,41 @@ env: workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' jobs: - ############################ - # Set input parameters # - ############################ - job_set_workflow_param: - runs-on: ubuntu-20.04 - name: 'Set input parameters to output variables' - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Set input parameters' - id: get-workflow-param - uses: ./.github/actions/templates/getWorkflowInput - with: - workflowPath: '${{ env.workflowPath}}' - outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} - customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + # ############################ + # # Set input parameters # + # ############################ + # job_set_workflow_param: + # runs-on: ubuntu-20.04 + # name: 'Set input parameters to output variables' + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Set input parameters' + # id: get-workflow-param + # uses: ./.github/actions/templates/getWorkflowInput + # with: + # workflowPath: '${{ env.workflowPath}}' + # outputs: + # removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + # versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} + # customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + + # call-workflow-passing-data: + # needs: + # - job_set_workflow_param + # uses: ./.github/workflows/template.module.yml@main + # with: + # modulePath: '${{ env.modulePath}}' + # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + # versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' call-workflow-passing-data: - needs: - - job_set_workflow_param uses: ./.github/workflows/template.module.yml@main with: modulePath: '${{ env.modulePath}}' - removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + removeDeployment: 'true' + versioningOption: 'patch' + customVersion: '0.0.1' diff --git a/.github/workflows/ms.resources.resourcegroups_backup.yml b/.github/workflows/ms.resources.resourcegroups_backup.yml index 91f4c5c002..4f4b007227 100644 --- a/.github/workflows/ms.resources.resourcegroups_backup.yml +++ b/.github/workflows/ms.resources.resourcegroups_backup.yml @@ -21,16 +21,16 @@ on: description: 'Custom version to apply. Used only if higher than latest' required: false default: '0.0.1' - push: - branches: - - main - paths: - - '.github/actions/templates/**' - - '.github/workflows/ms.resources.resourcegroups.yml' - - 'arm/Microsoft.Resources/resourceGroups/**' - - '!*/**/readme.md' - - 'utilities/pipelines/**' - - '!utilities/pipelines/dependencies/**' + # push: + # branches: + # - main + # paths: + # - '.github/actions/templates/**' + # - '.github/workflows/ms.resources.resourcegroups.yml' + # - 'arm/Microsoft.Resources/resourceGroups/**' + # - '!*/**/readme.md' + # - 'utilities/pipelines/**' + # - '!utilities/pipelines/dependencies/**' env: modulePath: 'arm/Microsoft.Resources/resourceGroups' From ea41b8d2470b7a38f8593861b038d4314f6165fe Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:19:40 +0100 Subject: [PATCH 099/260] workflow path --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- .github/workflows/template.module.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 918ddc1fbe..7263e3026f 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -70,7 +70,7 @@ jobs: # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' call-workflow-passing-data: - uses: ./.github/workflows/template.module.yml@main + uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main with: modulePath: '${{ env.modulePath}}' removeDeployment: 'true' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 0a4aed4709..12caf8af83 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -1,4 +1,4 @@ -name: 'Template: Module Pipeline' +name: '.Template: Module Pipeline' on: workflow_call: From af06574099bc901442b4497c8762fdc7f26ae56d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:21:53 +0100 Subject: [PATCH 100/260] no env --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 7263e3026f..2e618bad77 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -72,7 +72,7 @@ jobs: call-workflow-passing-data: uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main with: - modulePath: '${{ env.modulePath}}' + modulePath: 'arm/Microsoft.Resources/resourceGroups' removeDeployment: 'true' versioningOption: 'patch' customVersion: '0.0.1' From 8913f2c0ffc976d1913db8abfab6ca8d6b5b67db Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:24:27 +0100 Subject: [PATCH 101/260] template input --- .github/workflows/template.module.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 12caf8af83..bf5869011a 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -12,14 +12,11 @@ on: description: 'Remove deployed module' required: true versioningOption: - type: choice + type: string description: 'The mode to handle the version increments [major|minor|patch]' required: true - options: - - major - - minor - - patch customVersion: + type: string description: 'Custom version to apply. Used only if higher than latest' required: true From 01e79dd407b9f634ab0f59a4beadeaf86077545a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:25:48 +0100 Subject: [PATCH 102/260] string all --- .github/workflows/template.module.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index bf5869011a..d6ee54056f 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -8,7 +8,7 @@ on: description: 'Relative path to the module folder' required: true removeDeployment: - type: boolean + type: string description: 'Remove deployed module' required: true versioningOption: From c34ba6aea184dc64ff09139b9fd4b200ccaa654e Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:40:14 +0100 Subject: [PATCH 103/260] env --- .github/workflows/ms.resources.resourcegroups.yml | 5 +++++ .github/workflows/template.module.yml | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 2e618bad77..23db22c068 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -76,3 +76,8 @@ jobs: removeDeployment: 'true' versioningOption: 'patch' customVersion: '0.0.1' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index d6ee54056f..e5f7e00097 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -19,6 +19,17 @@ on: type: string description: 'Custom version to apply. Used only if higher than latest' required: true + secrets: + AZURE_CREDENTIALS: + required: true + ARM_SUBSCRIPTION_ID: + required: true + ARM_MGMTGROUP_ID: + required: true + ARM_TENANT_ID: + required: true + DEPLOYMENT_SP_ID: + required: true env: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} From e3e96a3cdf873881aec29fd960a497dad0fc6832 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:43:11 +0100 Subject: [PATCH 104/260] env sec --- .github/workflows/ms.resources.resourcegroups.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 23db22c068..45cdc485e9 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -36,6 +36,11 @@ on: env: modulePath: 'arm/Microsoft.Resources/resourceGroups' workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' jobs: # ############################ @@ -76,8 +81,8 @@ jobs: removeDeployment: 'true' versioningOption: 'patch' customVersion: '0.0.1' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + AZURE_CREDENTIALS: ${{ env.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ env.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ env.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ env.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ env.DEPLOYMENT_SP_ID }}' From f0c6e1f74eb327aa709f38b6f25ca26cc8f76daa Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:52:26 +0100 Subject: [PATCH 105/260] test input --- .../workflows/ms.resources.resourcegroups.yml | 20 +++---- .github/workflows/template.module.yml | 58 +++++++++++-------- 2 files changed, 45 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 45cdc485e9..80b5678f8b 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -36,11 +36,11 @@ on: env: modulePath: 'arm/Microsoft.Resources/resourceGroups' workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + # AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + # ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + # ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + # DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' jobs: # ############################ @@ -81,8 +81,8 @@ jobs: removeDeployment: 'true' versioningOption: 'patch' customVersion: '0.0.1' - AZURE_CREDENTIALS: ${{ env.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ env.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ env.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ env.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ env.DEPLOYMENT_SP_ID }}' + # AZURE_CREDENTIALS: ${{ env.AZURE_CREDENTIALS }} + # ARM_SUBSCRIPTION_ID: '${{ env.ARM_SUBSCRIPTION_ID }}' + # ARM_MGMTGROUP_ID: '${{ env.ARM_MGMTGROUP_ID }}' + # ARM_TENANT_ID: '${{ env.ARM_TENANT_ID }}' + # DEPLOYMENT_SP_ID: '${{ env.DEPLOYMENT_SP_ID }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index e5f7e00097..0765b0f594 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -19,17 +19,17 @@ on: type: string description: 'Custom version to apply. Used only if higher than latest' required: true - secrets: - AZURE_CREDENTIALS: - required: true - ARM_SUBSCRIPTION_ID: - required: true - ARM_MGMTGROUP_ID: - required: true - ARM_TENANT_ID: - required: true - DEPLOYMENT_SP_ID: - required: true + # secrets: + # AZURE_CREDENTIALS: + # required: true + # ARM_SUBSCRIPTION_ID: + # required: true + # ARM_MGMTGROUP_ID: + # required: true + # ARM_TENANT_ID: + # required: true + # DEPLOYMENT_SP_ID: + # required: true env: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} @@ -39,21 +39,33 @@ env: DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' jobs: - #################### - # Pester Tests # - #################### - job_module_pester_validation: + ################## + # Echo Tests # + ################## + job_echo_input: runs-on: ubuntu-20.04 name: 'Pester tests' steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ inputs.modulePath }}' + - run: echo ${{ inputs.modulePath }} + - run: echo ${{ inputs.removeDeployment }} + - run: echo ${{ inputs.versioningOption }} + - run: echo ${{ inputs.customVersion }} + + # #################### + # # Pester Tests # + # #################### + # job_module_pester_validation: + # runs-on: ubuntu-20.04 + # name: 'Pester tests' + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Run tests' + # uses: ./.github/actions/templates/validateModulePester + # with: + # modulePath: '${{ inputs.modulePath }}' # #################### # # Deployment tests # From 24c198c8f4ec0d7f9078eef14a52945f7cace1a7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:54:19 +0100 Subject: [PATCH 106/260] echo sec --- .github/workflows/template.module.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 0765b0f594..c267a8c49c 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -50,6 +50,7 @@ jobs: - run: echo ${{ inputs.removeDeployment }} - run: echo ${{ inputs.versioningOption }} - run: echo ${{ inputs.customVersion }} + - run: echo ${{ secrets.DEPLOYMENT_SP_ID }} # #################### # # Pester Tests # From 27561a1003ee14f22886007008ff6ad3b4d7307d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 20:59:14 +0100 Subject: [PATCH 107/260] echo sec pass --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- .github/workflows/template.module.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 80b5678f8b..421181c284 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -85,4 +85,4 @@ jobs: # ARM_SUBSCRIPTION_ID: '${{ env.ARM_SUBSCRIPTION_ID }}' # ARM_MGMTGROUP_ID: '${{ env.ARM_MGMTGROUP_ID }}' # ARM_TENANT_ID: '${{ env.ARM_TENANT_ID }}' - # DEPLOYMENT_SP_ID: '${{ env.DEPLOYMENT_SP_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index c267a8c49c..589f332b81 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -51,6 +51,7 @@ jobs: - run: echo ${{ inputs.versioningOption }} - run: echo ${{ inputs.customVersion }} - run: echo ${{ secrets.DEPLOYMENT_SP_ID }} + - run: echo ${{ env.DEPLOYMENT_SP_ID }} # #################### # # Pester Tests # From 8aa85f931273dc0dade4baef71b6047aadb797b3 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:04:29 +0100 Subject: [PATCH 108/260] echo sec pass hardcoded --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 421181c284..cf6097f839 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -85,4 +85,4 @@ jobs: # ARM_SUBSCRIPTION_ID: '${{ env.ARM_SUBSCRIPTION_ID }}' # ARM_MGMTGROUP_ID: '${{ env.ARM_MGMTGROUP_ID }}' # ARM_TENANT_ID: '${{ env.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + DEPLOYMENT_SP_ID: 'example' From e2847bc4da4b4c69223745eb1e0a50f2f1cf426a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:05:38 +0100 Subject: [PATCH 109/260] echo sec pass hardcoded in --- .github/workflows/template.module.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 589f332b81..757ec4e3a0 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -19,7 +19,7 @@ on: type: string description: 'Custom version to apply. Used only if higher than latest' required: true - # secrets: + secrets: # AZURE_CREDENTIALS: # required: true # ARM_SUBSCRIPTION_ID: @@ -28,7 +28,7 @@ on: # required: true # ARM_TENANT_ID: # required: true - # DEPLOYMENT_SP_ID: + DEPLOYMENT_SP_ID: # required: true env: From 78a740558520911ce739144eef50ee369fc87d90 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:07:41 +0100 Subject: [PATCH 110/260] echo sec pass hardcoded in req --- .github/workflows/template.module.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 757ec4e3a0..83c5632209 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -29,7 +29,7 @@ on: # ARM_TENANT_ID: # required: true DEPLOYMENT_SP_ID: - # required: true + required: true env: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} From 392f71023b023dd387aedd919c03aeed9fab96bd Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:10:10 +0100 Subject: [PATCH 111/260] cleanup --- .github/workflows/ms.resources.resourcegroups.yml | 4 ---- .github/workflows/template.module.yml | 8 -------- 2 files changed, 12 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index cf6097f839..5706f641b3 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -81,8 +81,4 @@ jobs: removeDeployment: 'true' versioningOption: 'patch' customVersion: '0.0.1' - # AZURE_CREDENTIALS: ${{ env.AZURE_CREDENTIALS }} - # ARM_SUBSCRIPTION_ID: '${{ env.ARM_SUBSCRIPTION_ID }}' - # ARM_MGMTGROUP_ID: '${{ env.ARM_MGMTGROUP_ID }}' - # ARM_TENANT_ID: '${{ env.ARM_TENANT_ID }}' DEPLOYMENT_SP_ID: 'example' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 83c5632209..db0c61cb06 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -20,14 +20,6 @@ on: description: 'Custom version to apply. Used only if higher than latest' required: true secrets: - # AZURE_CREDENTIALS: - # required: true - # ARM_SUBSCRIPTION_ID: - # required: true - # ARM_MGMTGROUP_ID: - # required: true - # ARM_TENANT_ID: - # required: true DEPLOYMENT_SP_ID: required: true From 43d92749f9c91f3875dae2f410dedbaeb707e109 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:13:05 +0100 Subject: [PATCH 112/260] secrets in --- .github/workflows/ms.resources.resourcegroups.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 5706f641b3..e3e6320fd1 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -81,4 +81,5 @@ jobs: removeDeployment: 'true' versioningOption: 'patch' customVersion: '0.0.1' - DEPLOYMENT_SP_ID: 'example' + secrets: + DEPLOYMENT_SP_ID: ${{ secrets.DEPLOYMENT_SP_ID }} From 3af93006d9fb6c85d6902d323f7a6dfffba0c822 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:17:06 +0100 Subject: [PATCH 113/260] all secrets check --- .github/workflows/ms.resources.resourcegroups.yml | 6 +++++- .github/workflows/template.module.yml | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index e3e6320fd1..c08ccb34e3 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -82,4 +82,8 @@ jobs: versioningOption: 'patch' customVersion: '0.0.1' secrets: - DEPLOYMENT_SP_ID: ${{ secrets.DEPLOYMENT_SP_ID }} + AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index db0c61cb06..5f1ec2f732 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -20,6 +20,14 @@ on: description: 'Custom version to apply. Used only if higher than latest' required: true secrets: + AZURE_CREDENTIALS: + required: true + ARM_SUBSCRIPTION_ID: + required: true + ARM_MGMTGROUP_ID: + required: true + ARM_TENANT_ID: + required: true DEPLOYMENT_SP_ID: required: true @@ -43,6 +51,10 @@ jobs: - run: echo ${{ inputs.versioningOption }} - run: echo ${{ inputs.customVersion }} - run: echo ${{ secrets.DEPLOYMENT_SP_ID }} + - run: echo ${{ env.AZURE_CREDENTIALS }} + - run: echo ${{ env.ARM_SUBSCRIPTION_ID }} + - run: echo ${{ env.ARM_MGMTGROUP_ID }} + - run: echo ${{ env.ARM_TENANT_ID }} - run: echo ${{ env.DEPLOYMENT_SP_ID }} # #################### From f43af7eb29d2d2e973d4ca84f0ae1c5942be5714 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:20:24 +0100 Subject: [PATCH 114/260] pester on --- .github/workflows/template.module.yml | 31 +++++++++++++-------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 5f1ec2f732..1758610d20 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -51,27 +51,26 @@ jobs: - run: echo ${{ inputs.versioningOption }} - run: echo ${{ inputs.customVersion }} - run: echo ${{ secrets.DEPLOYMENT_SP_ID }} - - run: echo ${{ env.AZURE_CREDENTIALS }} - run: echo ${{ env.ARM_SUBSCRIPTION_ID }} - run: echo ${{ env.ARM_MGMTGROUP_ID }} - run: echo ${{ env.ARM_TENANT_ID }} - run: echo ${{ env.DEPLOYMENT_SP_ID }} - # #################### - # # Pester Tests # - # #################### - # job_module_pester_validation: - # runs-on: ubuntu-20.04 - # name: 'Pester tests' - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Run tests' - # uses: ./.github/actions/templates/validateModulePester - # with: - # modulePath: '${{ inputs.modulePath }}' + #################### + # Pester Tests # + #################### + job_module_pester_validation: + runs-on: ubuntu-20.04 + name: 'Pester tests' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ inputs.modulePath }}' # #################### # # Deployment tests # From 1dcb14bc65dfaf626112d55192815142adbbf288 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:22:40 +0100 Subject: [PATCH 115/260] set input on --- .../workflows/ms.resources.resourcegroups.yml | 40 +++++++++---------- .github/workflows/template.module.yml | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index c08ccb34e3..01de2337c2 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -43,26 +43,26 @@ env: # DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' jobs: - # ############################ - # # Set input parameters # - # ############################ - # job_set_workflow_param: - # runs-on: ubuntu-20.04 - # name: 'Set input parameters to output variables' - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Set input parameters' - # id: get-workflow-param - # uses: ./.github/actions/templates/getWorkflowInput - # with: - # workflowPath: '${{ env.workflowPath}}' - # outputs: - # removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - # versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} - # customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + ############################ + # Set input parameters # + ############################ + job_set_workflow_param: + runs-on: ubuntu-20.04 + name: 'Set input parameters to output variables' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Set input parameters' + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + outputs: + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} + customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} # call-workflow-passing-data: # needs: diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 1758610d20..7a9bc6f972 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -44,7 +44,7 @@ jobs: ################## job_echo_input: runs-on: ubuntu-20.04 - name: 'Pester tests' + name: 'Echo tests' steps: - run: echo ${{ inputs.modulePath }} - run: echo ${{ inputs.removeDeployment }} From 937a51b56d94f8b7d7add08d9f483b4f68c014e4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:23:57 +0100 Subject: [PATCH 116/260] set input on needs --- .github/workflows/ms.resources.resourcegroups.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 01de2337c2..376c11d912 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -75,6 +75,8 @@ jobs: # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' call-workflow-passing-data: + needs: + - job_set_workflow_param uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main with: modulePath: 'arm/Microsoft.Resources/resourceGroups' From c7e402f3942a8a5773ef9edae47db1e915a65976 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:25:35 +0100 Subject: [PATCH 117/260] set input on needs job --- .github/workflows/ms.resources.resourcegroups.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 376c11d912..2319c665dd 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -80,9 +80,9 @@ jobs: uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main with: modulePath: 'arm/Microsoft.Resources/resourceGroups' - removeDeployment: 'true' - versioningOption: 'patch' - customVersion: '0.0.1' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' secrets: AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' From cb2f3a395d587863b33b0b6b354c5b7f21a1f578 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:26:48 +0100 Subject: [PATCH 118/260] deployment on --- .github/workflows/template.module.yml | 62 +++++++++++++-------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 7a9bc6f972..6bd2c73ed3 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -72,37 +72,37 @@ jobs: with: modulePath: '${{ inputs.modulePath }}' - # #################### - # # Deployment tests # - # #################### - # job_module_deploy_validation: - # runs-on: ubuntu-20.04 - # name: 'Deployment tests' - # needs: - # - job_module_pester_validation - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # variableFileName: 'global.variables' - # - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' - # parameterFilePath: '${{ inputs.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ inputs.removeDeployment }}' + #################### + # Deployment tests # + #################### + job_module_deploy_validation: + runs-on: ubuntu-20.04 + name: 'Deployment tests' + needs: + - job_module_pester_validation + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + variableFileName: 'global.variables' + - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' + parameterFilePath: '${{ inputs.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ inputs.removeDeployment }}' # ############### # # Publish # From cdbb43c5ba159e865602bbd854abd0de42b7d622 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 28 Dec 2021 21:29:57 +0100 Subject: [PATCH 119/260] comment echo --- .github/workflows/template.module.yml | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 6bd2c73ed3..709360a32f 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -39,22 +39,22 @@ env: DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' jobs: - ################## - # Echo Tests # - ################## - job_echo_input: - runs-on: ubuntu-20.04 - name: 'Echo tests' - steps: - - run: echo ${{ inputs.modulePath }} - - run: echo ${{ inputs.removeDeployment }} - - run: echo ${{ inputs.versioningOption }} - - run: echo ${{ inputs.customVersion }} - - run: echo ${{ secrets.DEPLOYMENT_SP_ID }} - - run: echo ${{ env.ARM_SUBSCRIPTION_ID }} - - run: echo ${{ env.ARM_MGMTGROUP_ID }} - - run: echo ${{ env.ARM_TENANT_ID }} - - run: echo ${{ env.DEPLOYMENT_SP_ID }} + # ################## + # # Echo Tests # + # ################## + # job_echo_input: + # runs-on: ubuntu-20.04 + # name: 'Echo tests' + # steps: + # - run: echo ${{ inputs.modulePath }} + # - run: echo ${{ inputs.removeDeployment }} + # - run: echo ${{ inputs.versioningOption }} + # - run: echo ${{ inputs.customVersion }} + # - run: echo ${{ secrets.DEPLOYMENT_SP_ID }} + # - run: echo ${{ env.ARM_SUBSCRIPTION_ID }} + # - run: echo ${{ env.ARM_MGMTGROUP_ID }} + # - run: echo ${{ env.ARM_TENANT_ID }} + # - run: echo ${{ env.DEPLOYMENT_SP_ID }} #################### # Pester Tests # From 8727d78ffdd8aece3aa04e11d3c4d8f9245598bc Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 01:23:10 +0100 Subject: [PATCH 120/260] vnet --- .../workflows/ms.network.virtualnetworks.yml | 110 +++---------- .../ms.network.virtualnetworks_backup.yml | 147 ++++++++++++++++++ .../workflows/ms.resources.resourcegroups.yml | 10 -- .github/workflows/template.module.yml | 16 -- 4 files changed, 169 insertions(+), 114 deletions(-) create mode 100644 .github/workflows/ms.network.virtualnetworks_backup.yml diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 81e877e76b..e7a77b25ca 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -25,9 +25,10 @@ on: branches: - main paths: - - '.github/actions/templates/**' - '.github/workflows/ms.network.virtualnetworks.yml' - 'arm/Microsoft.Network/virtualNetworks/**' + - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '!*/**/readme.md' - 'utilities/pipelines/**' - '!utilities/pipelines/dependencies/**' @@ -35,15 +36,15 @@ on: env: modulePath: 'arm/Microsoft.Network/virtualNetworks' workflowPath: '.github/workflows/ms.network.virtualnetworks.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + # AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + # ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + # ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + # DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' jobs: ############################ - # SET INPUT PARAMETERS # + # Set input parameters # ############################ job_set_workflow_param: runs-on: ubuntu-20.04 @@ -63,85 +64,18 @@ jobs: versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - #################### - # Pester Tests # - #################### - job_module_pester_validation: - runs-on: ubuntu-20.04 - name: 'Pester tests' - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - - #################### - # Deployment tests # - #################### - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deployment tests' - needs: - - job_set_workflow_param - - job_module_pester_validation - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json', 'vnetPeering.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - - ############### - # PUBLISH # - ############### - job_publish_module: - name: 'Publish module' - if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - runs-on: ubuntu-20.04 + call-workflow-passing-data: needs: - - job_set_workflow_param - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Publish module' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + - job_set_workflow_param + uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main + with: + modulePath: 'arm/Microsoft.Network/virtualNetworks' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + secrets: + AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' diff --git a/.github/workflows/ms.network.virtualnetworks_backup.yml b/.github/workflows/ms.network.virtualnetworks_backup.yml new file mode 100644 index 0000000000..dbc18436cb --- /dev/null +++ b/.github/workflows/ms.network.virtualnetworks_backup.yml @@ -0,0 +1,147 @@ +name: 'Network: VirtualNetworks' + +on: + workflow_dispatch: + inputs: + removeDeployment: + type: boolean + description: 'Remove deployed module' + required: false + default: 'true' + versioningOption: + type: choice + description: 'The mode to handle the version increments [major|minor|patch]' + required: false + default: 'patch' + options: + - major + - minor + - patch + customVersion: + description: 'Custom version to apply. Used only if higher than latest' + required: false + default: '0.0.1' + # push: + # branches: + # - main + # paths: + # - '.github/actions/templates/**' + # - '.github/workflows/ms.network.virtualnetworks.yml' + # - 'arm/Microsoft.Network/virtualNetworks/**' + # - '!*/**/readme.md' + # - 'utilities/pipelines/**' + # - '!utilities/pipelines/dependencies/**' + +env: + modulePath: 'arm/Microsoft.Network/virtualNetworks' + workflowPath: '.github/workflows/ms.network.virtualnetworks.yml' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + +jobs: + ############################ + # SET INPUT PARAMETERS # + ############################ + job_set_workflow_param: + runs-on: ubuntu-20.04 + name: 'Set input parameters to output variables' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Set input parameters' + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + outputs: + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} + customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + + #################### + # Pester Tests # + #################### + job_module_pester_validation: + runs-on: ubuntu-20.04 + name: 'Pester tests' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' + + #################### + # Deployment tests # + #################### + job_module_deploy_validation: + runs-on: ubuntu-20.04 + name: 'Deployment tests' + needs: + - job_set_workflow_param + - job_module_pester_validation + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json', 'vnetPeering.parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + variableFileName: 'global.variables' + - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + parameterFilePath: '${{ env.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' + + ############### + # PUBLISH # + ############### + job_publish_module: + name: 'Publish module' + if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + runs-on: ubuntu-20.04 + needs: + - job_set_workflow_param + - job_module_deploy_validation + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + variableFileName: 'global.variables' + - name: 'Publish module' + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' + customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' + templateSpecsRGName: '${{ env.templateSpecsRGName }}' + templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' + templateSpecsDescription: '${{ env.templateSpecsDescription }}' + templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' + bicepRegistryName: '${{ env.bicepRegistryName }}' + bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' + bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' + bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 2319c665dd..7847ee5977 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -64,16 +64,6 @@ jobs: versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - # call-workflow-passing-data: - # needs: - # - job_set_workflow_param - # uses: ./.github/workflows/template.module.yml@main - # with: - # modulePath: '${{ env.modulePath}}' - # removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - # versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - # customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' - call-workflow-passing-data: needs: - job_set_workflow_param diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 709360a32f..9161b08f41 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -39,22 +39,6 @@ env: DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' jobs: - # ################## - # # Echo Tests # - # ################## - # job_echo_input: - # runs-on: ubuntu-20.04 - # name: 'Echo tests' - # steps: - # - run: echo ${{ inputs.modulePath }} - # - run: echo ${{ inputs.removeDeployment }} - # - run: echo ${{ inputs.versioningOption }} - # - run: echo ${{ inputs.customVersion }} - # - run: echo ${{ secrets.DEPLOYMENT_SP_ID }} - # - run: echo ${{ env.ARM_SUBSCRIPTION_ID }} - # - run: echo ${{ env.ARM_MGMTGROUP_ID }} - # - run: echo ${{ env.ARM_TENANT_ID }} - # - run: echo ${{ env.DEPLOYMENT_SP_ID }} #################### # Pester Tests # From 7f79a1395c8dff7cf76cf1c42bfeeae093ac1c48 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 01:26:13 +0100 Subject: [PATCH 121/260] reusable workflow name --- .github/workflows/ms.network.virtualnetworks.yml | 1 + .github/workflows/ms.resources.resourcegroups.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index e7a77b25ca..7f982cbfbc 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -65,6 +65,7 @@ jobs: customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} call-workflow-passing-data: + name: 'Template' needs: - job_set_workflow_param uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 7847ee5977..4a3c20c27f 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -65,6 +65,7 @@ jobs: customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} call-workflow-passing-data: + name: 'Template' needs: - job_set_workflow_param uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main From 005e43dcd62bf75f8d66288180fdf85f033dcc42 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 01:28:45 +0100 Subject: [PATCH 122/260] bicep registry --- .github/workflows/platform.dependencies.yml | 1664 +++++++++---------- 1 file changed, 832 insertions(+), 832 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 6091c135a7..8a442c6edf 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -56,59 +56,59 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - job_deploy_msi: - runs-on: ubuntu-20.04 - name: 'Deploy user assigned identity' - env: - namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_pa: - runs-on: ubuntu-20.04 - name: 'Deploy policy assignment' - env: - namespace: 'Microsoft.Authorization\policyAssignments' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_policyAssignments_sub.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_msi: + # runs-on: ubuntu-20.04 + # name: 'Deploy user assigned identity' + # env: + # namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_pa: + # runs-on: ubuntu-20.04 + # name: 'Deploy policy assignment' + # env: + # namespace: 'Microsoft.Authorization\policyAssignments' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_policyAssignments_sub.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' job_deploy_privateBicepRegistry: runs-on: ubuntu-20.04 @@ -137,782 +137,782 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - job_deploy_evh: - runs-on: ubuntu-20.04 - name: 'Deploy eventhub' - env: - namespace: 'Microsoft.EventHub\namespaces' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_law: - runs-on: ubuntu-20.04 - name: 'Deploy log analytics workspace' - env: - namespace: 'Microsoft.OperationalInsights\workspaces' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['appi.parameters.json', 'parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sa: - runs-on: ubuntu-20.04 - name: 'Deploy storage account' - env: - namespace: 'Microsoft.Storage\storageAccounts' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['fa.parameters.json', 'law.parameters.json', 'parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_upload_storage_files: - runs-on: ubuntu-20.04 - name: 'Upload files to storage account' - needs: - - job_deploy_sa - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Export-ContentToBlob.ps1') - - # Get storage account name - $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'parameters' 'parameters.json' - $storageAccountParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters - - # Upload files to storage account - $functionInput = @{ - ResourceGroupName = '${{ env.resourceGroupName }}' - StorageAccountName = $storageAccountParameters.name.value - contentDirectories = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'uploads' - targetContainer = $storageAccountParameters.blobServices.value.containers[0].name - } - - Write-Verbose "Invoke task with" -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - Export-ContentToBlob @functionInput -Verbose - azPSVersion: 'latest' - - job_deploy_sig: - runs-on: ubuntu-20.04 - name: 'Deploy shared image gallery and definition' - env: - namespace: 'Microsoft.Compute\galleries' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_ag: - runs-on: ubuntu-20.04 - name: 'Deploy action groups' - env: - namespace: 'Microsoft.Insights\actionGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_asg: - runs-on: ubuntu-20.04 - name: 'Deploy application security groups' - env: - namespace: 'Microsoft.Network\applicationSecurityGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_udr: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi route tables' - env: - namespace: 'Microsoft.Network\routeTables' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_udr: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi route tables' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\routeTables' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlMi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_nsg: - runs-on: ubuntu-20.04 - name: 'Deploy network security groups' - env: - namespace: 'Microsoft.Network\networkSecurityGroups' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - 'apgw.parameters.json', - 'ase.parameters.json', - 'bastion.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_nsg: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi network security group' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\networkSecurityGroups' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_pip: - runs-on: ubuntu-20.04 - name: 'Deploy public IP addresses' - env: - namespace: 'Microsoft.Network\publicIPAddresses' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['apgw.parameters.json', 'bas.parameters.json', 'lb.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_appi: - runs-on: ubuntu-20.04 - name: 'Deploy application insight' - env: - namespace: 'Microsoft.Insights\components' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_aut: - runs-on: ubuntu-20.04 - name: 'Deploy automation account' - env: - namespace: 'Microsoft.Automation\automationAccounts' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_avdhp: - runs-on: ubuntu-20.04 - name: 'Deploy AVD host pool' - env: - namespace: 'Microsoft.DesktopVirtualization\hostpools' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_rsv: - runs-on: ubuntu-20.04 - name: 'Deploy recovery services vault' - env: - namespace: 'Microsoft.RecoveryServices\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_kv: - runs-on: ubuntu-20.04 - name: 'Deploy key vaults' - env: - namespace: 'Microsoft.KeyVault\vaults' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json', 'pe.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_kv_secrets: - runs-on: ubuntu-20.04 - name: 'Set key vault secrets keys and certificates' - needs: - - job_deploy_kv - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length - $passwordString = (New-Guid).Guid.SubString(0,19) - $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - $keyVaultName = 'adp-sxx-az-kv-x-001' - $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force - # VirtualMachines and VMSS - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminUsername' -SecretValue $username - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminPassword' -SecretValue $password - # Azure SQLServer - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password - # VirtualNetworkGateway - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'vpnSharedKey' -SecretValue $vpnSharedKey - # DiskEncryptionSet, VirtualMachines and VMSS - az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKey' - # ApplicationGateway - $apgwCertPolicy = New-AzKeyVaultCertificatePolicy -SecretContentType 'application/x-pkcs12' -SubjectName 'CN=fabrikam.com' -IssuerName 'Self' -ValidityInMonths 12 -ReuseKeyOnRenewal - Add-AzKeyVaultCertificate -VaultName $keyVaultName -Name 'applicationGatewaySslCertificate' -CertificatePolicy $apgwCertPolicy - # API management - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientid' -SecretValue $username - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientsecret' -SecretValue $password - azPSVersion: 'latest' - - job_deploy_sqlmi_kv: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi key vault' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.KeyVault\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_kv_secrets: - runs-on: ubuntu-20.04 - name: 'Set sqlmi key vault secrets and keys' - if: github.event.inputs.deploySqlMiDependencies == 'true' - needs: - - job_deploy_sqlmi_kv - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length - $passwordString = (New-Guid).Guid.SubString(0,19) - $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - $keyVaultName = 'adp-sxx-az-kv-x-sqlmi' - $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force - # SQLManagedInstances secrets - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password - # SQLManagedInstances Keys - az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKeySqlMi' - azPSVersion: 'latest' - - job_deploy_avdag: - runs-on: ubuntu-20.04 - name: 'Deploy AVD application group' - env: - namespace: 'Microsoft.DesktopVirtualization\applicationgroups' - needs: - - job_deploy_avdhp - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_rolea: - runs-on: ubuntu-20.04 - name: 'Deploy role assignments' - env: - namespace: 'Microsoft.Authorization\roleAssignments' - needs: - - job_deploy_msi - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_rbac_sub.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_vnet: - runs-on: ubuntu-20.04 - name: 'Deploy virtual networks' - env: - namespace: 'Microsoft.Network\virtualNetworks' - needs: - - job_deploy_nsg - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - '1.bastion.parameters.json', - '2.vnetpeer01.parameters.json', - '3.vnetpeer02.parameters.json', - '4.azfw.parameters.json', - '5.aks.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_vnet: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi virtual network' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\virtualNetworks' - needs: - - job_deploy_sqlmi_udr - - job_deploy_sqlmi_nsg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['6.sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_dnszone: - runs-on: ubuntu-20.04 - name: 'Deploy private DNS zones' - env: - namespace: 'Microsoft.Network\privateDnsZones' - needs: - - job_deploy_vnet - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_vm: - runs-on: ubuntu-20.04 - name: 'Deploy virtual machines' - env: - namespace: 'Microsoft.Compute\virtualMachines' - needs: - - job_deploy_kv_secrets - - job_deploy_vnet - - job_deploy_rsv - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_evh: + # runs-on: ubuntu-20.04 + # name: 'Deploy eventhub' + # env: + # namespace: 'Microsoft.EventHub\namespaces' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_law: + # runs-on: ubuntu-20.04 + # name: 'Deploy log analytics workspace' + # env: + # namespace: 'Microsoft.OperationalInsights\workspaces' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['appi.parameters.json', 'parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sa: + # runs-on: ubuntu-20.04 + # name: 'Deploy storage account' + # env: + # namespace: 'Microsoft.Storage\storageAccounts' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # ['fa.parameters.json', 'law.parameters.json', 'parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_upload_storage_files: + # runs-on: ubuntu-20.04 + # name: 'Upload files to storage account' + # needs: + # - job_deploy_sa + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Azure Login + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_CREDENTIALS }} + # enable-AzPSSession: true + # - name: Run PowerShell + # uses: azure/powershell@v1 + # with: + # inlineScript: | + # # Load used functions + # . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Export-ContentToBlob.ps1') + + # # Get storage account name + # $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'parameters' 'parameters.json' + # $storageAccountParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters + + # # Upload files to storage account + # $functionInput = @{ + # ResourceGroupName = '${{ env.resourceGroupName }}' + # StorageAccountName = $storageAccountParameters.name.value + # contentDirectories = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'uploads' + # targetContainer = $storageAccountParameters.blobServices.value.containers[0].name + # } + + # Write-Verbose "Invoke task with" -Verbose + # Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + # Export-ContentToBlob @functionInput -Verbose + # azPSVersion: 'latest' + + # job_deploy_sig: + # runs-on: ubuntu-20.04 + # name: 'Deploy shared image gallery and definition' + # env: + # namespace: 'Microsoft.Compute\galleries' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_ag: + # runs-on: ubuntu-20.04 + # name: 'Deploy action groups' + # env: + # namespace: 'Microsoft.Insights\actionGroups' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_asg: + # runs-on: ubuntu-20.04 + # name: 'Deploy application security groups' + # env: + # namespace: 'Microsoft.Network\applicationSecurityGroups' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_udr: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi route tables' + # env: + # namespace: 'Microsoft.Network\routeTables' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sqlmi_udr: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi route tables' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # env: + # namespace: 'Microsoft.Network\routeTables' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['sqlMi.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_nsg: + # runs-on: ubuntu-20.04 + # name: 'Deploy network security groups' + # env: + # namespace: 'Microsoft.Network\networkSecurityGroups' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # [ + # 'apgw.parameters.json', + # 'ase.parameters.json', + # 'bastion.parameters.json', + # 'parameters.json', + # ] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sqlmi_nsg: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi network security group' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # env: + # namespace: 'Microsoft.Network\networkSecurityGroups' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['sqlmi.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_pip: + # runs-on: ubuntu-20.04 + # name: 'Deploy public IP addresses' + # env: + # namespace: 'Microsoft.Network\publicIPAddresses' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # ['apgw.parameters.json', 'bas.parameters.json', 'lb.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_appi: + # runs-on: ubuntu-20.04 + # name: 'Deploy application insight' + # env: + # namespace: 'Microsoft.Insights\components' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_aut: + # runs-on: ubuntu-20.04 + # name: 'Deploy automation account' + # env: + # namespace: 'Microsoft.Automation\automationAccounts' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_avdhp: + # runs-on: ubuntu-20.04 + # name: 'Deploy AVD host pool' + # env: + # namespace: 'Microsoft.DesktopVirtualization\hostpools' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_rsv: + # runs-on: ubuntu-20.04 + # name: 'Deploy recovery services vault' + # env: + # namespace: 'Microsoft.RecoveryServices\vaults' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_kv: + # runs-on: ubuntu-20.04 + # name: 'Deploy key vaults' + # env: + # namespace: 'Microsoft.KeyVault\vaults' + # # needs: + # # - job_deploy_sa + # # - job_deploy_evh + # # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json', 'pe.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_kv_secrets: + # runs-on: ubuntu-20.04 + # name: 'Set key vault secrets keys and certificates' + # needs: + # - job_deploy_kv + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Azure Login + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_CREDENTIALS }} + # enable-AzPSSession: true + # - name: Run PowerShell + # uses: azure/powershell@v1 + # with: + # inlineScript: | + # $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length + # $passwordString = (New-Guid).Guid.SubString(0,19) + # $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) + # $keyVaultName = 'adp-sxx-az-kv-x-001' + # $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force + # $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force + # $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force + # # VirtualMachines and VMSS + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminUsername' -SecretValue $username + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminPassword' -SecretValue $password + # # Azure SQLServer + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password + # # VirtualNetworkGateway + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'vpnSharedKey' -SecretValue $vpnSharedKey + # # DiskEncryptionSet, VirtualMachines and VMSS + # az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKey' + # # ApplicationGateway + # $apgwCertPolicy = New-AzKeyVaultCertificatePolicy -SecretContentType 'application/x-pkcs12' -SubjectName 'CN=fabrikam.com' -IssuerName 'Self' -ValidityInMonths 12 -ReuseKeyOnRenewal + # Add-AzKeyVaultCertificate -VaultName $keyVaultName -Name 'applicationGatewaySslCertificate' -CertificatePolicy $apgwCertPolicy + # # API management + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientid' -SecretValue $username + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientsecret' -SecretValue $password + # azPSVersion: 'latest' + + # job_deploy_sqlmi_kv: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi key vault' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # env: + # namespace: 'Microsoft.KeyVault\vaults' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['sqlmi.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sqlmi_kv_secrets: + # runs-on: ubuntu-20.04 + # name: 'Set sqlmi key vault secrets and keys' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # needs: + # - job_deploy_sqlmi_kv + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Azure Login + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_CREDENTIALS }} + # enable-AzPSSession: true + # - name: Run PowerShell + # uses: azure/powershell@v1 + # with: + # inlineScript: | + # $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length + # $passwordString = (New-Guid).Guid.SubString(0,19) + # $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) + # $keyVaultName = 'adp-sxx-az-kv-x-sqlmi' + # $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force + # $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force + # $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force + # # SQLManagedInstances secrets + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password + # # SQLManagedInstances Keys + # az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKeySqlMi' + # azPSVersion: 'latest' + + # job_deploy_avdag: + # runs-on: ubuntu-20.04 + # name: 'Deploy AVD application group' + # env: + # namespace: 'Microsoft.DesktopVirtualization\applicationgroups' + # needs: + # - job_deploy_avdhp + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_rolea: + # runs-on: ubuntu-20.04 + # name: 'Deploy role assignments' + # env: + # namespace: 'Microsoft.Authorization\roleAssignments' + # needs: + # - job_deploy_msi + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_rbac_sub.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_vnet: + # runs-on: ubuntu-20.04 + # name: 'Deploy virtual networks' + # env: + # namespace: 'Microsoft.Network\virtualNetworks' + # needs: + # - job_deploy_nsg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # [ + # '1.bastion.parameters.json', + # '2.vnetpeer01.parameters.json', + # '3.vnetpeer02.parameters.json', + # '4.azfw.parameters.json', + # '5.aks.parameters.json', + # 'parameters.json', + # ] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sqlmi_vnet: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi virtual network' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # env: + # namespace: 'Microsoft.Network\virtualNetworks' + # needs: + # - job_deploy_sqlmi_udr + # - job_deploy_sqlmi_nsg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['6.sqlmi.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_dnszone: + # runs-on: ubuntu-20.04 + # name: 'Deploy private DNS zones' + # env: + # namespace: 'Microsoft.Network\privateDnsZones' + # needs: + # - job_deploy_vnet + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_vm: + # runs-on: ubuntu-20.04 + # name: 'Deploy virtual machines' + # env: + # namespace: 'Microsoft.Compute\virtualMachines' + # needs: + # - job_deploy_kv_secrets + # - job_deploy_vnet + # - job_deploy_rsv + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' From c4d8c56898491f3a0317be1feff8f6dc000bafc4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 02:02:36 +0100 Subject: [PATCH 123/260] nsg dep and publish --- .github/workflows/platform.dependencies.yml | 68 ++++++++++----------- .github/workflows/template.module.yml | 64 +++++++++---------- 2 files changed, 66 insertions(+), 66 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 8a442c6edf..66a708251f 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -395,40 +395,40 @@ jobs: # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' # removeDeployment: '${{ env.removeDeployment }}' - # job_deploy_nsg: - # runs-on: ubuntu-20.04 - # name: 'Deploy network security groups' - # env: - # namespace: 'Microsoft.Network\networkSecurityGroups' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: - # [ - # 'apgw.parameters.json', - # 'ase.parameters.json', - # 'bastion.parameters.json', - # 'parameters.json', - # ] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' + job_deploy_nsg: + runs-on: ubuntu-20.04 + name: 'Deploy network security groups' + env: + namespace: 'Microsoft.Network\networkSecurityGroups' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: + [ + 'apgw.parameters.json', + 'ase.parameters.json', + 'bastion.parameters.json', + 'parameters.json', + ] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' # job_deploy_sqlmi_nsg: # runs-on: ubuntu-20.04 diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 9161b08f41..ffa28d8e0d 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -88,35 +88,35 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ inputs.removeDeployment }}' - # ############### - # # Publish # - # ############### - # job_publish_module: - # name: 'Publish module' - # if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - # runs-on: ubuntu-20.04 - # needs: - # - job_module_deploy_validation - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: deep-mm/set-variables@v1.0 - # with: - # variableFileName: 'global.variables' - # - name: 'Publish module' - # uses: ./.github/actions/templates/publishModule - # with: - # templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' - # versioningOption: '${{ inputs.versioningOption }}' - # customVersion: '${{ inputs.customVersion }}' - # templateSpecsRGName: '${{ env.templateSpecsRGName }}' - # templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - # templateSpecsDescription: '${{ env.templateSpecsDescription }}' - # templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - # bicepRegistryName: '${{ env.bicepRegistryName }}' - # bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - # bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - # bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + ############### + # Publish # + ############### + job_publish_module: + name: 'Publish module' + if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + runs-on: ubuntu-20.04 + needs: + - job_module_deploy_validation + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: deep-mm/set-variables@v1.0 + with: + variableFileName: 'global.variables' + - name: 'Publish module' + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' + versioningOption: '${{ inputs.versioningOption }}' + customVersion: '${{ inputs.customVersion }}' + templateSpecsRGName: '${{ env.templateSpecsRGName }}' + templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' + templateSpecsDescription: '${{ env.templateSpecsDescription }}' + templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' + bicepRegistryName: '${{ env.bicepRegistryName }}' + bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' + bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' + bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' From 7888c0d284d7349ab5d6aefb826e33e2af9ea2a7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 02:06:23 +0100 Subject: [PATCH 124/260] dep --- .github/workflows/platform.dependencies.yml | 1600 +++++++++---------- 1 file changed, 800 insertions(+), 800 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 66a708251f..6091c135a7 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -56,59 +56,59 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - # job_deploy_msi: - # runs-on: ubuntu-20.04 - # name: 'Deploy user assigned identity' - # env: - # namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_pa: - # runs-on: ubuntu-20.04 - # name: 'Deploy policy assignment' - # env: - # namespace: 'Microsoft.Authorization\policyAssignments' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_policyAssignments_sub.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' + job_deploy_msi: + runs-on: ubuntu-20.04 + name: 'Deploy user assigned identity' + env: + namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_pa: + runs-on: ubuntu-20.04 + name: 'Deploy policy assignment' + env: + namespace: 'Microsoft.Authorization\policyAssignments' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_policyAssignments_sub.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' job_deploy_privateBicepRegistry: runs-on: ubuntu-20.04 @@ -137,273 +137,273 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - # job_deploy_evh: - # runs-on: ubuntu-20.04 - # name: 'Deploy eventhub' - # env: - # namespace: 'Microsoft.EventHub\namespaces' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_law: - # runs-on: ubuntu-20.04 - # name: 'Deploy log analytics workspace' - # env: - # namespace: 'Microsoft.OperationalInsights\workspaces' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['appi.parameters.json', 'parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_sa: - # runs-on: ubuntu-20.04 - # name: 'Deploy storage account' - # env: - # namespace: 'Microsoft.Storage\storageAccounts' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: - # ['fa.parameters.json', 'law.parameters.json', 'parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_upload_storage_files: - # runs-on: ubuntu-20.04 - # name: 'Upload files to storage account' - # needs: - # - job_deploy_sa - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Azure Login - # uses: azure/login@v1 - # with: - # creds: ${{ secrets.AZURE_CREDENTIALS }} - # enable-AzPSSession: true - # - name: Run PowerShell - # uses: azure/powershell@v1 - # with: - # inlineScript: | - # # Load used functions - # . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Export-ContentToBlob.ps1') - - # # Get storage account name - # $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'parameters' 'parameters.json' - # $storageAccountParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters - - # # Upload files to storage account - # $functionInput = @{ - # ResourceGroupName = '${{ env.resourceGroupName }}' - # StorageAccountName = $storageAccountParameters.name.value - # contentDirectories = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'uploads' - # targetContainer = $storageAccountParameters.blobServices.value.containers[0].name - # } - - # Write-Verbose "Invoke task with" -Verbose - # Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - # Export-ContentToBlob @functionInput -Verbose - # azPSVersion: 'latest' - - # job_deploy_sig: - # runs-on: ubuntu-20.04 - # name: 'Deploy shared image gallery and definition' - # env: - # namespace: 'Microsoft.Compute\galleries' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_ag: - # runs-on: ubuntu-20.04 - # name: 'Deploy action groups' - # env: - # namespace: 'Microsoft.Insights\actionGroups' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_asg: - # runs-on: ubuntu-20.04 - # name: 'Deploy application security groups' - # env: - # namespace: 'Microsoft.Network\applicationSecurityGroups' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_udr: - # runs-on: ubuntu-20.04 - # name: 'Deploy sqlmi route tables' - # env: - # namespace: 'Microsoft.Network\routeTables' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_sqlmi_udr: - # runs-on: ubuntu-20.04 - # name: 'Deploy sqlmi route tables' - # if: github.event.inputs.deploySqlMiDependencies == 'true' - # env: - # namespace: 'Microsoft.Network\routeTables' - # needs: - # - job_deploy_rg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['sqlMi.parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' + job_deploy_evh: + runs-on: ubuntu-20.04 + name: 'Deploy eventhub' + env: + namespace: 'Microsoft.EventHub\namespaces' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_law: + runs-on: ubuntu-20.04 + name: 'Deploy log analytics workspace' + env: + namespace: 'Microsoft.OperationalInsights\workspaces' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['appi.parameters.json', 'parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_sa: + runs-on: ubuntu-20.04 + name: 'Deploy storage account' + env: + namespace: 'Microsoft.Storage\storageAccounts' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: + ['fa.parameters.json', 'law.parameters.json', 'parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_upload_storage_files: + runs-on: ubuntu-20.04 + name: 'Upload files to storage account' + needs: + - job_deploy_sa + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Azure Login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + enable-AzPSSession: true + - name: Run PowerShell + uses: azure/powershell@v1 + with: + inlineScript: | + # Load used functions + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Export-ContentToBlob.ps1') + + # Get storage account name + $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'parameters' 'parameters.json' + $storageAccountParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters + + # Upload files to storage account + $functionInput = @{ + ResourceGroupName = '${{ env.resourceGroupName }}' + StorageAccountName = $storageAccountParameters.name.value + contentDirectories = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'uploads' + targetContainer = $storageAccountParameters.blobServices.value.containers[0].name + } + + Write-Verbose "Invoke task with" -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + Export-ContentToBlob @functionInput -Verbose + azPSVersion: 'latest' + + job_deploy_sig: + runs-on: ubuntu-20.04 + name: 'Deploy shared image gallery and definition' + env: + namespace: 'Microsoft.Compute\galleries' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_ag: + runs-on: ubuntu-20.04 + name: 'Deploy action groups' + env: + namespace: 'Microsoft.Insights\actionGroups' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_asg: + runs-on: ubuntu-20.04 + name: 'Deploy application security groups' + env: + namespace: 'Microsoft.Network\applicationSecurityGroups' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_udr: + runs-on: ubuntu-20.04 + name: 'Deploy sqlmi route tables' + env: + namespace: 'Microsoft.Network\routeTables' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_sqlmi_udr: + runs-on: ubuntu-20.04 + name: 'Deploy sqlmi route tables' + if: github.event.inputs.deploySqlMiDependencies == 'true' + env: + namespace: 'Microsoft.Network\routeTables' + needs: + - job_deploy_rg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['sqlMi.parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' job_deploy_nsg: runs-on: ubuntu-20.04 name: 'Deploy network security groups' env: namespace: 'Microsoft.Network\networkSecurityGroups' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law strategy: fail-fast: false matrix: @@ -430,489 +430,489 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - # job_deploy_sqlmi_nsg: - # runs-on: ubuntu-20.04 - # name: 'Deploy sqlmi network security group' - # if: github.event.inputs.deploySqlMiDependencies == 'true' - # env: - # namespace: 'Microsoft.Network\networkSecurityGroups' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['sqlmi.parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_pip: - # runs-on: ubuntu-20.04 - # name: 'Deploy public IP addresses' - # env: - # namespace: 'Microsoft.Network\publicIPAddresses' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: - # ['apgw.parameters.json', 'bas.parameters.json', 'lb.parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_appi: - # runs-on: ubuntu-20.04 - # name: 'Deploy application insight' - # env: - # namespace: 'Microsoft.Insights\components' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_aut: - # runs-on: ubuntu-20.04 - # name: 'Deploy automation account' - # env: - # namespace: 'Microsoft.Automation\automationAccounts' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_avdhp: - # runs-on: ubuntu-20.04 - # name: 'Deploy AVD host pool' - # env: - # namespace: 'Microsoft.DesktopVirtualization\hostpools' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_rsv: - # runs-on: ubuntu-20.04 - # name: 'Deploy recovery services vault' - # env: - # namespace: 'Microsoft.RecoveryServices\vaults' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_kv: - # runs-on: ubuntu-20.04 - # name: 'Deploy key vaults' - # env: - # namespace: 'Microsoft.KeyVault\vaults' - # # needs: - # # - job_deploy_sa - # # - job_deploy_evh - # # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json', 'pe.parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_kv_secrets: - # runs-on: ubuntu-20.04 - # name: 'Set key vault secrets keys and certificates' - # needs: - # - job_deploy_kv - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Azure Login - # uses: azure/login@v1 - # with: - # creds: ${{ secrets.AZURE_CREDENTIALS }} - # enable-AzPSSession: true - # - name: Run PowerShell - # uses: azure/powershell@v1 - # with: - # inlineScript: | - # $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length - # $passwordString = (New-Guid).Guid.SubString(0,19) - # $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - # $keyVaultName = 'adp-sxx-az-kv-x-001' - # $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - # $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - # $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force - # # VirtualMachines and VMSS - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminUsername' -SecretValue $username - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminPassword' -SecretValue $password - # # Azure SQLServer - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password - # # VirtualNetworkGateway - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'vpnSharedKey' -SecretValue $vpnSharedKey - # # DiskEncryptionSet, VirtualMachines and VMSS - # az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKey' - # # ApplicationGateway - # $apgwCertPolicy = New-AzKeyVaultCertificatePolicy -SecretContentType 'application/x-pkcs12' -SubjectName 'CN=fabrikam.com' -IssuerName 'Self' -ValidityInMonths 12 -ReuseKeyOnRenewal - # Add-AzKeyVaultCertificate -VaultName $keyVaultName -Name 'applicationGatewaySslCertificate' -CertificatePolicy $apgwCertPolicy - # # API management - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientid' -SecretValue $username - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientsecret' -SecretValue $password - # azPSVersion: 'latest' - - # job_deploy_sqlmi_kv: - # runs-on: ubuntu-20.04 - # name: 'Deploy sqlmi key vault' - # if: github.event.inputs.deploySqlMiDependencies == 'true' - # env: - # namespace: 'Microsoft.KeyVault\vaults' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['sqlmi.parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_sqlmi_kv_secrets: - # runs-on: ubuntu-20.04 - # name: 'Set sqlmi key vault secrets and keys' - # if: github.event.inputs.deploySqlMiDependencies == 'true' - # needs: - # - job_deploy_sqlmi_kv - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: Azure Login - # uses: azure/login@v1 - # with: - # creds: ${{ secrets.AZURE_CREDENTIALS }} - # enable-AzPSSession: true - # - name: Run PowerShell - # uses: azure/powershell@v1 - # with: - # inlineScript: | - # $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length - # $passwordString = (New-Guid).Guid.SubString(0,19) - # $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - # $keyVaultName = 'adp-sxx-az-kv-x-sqlmi' - # $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - # $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - # $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force - # # SQLManagedInstances secrets - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username - # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password - # # SQLManagedInstances Keys - # az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKeySqlMi' - # azPSVersion: 'latest' - - # job_deploy_avdag: - # runs-on: ubuntu-20.04 - # name: 'Deploy AVD application group' - # env: - # namespace: 'Microsoft.DesktopVirtualization\applicationgroups' - # needs: - # - job_deploy_avdhp - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_rolea: - # runs-on: ubuntu-20.04 - # name: 'Deploy role assignments' - # env: - # namespace: 'Microsoft.Authorization\roleAssignments' - # needs: - # - job_deploy_msi - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_rbac_sub.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_vnet: - # runs-on: ubuntu-20.04 - # name: 'Deploy virtual networks' - # env: - # namespace: 'Microsoft.Network\virtualNetworks' - # needs: - # - job_deploy_nsg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: - # [ - # '1.bastion.parameters.json', - # '2.vnetpeer01.parameters.json', - # '3.vnetpeer02.parameters.json', - # '4.azfw.parameters.json', - # '5.aks.parameters.json', - # 'parameters.json', - # ] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_sqlmi_vnet: - # runs-on: ubuntu-20.04 - # name: 'Deploy sqlmi virtual network' - # if: github.event.inputs.deploySqlMiDependencies == 'true' - # env: - # namespace: 'Microsoft.Network\virtualNetworks' - # needs: - # - job_deploy_sqlmi_udr - # - job_deploy_sqlmi_nsg - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['6.sqlmi.parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_dnszone: - # runs-on: ubuntu-20.04 - # name: 'Deploy private DNS zones' - # env: - # namespace: 'Microsoft.Network\privateDnsZones' - # needs: - # - job_deploy_vnet - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' - - # job_deploy_vm: - # runs-on: ubuntu-20.04 - # name: 'Deploy virtual machines' - # env: - # namespace: 'Microsoft.Compute\virtualMachines' - # needs: - # - job_deploy_kv_secrets - # - job_deploy_vnet - # - job_deploy_rsv - # strategy: - # fail-fast: false - # matrix: - # parameterFilePaths: ['parameters.json'] - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 - # - name: 'Deploy module' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - # location: '${{ env.defaultLocation }}' - # resourceGroupName: '${{ env.resourceGroupName }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ env.removeDeployment }}' + job_deploy_sqlmi_nsg: + runs-on: ubuntu-20.04 + name: 'Deploy sqlmi network security group' + if: github.event.inputs.deploySqlMiDependencies == 'true' + env: + namespace: 'Microsoft.Network\networkSecurityGroups' + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['sqlmi.parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_pip: + runs-on: ubuntu-20.04 + name: 'Deploy public IP addresses' + env: + namespace: 'Microsoft.Network\publicIPAddresses' + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: + ['apgw.parameters.json', 'bas.parameters.json', 'lb.parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_appi: + runs-on: ubuntu-20.04 + name: 'Deploy application insight' + env: + namespace: 'Microsoft.Insights\components' + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_aut: + runs-on: ubuntu-20.04 + name: 'Deploy automation account' + env: + namespace: 'Microsoft.Automation\automationAccounts' + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_avdhp: + runs-on: ubuntu-20.04 + name: 'Deploy AVD host pool' + env: + namespace: 'Microsoft.DesktopVirtualization\hostpools' + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_rsv: + runs-on: ubuntu-20.04 + name: 'Deploy recovery services vault' + env: + namespace: 'Microsoft.RecoveryServices\vaults' + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_kv: + runs-on: ubuntu-20.04 + name: 'Deploy key vaults' + env: + namespace: 'Microsoft.KeyVault\vaults' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json', 'pe.parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_kv_secrets: + runs-on: ubuntu-20.04 + name: 'Set key vault secrets keys and certificates' + needs: + - job_deploy_kv + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Azure Login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + enable-AzPSSession: true + - name: Run PowerShell + uses: azure/powershell@v1 + with: + inlineScript: | + $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length + $passwordString = (New-Guid).Guid.SubString(0,19) + $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) + $keyVaultName = 'adp-sxx-az-kv-x-001' + $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force + $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force + $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force + # VirtualMachines and VMSS + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminUsername' -SecretValue $username + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminPassword' -SecretValue $password + # Azure SQLServer + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password + # VirtualNetworkGateway + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'vpnSharedKey' -SecretValue $vpnSharedKey + # DiskEncryptionSet, VirtualMachines and VMSS + az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKey' + # ApplicationGateway + $apgwCertPolicy = New-AzKeyVaultCertificatePolicy -SecretContentType 'application/x-pkcs12' -SubjectName 'CN=fabrikam.com' -IssuerName 'Self' -ValidityInMonths 12 -ReuseKeyOnRenewal + Add-AzKeyVaultCertificate -VaultName $keyVaultName -Name 'applicationGatewaySslCertificate' -CertificatePolicy $apgwCertPolicy + # API management + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientid' -SecretValue $username + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientsecret' -SecretValue $password + azPSVersion: 'latest' + + job_deploy_sqlmi_kv: + runs-on: ubuntu-20.04 + name: 'Deploy sqlmi key vault' + if: github.event.inputs.deploySqlMiDependencies == 'true' + env: + namespace: 'Microsoft.KeyVault\vaults' + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['sqlmi.parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_sqlmi_kv_secrets: + runs-on: ubuntu-20.04 + name: 'Set sqlmi key vault secrets and keys' + if: github.event.inputs.deploySqlMiDependencies == 'true' + needs: + - job_deploy_sqlmi_kv + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Azure Login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + enable-AzPSSession: true + - name: Run PowerShell + uses: azure/powershell@v1 + with: + inlineScript: | + $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length + $passwordString = (New-Guid).Guid.SubString(0,19) + $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) + $keyVaultName = 'adp-sxx-az-kv-x-sqlmi' + $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force + $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force + $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force + # SQLManagedInstances secrets + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username + Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password + # SQLManagedInstances Keys + az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKeySqlMi' + azPSVersion: 'latest' + + job_deploy_avdag: + runs-on: ubuntu-20.04 + name: 'Deploy AVD application group' + env: + namespace: 'Microsoft.DesktopVirtualization\applicationgroups' + needs: + - job_deploy_avdhp + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_rolea: + runs-on: ubuntu-20.04 + name: 'Deploy role assignments' + env: + namespace: 'Microsoft.Authorization\roleAssignments' + needs: + - job_deploy_msi + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_rbac_sub.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_vnet: + runs-on: ubuntu-20.04 + name: 'Deploy virtual networks' + env: + namespace: 'Microsoft.Network\virtualNetworks' + needs: + - job_deploy_nsg + strategy: + fail-fast: false + matrix: + parameterFilePaths: + [ + '1.bastion.parameters.json', + '2.vnetpeer01.parameters.json', + '3.vnetpeer02.parameters.json', + '4.azfw.parameters.json', + '5.aks.parameters.json', + 'parameters.json', + ] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_sqlmi_vnet: + runs-on: ubuntu-20.04 + name: 'Deploy sqlmi virtual network' + if: github.event.inputs.deploySqlMiDependencies == 'true' + env: + namespace: 'Microsoft.Network\virtualNetworks' + needs: + - job_deploy_sqlmi_udr + - job_deploy_sqlmi_nsg + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['6.sqlmi.parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_dnszone: + runs-on: ubuntu-20.04 + name: 'Deploy private DNS zones' + env: + namespace: 'Microsoft.Network\privateDnsZones' + needs: + - job_deploy_vnet + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' + + job_deploy_vm: + runs-on: ubuntu-20.04 + name: 'Deploy virtual machines' + env: + namespace: 'Microsoft.Compute\virtualMachines' + needs: + - job_deploy_kv_secrets + - job_deploy_vnet + - job_deploy_rsv + strategy: + fail-fast: false + matrix: + parameterFilePaths: ['parameters.json'] + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Deploy module' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + location: '${{ env.defaultLocation }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ env.removeDeployment }}' From 71b2685c3b2f32d7844ac017913f528ed18cafa2 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 02:14:40 +0100 Subject: [PATCH 125/260] repo var --- .github/workflows/ms.network.virtualnetworks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 7f982cbfbc..ad415b404d 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -63,12 +63,13 @@ jobs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + repo: 'eriqua/ResourceModules' call-workflow-passing-data: name: 'Template' needs: - job_set_workflow_param - uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main + uses: ${{ needs.job_set_workflow_param.outputs.repo }}/.github/workflows/template.module.yml@main with: modulePath: 'arm/Microsoft.Network/virtualNetworks' removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' From b5ba90ad5c2c04432f91ae6eb68af4d16e1d4a10 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 02:17:25 +0100 Subject: [PATCH 126/260] modulePath --- .github/workflows/ms.network.virtualnetworks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index ad415b404d..12d172f0a1 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -63,15 +63,15 @@ jobs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - repo: 'eriqua/ResourceModules' + modulePath: '${{ env.modulePath}}' call-workflow-passing-data: name: 'Template' needs: - job_set_workflow_param - uses: ${{ needs.job_set_workflow_param.outputs.repo }}/.github/workflows/template.module.yml@main + uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main with: - modulePath: 'arm/Microsoft.Network/virtualNetworks' + modulePath: '${{ needs.job_set_workflow_param.outputs.modulePath }}' removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' From 8385e42e9d231f0810d20f4ebd4411fe18ebcf55 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 02:23:19 +0100 Subject: [PATCH 127/260] align --- .github/workflows/ms.network.virtualnetworks.yml | 9 ++++++--- .github/workflows/ms.resources.resourcegroups.yml | 12 ++++++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 12d172f0a1..2bdca3cf2f 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -60,11 +60,14 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} - customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + removeDeployment: '${{ steps.get-workflow-param.outputs.removeDeployment }}' + versioningOption: '${{ steps.get-workflow-param.outputs.versioningOption }}' + customVersion: '${{ steps.get-workflow-param.outputs.customVersion }}' modulePath: '${{ env.modulePath}}' + ############################## + # Call reusable workflow # + ############################## call-workflow-passing-data: name: 'Template' needs: diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 4a3c20c27f..b909a1a185 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -60,17 +60,21 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} - customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} + removeDeployment: '${{ steps.get-workflow-param.outputs.removeDeployment }}' + versioningOption: '${{ steps.get-workflow-param.outputs.versioningOption }}' + customVersion: '${{ steps.get-workflow-param.outputs.customVersion }}' + modulePath: '${{ env.modulePath}}' + ############################## + # Call reusable workflow # + ############################## call-workflow-passing-data: name: 'Template' needs: - job_set_workflow_param uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main with: - modulePath: 'arm/Microsoft.Resources/resourceGroups' + modulePath: '${{ env.modulePath}}' removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' From 8ed25145bd0295f03ed901e7be9a3f432905576a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 02:25:28 +0100 Subject: [PATCH 128/260] modulepath output --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index b909a1a185..bdbe495681 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -74,7 +74,7 @@ jobs: - job_set_workflow_param uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main with: - modulePath: '${{ env.modulePath}}' + modulePath: '${{ needs.job_set_workflow_param.outputs.modulePath }}' removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' From 8736a53ab8d3db1ef68bfc06ba0f4f9d11735fdd Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 02:43:33 +0100 Subject: [PATCH 129/260] change dep name --- .github/workflows/platform.dependencies.yml | 12 +++--- .../servers/.parameters/parameters.json | 6 +-- .../service/.parameters/max.parameters.json | 10 ++--- arm/Microsoft.ApiManagement/service/readme.md | 4 +- .../.parameters/min.parameters.json | 2 +- .../.parameters/parameters.json | 2 +- .../accounts/.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 14 +++---- .../automationAccounts/readme.md | 4 +- .../batchAccounts/.parameters/parameters.json | 6 +-- .../accounts/.parameters/parameters.json | 8 ++-- .../accounts/readme.md | 4 +- .../.parameters/parameters.json | 4 +- .../.parameters/linux.min.parameters.json | 2 +- .../.parameters/linux.parameters.json | 18 ++++----- .../.parameters/windows.min.parameters.json | 6 +-- .../.parameters/windows.parameters.json | 22 +++++------ .../virtualMachineScaleSets/readme.md | 8 ++-- .../.parameters/linux.min.parameters.json | 2 +- .../.parameters/linux.parameters.json | 20 +++++----- .../.parameters/windows.min.parameters.json | 4 +- .../.parameters/windows.parameters.json | 22 +++++------ .../virtualMachines/readme.md | 8 ++-- .../.parameters/parameters.json | 2 +- .../containerGroups/readme.md | 4 +- .../registries/.parameters/parameters.json | 8 ++-- .../registries/readme.md | 4 +- .../.parameters/azure.parameters.json | 12 +++--- .../.parameters/kubenet.parameters.json | 8 ++-- .../managedClusters/readme.md | 4 +- .../factories/.parameters/parameters.json | 8 ++-- arm/Microsoft.DataFactory/factories/readme.md | 4 +- .../workspaces/.parameters/parameters.json | 6 +-- .../.parameters/min.parameters.json | 2 +- .../.parameters/parameters.json | 8 ++-- .../hostpools/.parameters/parameters.json | 6 +-- .../workspaces/.parameters/parameters.json | 8 ++-- .../.parameters/mongodb.parameters.json | 6 +-- .../.parameters/plain.parameters.json | 6 +-- .../.parameters/sqldb.parameters.json | 8 ++-- .../databaseAccounts/readme.md | 4 +- .../topics/.parameters/parameters.json | 6 +-- .../namespaces/.parameters/parameters.json | 8 ++-- arm/Microsoft.EventHub/namespaces/readme.md | 4 +- .../.parameters/parameters.json | 2 +- .../components/.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 6 +-- .../metricAlerts/.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 2 +- .../vaults/.parameters/parameters.json | 6 +-- .../workflows/.parameters/parameters.json | 6 +-- arm/Microsoft.Logic/workflows/readme.md | 4 +- .../workspaces/.parameters/parameters.json | 10 ++--- .../.parameters/nfs3.parameters.json | 4 +- .../.parameters/nfs41.parameters.json | 4 +- .../.parameters/parameters.json | 14 +++---- .../applicationGateways/readme.md | 4 +- .../.parameters/parameters.json | 8 ++-- .../.parameters/min.parameters.json | 2 +- .../bastionHosts/.parameters/parameters.json | 10 ++--- .../connections/.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 6 +-- .../firewallPolicies/readme.md | 4 +- .../loadBalancers/.parameters/parameters.json | 8 ++-- .../natGateways/.parameters/parameters.json | 6 +-- .../.parameters/parameters.json | 10 ++--- .../.parameters/parameters.json | 16 ++++---- .../.parameters/parameters.json | 2 +- .../.parameters/min.parameters.json | 4 +- .../.parameters/parameters.json | 4 +- .../.parameters/parameters.json | 6 +-- .../.parameters/parameters.json | 6 +-- .../.parameters/expressRoute.parameters.json | 8 ++-- .../.parameters/vpn.parameters.json | 8 ++-- .../.parameters/parameters.json | 10 ++--- .../.parameters/vnetPeering.parameters.json | 8 ++-- .../workspaces/.parameters/parameters.json | 8 ++-- .../vaults/.parameters/parameters.json | 8 ++-- .../vaults/readme.md | 4 +- .../.parameters/cli.parameters.json | 2 +- .../.parameters/ps.parameters.json | 2 +- .../deploymentScripts/readme.md | 4 +- .../.parameters/parameters.json | 2 +- .../namespaces/.parameters/parameters.json | 10 ++--- arm/Microsoft.ServiceBus/namespaces/readme.md | 4 +- .../.parameters/parameters.json | 22 +++++------ arm/Microsoft.Sql/managedInstances/readme.md | 8 ++-- .../servers/.parameters/parameters.json | 12 +++--- arm/Microsoft.Sql/servers/readme.md | 4 +- .../.parameters/parameters.json | 32 ++++++++-------- .../storageAccounts/readme.md | 4 +- .../.parameters/parameters.json | 4 +- .../.parameters/parameters.json | 8 ++-- .../sites/.parameters/fa.parameters.json | 10 ++--- .../sites/.parameters/wa.parameters.json | 10 ++--- arm/Microsoft.Web/sites/readme.md | 4 +- docs/wiki/TestingDesign.md | 38 +++++++++---------- docs/wiki/TestingUsage.md | 2 +- .../parameters/parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../galleries/parameters/parameters.json | 2 +- .../parameters/parameters.json | 6 +-- .../parameters/parameters.json | 4 +- .../hostpools/parameters/parameters.json | 2 +- .../namespaces/parameters/parameters.json | 4 +- .../actionGroups/parameters/parameters.json | 2 +- .../components/parameters/parameters.json | 4 +- .../vaults/parameters/parameters.json | 4 +- .../vaults/parameters/pe.parameters.json | 4 +- .../vaults/parameters/sqlmi.parameters.json | 4 +- .../parameters/parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../parameters/apgw.parameters.json | 2 +- .../parameters/ase.parameters.json | 2 +- .../parameters/bastion.parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../parameters/sqlmi.parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../parameters/apgw.parameters.json | 2 +- .../parameters/bas.parameters.json | 2 +- .../parameters/lb.parameters.json | 2 +- .../routeTables/parameters/parameters.json | 2 +- .../parameters/sqlMi.parameters.json | 2 +- .../parameters/1.bastion.parameters.json | 4 +- .../parameters/2.vnetpeer01.parameters.json | 4 +- .../parameters/3.vnetpeer02.parameters.json | 4 +- .../parameters/4.azfw.parameters.json | 2 +- .../parameters/5.aks.parameters.json | 8 ++-- .../parameters/6.sqlmi.parameters.json | 6 +-- .../parameters/parameters.json | 16 ++++---- .../parameters/appi.parameters.json | 2 +- .../workspaces/parameters/parameters.json | 2 +- .../vaults/parameters/parameters.json | 2 +- .../resourceUsage-userAssignedIdentities.md | 4 +- 136 files changed, 418 insertions(+), 418 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 6091c135a7..722734703d 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -611,10 +611,10 @@ jobs: name: 'Deploy key vaults' env: namespace: 'Microsoft.KeyVault\vaults' - # needs: - # - job_deploy_sa - # - job_deploy_evh - # - job_deploy_law + needs: + - job_deploy_sa + - job_deploy_evh + - job_deploy_law strategy: fail-fast: false matrix: @@ -657,7 +657,7 @@ jobs: $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length $passwordString = (New-Guid).Guid.SubString(0,19) $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - $keyVaultName = 'adp-sxx-az-kv-x-001' + $keyVaultName = 'adpq-sxx-az-kv-x-001' $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force @@ -732,7 +732,7 @@ jobs: $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length $passwordString = (New-Guid).Guid.SubString(0,19) $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - $keyVaultName = 'adp-sxx-az-kv-x-sqlmi' + $keyVaultName = 'adpq-sxx-az-kv-x-sqlmi' $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force diff --git a/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json b/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json index 793bf2b62f..488572842d 100644 --- a/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json +++ b/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json @@ -25,13 +25,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json b/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json index 99a6c65e80..d5dfdd358b 100644 --- a/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json +++ b/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json @@ -40,7 +40,7 @@ "grantTypes": [ "authorizationCode" ], - "clientCredentialsKeyVaultId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "clientCredentialsKeyVaultId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "clientIdSecretName": "apimclientid", "clientSecretSecretName": "apimclientsecret", "clientRegistrationEndpoint": "http://localhost", @@ -145,7 +145,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -165,13 +165,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.ApiManagement/service/readme.md b/arm/Microsoft.ApiManagement/service/readme.md index 36768ae46d..88521d183a 100644 --- a/arm/Microsoft.ApiManagement/service/readme.md +++ b/arm/Microsoft.ApiManagement/service/readme.md @@ -130,8 +130,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Authorization/policyExemptions/.parameters/min.parameters.json b/arm/Microsoft.Authorization/policyExemptions/.parameters/min.parameters.json index b93da1628c..382d5903bb 100644 --- a/arm/Microsoft.Authorization/policyExemptions/.parameters/min.parameters.json +++ b/arm/Microsoft.Authorization/policyExemptions/.parameters/min.parameters.json @@ -6,7 +6,7 @@ "value": "sxx-pexe-loc-rg-min" }, "policyAssignmentId": { - "value": "/subscriptions/<>/providers/Microsoft.Authorization/policyAssignments/adp-sxx-pass-loc-rg" + "value": "/subscriptions/<>/providers/Microsoft.Authorization/policyAssignments/adpq-sxx-pass-loc-rg" }, "subscriptionId": { "value": "<>" diff --git a/arm/Microsoft.Authorization/policyExemptions/.parameters/parameters.json b/arm/Microsoft.Authorization/policyExemptions/.parameters/parameters.json index 240fc99101..9af7c626a2 100644 --- a/arm/Microsoft.Authorization/policyExemptions/.parameters/parameters.json +++ b/arm/Microsoft.Authorization/policyExemptions/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": "[Test] policy exempt" }, "policyAssignmentId": { - "value": "/subscriptions/<>/providers/Microsoft.Authorization/policyAssignments/adp-sxx-pass-loc-rg" + "value": "/subscriptions/<>/providers/Microsoft.Authorization/policyAssignments/adpq-sxx-pass-loc-rg" }, "exemptionCategory": { "value": "Waiver" diff --git a/arm/Microsoft.Automanage/accounts/.parameters/parameters.json b/arm/Microsoft.Automanage/accounts/.parameters/parameters.json index cdc4c40614..f0b651f021 100644 --- a/arm/Microsoft.Automanage/accounts/.parameters/parameters.json +++ b/arm/Microsoft.Automanage/accounts/.parameters/parameters.json @@ -6,7 +6,7 @@ "value": "validation-rg" }, "vmName": { - "value": "adp-vm-001" + "value": "adpq-vm-001" }, "autoManageAccountResourceGroupName": { "value": "validation-rg" diff --git a/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json b/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json index 4284a511cc..5d31a854cd 100644 --- a/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json @@ -77,7 +77,7 @@ ] }, "linkedWorkspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "gallerySolutions": { "value": [ @@ -146,11 +146,11 @@ "privateEndpoints": { "value": [ { - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints", + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints", "service": "Webhook" }, { - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints", + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints", "service": "DSCAndHybridWorker" } ] @@ -160,7 +160,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -180,13 +180,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Automation/automationAccounts/readme.md b/arm/Microsoft.Automation/automationAccounts/readme.md index dde5a5471d..fb11fa6f04 100644 --- a/arm/Microsoft.Automation/automationAccounts/readme.md +++ b/arm/Microsoft.Automation/automationAccounts/readme.md @@ -133,8 +133,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json b/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json index 76345bc5e7..2e2ee1d56f 100644 --- a/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json @@ -12,13 +12,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json b/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json index 95e624f030..0f247b04d0 100644 --- a/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json +++ b/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json @@ -29,7 +29,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "diagnosticLogsRetentionInDays": { @@ -39,13 +39,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.CognitiveServices/accounts/readme.md b/arm/Microsoft.CognitiveServices/accounts/readme.md index 39266f085c..11f2fe0bd0 100644 --- a/arm/Microsoft.CognitiveServices/accounts/readme.md +++ b/arm/Microsoft.CognitiveServices/accounts/readme.md @@ -177,8 +177,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Compute/diskEncryptionSets/.parameters/parameters.json b/arm/Microsoft.Compute/diskEncryptionSets/.parameters/parameters.json index 6f0d052aea..4cff3be7d7 100644 --- a/arm/Microsoft.Compute/diskEncryptionSets/.parameters/parameters.json +++ b/arm/Microsoft.Compute/diskEncryptionSets/.parameters/parameters.json @@ -6,10 +6,10 @@ "value": "sxx-az-des-x-001" }, "keyVaultId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "keyUrl": { - "value": "https://adp-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/685153483a1140e3856f004a753e1ab4" + "value": "https://adpq-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/685153483a1140e3856f004a753e1ab4" }, "roleAssignments": { "value": [ diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.min.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.min.parameters.json index ad10421ff6..e33a6e9bd6 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.min.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.min.parameters.json @@ -51,7 +51,7 @@ "name": "ipconfig1", "properties": { "subnet": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" } } } diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json index 6ca806d437..26339e17b0 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json @@ -42,7 +42,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "bootDiagnosticStorageAccountName": { @@ -102,7 +102,7 @@ "name": "ipconfig1", "properties": { "subnet": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" } } } @@ -127,13 +127,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "extensionMonitoringAgentConfig": { "value": { @@ -155,10 +155,10 @@ "enabled": true, "settings": { "EncryptionOperation": "EnableEncryption", - "KeyVaultURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", - "KeyEncryptionKeyURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KeyVaultURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KeyEncryptionKeyURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", "VolumeType": "All", "ResizeOSDisk": "false" diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.min.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.min.parameters.json index 903e0f16de..df941c0b71 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.min.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.min.parameters.json @@ -31,7 +31,7 @@ "adminUsername": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "adminUsername" } @@ -39,7 +39,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -53,7 +53,7 @@ "name": "ipconfig1", "properties": { "subnet": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" } } } diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json index 36313da733..66a959f16f 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json @@ -25,7 +25,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "osDisk": { @@ -51,7 +51,7 @@ "adminUsername": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "adminUsername" } @@ -59,7 +59,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -73,7 +73,7 @@ "name": "ipconfig1", "properties": { "subnet": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" } } } @@ -98,13 +98,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "extensionAntiMalwareConfig": { "value": { @@ -146,10 +146,10 @@ "enabled": true, "settings": { "EncryptionOperation": "EnableEncryption", - "KeyVaultURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", - "KeyEncryptionKeyURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KeyVaultURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KeyEncryptionKeyURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", "VolumeType": "All", "ResizeOSDisk": "false" diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/readme.md b/arm/Microsoft.Compute/virtualMachineScaleSets/readme.md index b6c47d8e92..0dbb7a88e3 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/readme.md +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/readme.md @@ -259,9 +259,9 @@ Only for OSType Windows "settings": { "EncryptionOperation": "EnableEncryption", "KeyVaultURL": "https://mykeyvault.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "KeyEncryptionKeyURL": "https://mykeyvault.vault.azure.net/keys/keyEncryptionKey/3e13110def0d4a26ac38341c73c059bb", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", "VolumeType": "All", "ResizeOSDisk": "false" @@ -405,8 +405,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.min.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.min.parameters.json index 2a246bd24b..542bbbc52b 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.min.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.min.parameters.json @@ -46,7 +46,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", "pipConfiguration": { "publicIpNameSuffix": "-pip-01" } diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json index 1240d992a4..5fed37306c 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json @@ -10,7 +10,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "osType": { @@ -54,7 +54,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", "pipConfiguration": { "publicIpNameSuffix": "-pip-01", "roleAssignments": [ @@ -80,7 +80,7 @@ ] }, "backupVaultName": { - "value": "adp-sxx-az-rsv-x-001" + "value": "adpq-sxx-az-rsv-x-001" }, "backupVaultResourceGroup": { "value": "validation-rg" @@ -105,13 +105,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "extensionMonitoringAgentConfig": { "value": { @@ -133,10 +133,10 @@ "enabled": true, "settings": { "EncryptionOperation": "EnableEncryption", - "KeyVaultURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", - "KeyEncryptionKeyURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KeyVaultURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KeyEncryptionKeyURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", "VolumeType": "All", "ResizeOSDisk": "false" diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.min.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.min.parameters.json index 2f16352e83..45f415a74d 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.min.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.min.parameters.json @@ -28,7 +28,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -40,7 +40,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001" + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001" } ] } diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json index 695177884a..d170c597ef 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json @@ -31,7 +31,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -43,7 +43,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", "pipConfiguration": { "publicIpNameSuffix": "-pip-01", "roleAssignments": [ @@ -69,7 +69,7 @@ ] }, "backupVaultName": { - "value": "adp-sxx-az-rsv-x-001" + "value": "adpq-sxx-az-rsv-x-001" }, "backupVaultResourceGroup": { "value": "validation-rg" @@ -94,20 +94,20 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "extensionAntiMalwareConfig": { @@ -150,10 +150,10 @@ "enabled": true, "settings": { "EncryptionOperation": "EnableEncryption", - "KeyVaultURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", - "KeyEncryptionKeyURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KeyVaultURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KeyEncryptionKeyURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", "VolumeType": "All", "ResizeOSDisk": "false" diff --git a/arm/Microsoft.Compute/virtualMachines/readme.md b/arm/Microsoft.Compute/virtualMachines/readme.md index 3cd8f2bc6f..6c51e8ac60 100644 --- a/arm/Microsoft.Compute/virtualMachines/readme.md +++ b/arm/Microsoft.Compute/virtualMachines/readme.md @@ -344,9 +344,9 @@ Only for OSType Windows "value": { "EncryptionOperation": "EnableEncryption", "KeyVaultURL": "https://mykeyvault.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "KeyEncryptionKeyURL": "https://mykeyvault.vault.azure.net/keys/keyEncryptionKey/685153483a1140e3856f004a753e1ab4", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", //'RSA-OAEP'/'RSA-OAEP-256'/'RSA1_5' "VolumeType": "All", //'OS'/'Data'/'All' "ResizeOSDisk": "false" @@ -495,8 +495,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.ContainerInstance/containerGroups/.parameters/parameters.json b/arm/Microsoft.ContainerInstance/containerGroups/.parameters/parameters.json index c5965ae4a7..c4c58c9869 100644 --- a/arm/Microsoft.ContainerInstance/containerGroups/.parameters/parameters.json +++ b/arm/Microsoft.ContainerInstance/containerGroups/.parameters/parameters.json @@ -28,7 +28,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.ContainerInstance/containerGroups/readme.md b/arm/Microsoft.ContainerInstance/containerGroups/readme.md index 2265083bd4..9ef05dd332 100644 --- a/arm/Microsoft.ContainerInstance/containerGroups/readme.md +++ b/arm/Microsoft.ContainerInstance/containerGroups/readme.md @@ -72,8 +72,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json b/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json index 1f9e3dffae..277ff9309e 100644 --- a/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json +++ b/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json @@ -25,20 +25,20 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.ContainerRegistry/registries/readme.md b/arm/Microsoft.ContainerRegistry/registries/readme.md index 6be9b75c05..25ca96f9a9 100644 --- a/arm/Microsoft.ContainerRegistry/registries/readme.md +++ b/arm/Microsoft.ContainerRegistry/registries/readme.md @@ -140,8 +140,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json b/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json index 82b26db678..4b87afca5a 100644 --- a/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json +++ b/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json @@ -19,7 +19,7 @@ "storageProfile": "ManagedDisks", "type": "VirtualMachineScaleSets", "mode": "System", - "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-aks/subnets/Primary", + "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-aks/subnets/Primary", "serviceCidr": "", "maxPods": 30, "availabilityZones": [ @@ -56,7 +56,7 @@ "maxPods": 30, "storageProfile": "ManagedDisks", "mode": "User", - "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-aks/subnets/Secondary" + "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-aks/subnets/Secondary" }, { "name": "userpool2", @@ -81,7 +81,7 @@ "maxPods": 30, "storageProfile": "ManagedDisks", "mode": "User", - "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-aks/subnets/Tertiary" + "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-aks/subnets/Tertiary" } ] }, @@ -102,13 +102,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true diff --git a/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json b/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json index b85a89237f..00c1bc40ac 100644 --- a/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json +++ b/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json @@ -99,17 +99,17 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.ContainerService/managedClusters/readme.md b/arm/Microsoft.ContainerService/managedClusters/readme.md index ab3d640bff..8098cb4c8d 100644 --- a/arm/Microsoft.ContainerService/managedClusters/readme.md +++ b/arm/Microsoft.ContainerService/managedClusters/readme.md @@ -188,8 +188,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.DataFactory/factories/.parameters/parameters.json b/arm/Microsoft.DataFactory/factories/.parameters/parameters.json index 71ef5afd30..71d0a67ca7 100644 --- a/arm/Microsoft.DataFactory/factories/.parameters/parameters.json +++ b/arm/Microsoft.DataFactory/factories/.parameters/parameters.json @@ -43,20 +43,20 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.DataFactory/factories/readme.md b/arm/Microsoft.DataFactory/factories/readme.md index 83383f0d5e..5be8750a2c 100644 --- a/arm/Microsoft.DataFactory/factories/readme.md +++ b/arm/Microsoft.DataFactory/factories/readme.md @@ -87,8 +87,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json b/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json index 3381dd45f0..b38f5c8e1b 100644 --- a/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json @@ -22,13 +22,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/min.parameters.json b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/min.parameters.json index 21be70314e..1052a004ac 100644 --- a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/min.parameters.json +++ b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/min.parameters.json @@ -9,7 +9,7 @@ "value": "RemoteApp" }, "hostpoolName": { - "value": "adp-sxx-az-avdhp-x-001" + "value": "adpq-sxx-az-avdhp-x-001" } } } diff --git a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json index c0c2e3058a..d42eebc70e 100644 --- a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json @@ -12,7 +12,7 @@ "value": "RemoteApp" }, "hostpoolName": { - "value": "adp-sxx-az-avdhp-x-001" + "value": "adpq-sxx-az-avdhp-x-001" }, "friendlyName": { "value": "Remote Applications 1" @@ -57,13 +57,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json index f964afca05..8a5ea0a0c2 100644 --- a/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json @@ -68,13 +68,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json index f2caa1ecf4..ebed8b4c3b 100644 --- a/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json @@ -10,7 +10,7 @@ }, "appGroupResourceIds": { "value": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.DesktopVirtualization/applicationgroups/adp-sxx-az-avdag-x-001" + "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.DesktopVirtualization/applicationgroups/adpq-sxx-az-avdag-x-001" ] }, "workspaceFriendlyName": { @@ -36,13 +36,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json index 2f68bda6e0..f75e479488 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json @@ -225,13 +225,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json index 79cf3c64a0..47e60f114f 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json @@ -36,13 +36,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json index c6960ae4ec..905abab422 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json @@ -59,17 +59,17 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/readme.md b/arm/Microsoft.DocumentDB/databaseAccounts/readme.md index e97f6d1183..6510122e87 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/readme.md +++ b/arm/Microsoft.DocumentDB/databaseAccounts/readme.md @@ -193,8 +193,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.EventGrid/topics/.parameters/parameters.json b/arm/Microsoft.EventGrid/topics/.parameters/parameters.json index ab4941a2e5..fa19c7b084 100644 --- a/arm/Microsoft.EventGrid/topics/.parameters/parameters.json +++ b/arm/Microsoft.EventGrid/topics/.parameters/parameters.json @@ -22,13 +22,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json b/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json index c793abacf5..92e5518023 100644 --- a/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json +++ b/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json @@ -91,20 +91,20 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.EventHub/namespaces/readme.md b/arm/Microsoft.EventHub/namespaces/readme.md index 167327cc51..b015819444 100644 --- a/arm/Microsoft.EventHub/namespaces/readme.md +++ b/arm/Microsoft.EventHub/namespaces/readme.md @@ -132,8 +132,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Insights/activityLogAlerts/.parameters/parameters.json b/arm/Microsoft.Insights/activityLogAlerts/.parameters/parameters.json index 9831a07fcd..986befa178 100644 --- a/arm/Microsoft.Insights/activityLogAlerts/.parameters/parameters.json +++ b/arm/Microsoft.Insights/activityLogAlerts/.parameters/parameters.json @@ -29,7 +29,7 @@ "actions": { "value": [ { - "actionGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/microsoft.insights/actiongroups/adp-sxx-az-ag-x-001" + "actionGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/microsoft.insights/actiongroups/adpq-sxx-az-ag-x-001" } ] }, diff --git a/arm/Microsoft.Insights/components/.parameters/parameters.json b/arm/Microsoft.Insights/components/.parameters/parameters.json index 9a7f819da4..57f0bd3bb9 100644 --- a/arm/Microsoft.Insights/components/.parameters/parameters.json +++ b/arm/Microsoft.Insights/components/.parameters/parameters.json @@ -6,7 +6,7 @@ "value": "sxx-az-appi-x-001" }, "appInsightsWorkspaceResourceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-002" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-002" }, "roleAssignments": { "value": [ diff --git a/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json b/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json index 113c405602..f0a5553326 100644 --- a/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json +++ b/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json @@ -12,13 +12,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Insights/metricAlerts/.parameters/parameters.json b/arm/Microsoft.Insights/metricAlerts/.parameters/parameters.json index 33c0200b33..6860c5aa8d 100644 --- a/arm/Microsoft.Insights/metricAlerts/.parameters/parameters.json +++ b/arm/Microsoft.Insights/metricAlerts/.parameters/parameters.json @@ -10,7 +10,7 @@ }, "actions": { "value": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/microsoft.insights/actiongroups/adp-sxx-az-ag-x-001" + "/subscriptions/<>/resourceGroups/validation-rg/providers/microsoft.insights/actiongroups/adpq-sxx-az-ag-x-001" ] }, "targetResourceType": { diff --git a/arm/Microsoft.Insights/privateLinkScopes/.parameters/parameters.json b/arm/Microsoft.Insights/privateLinkScopes/.parameters/parameters.json index 58b88cd17e..68c05e54f8 100644 --- a/arm/Microsoft.Insights/privateLinkScopes/.parameters/parameters.json +++ b/arm/Microsoft.Insights/privateLinkScopes/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": [ { "name": "scoped1", - "linkedResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "linkedResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" } ] }, diff --git a/arm/Microsoft.Insights/scheduledQueryRules/.parameters/parameters.json b/arm/Microsoft.Insights/scheduledQueryRules/.parameters/parameters.json index 97b7c84026..9eb8216074 100644 --- a/arm/Microsoft.Insights/scheduledQueryRules/.parameters/parameters.json +++ b/arm/Microsoft.Insights/scheduledQueryRules/.parameters/parameters.json @@ -10,7 +10,7 @@ }, "scopes": { "value": [ - "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" ] }, "evaluationFrequency": { diff --git a/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json b/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json index 66f042ed63..ce53f5c1b7 100644 --- a/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json +++ b/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json @@ -93,13 +93,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Logic/workflows/.parameters/parameters.json b/arm/Microsoft.Logic/workflows/.parameters/parameters.json index a7db93dbbf..09a603f193 100644 --- a/arm/Microsoft.Logic/workflows/.parameters/parameters.json +++ b/arm/Microsoft.Logic/workflows/.parameters/parameters.json @@ -60,13 +60,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true diff --git a/arm/Microsoft.Logic/workflows/readme.md b/arm/Microsoft.Logic/workflows/readme.md index 2fba538994..b2c262d1a5 100644 --- a/arm/Microsoft.Logic/workflows/readme.md +++ b/arm/Microsoft.Logic/workflows/readme.md @@ -145,8 +145,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json b/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json index 7b9698db76..bbf833f8cf 100644 --- a/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json @@ -12,10 +12,10 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "associatedKeyVaultResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "associatedApplicationInsightsResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Insights/components/adp-sxx-az-appi-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Insights/components/adpq-sxx-az-appi-x-001" }, "roleAssignments": { "value": [ @@ -34,13 +34,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true diff --git a/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs3.parameters.json b/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs3.parameters.json index 92f6e42596..b228730f22 100644 --- a/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs3.parameters.json +++ b/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs3.parameters.json @@ -28,7 +28,7 @@ "allowedClients": "0.0.0.0/0" } ], - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004", + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004", "roleAssignments": [ { "roleDefinitionIdOrName": "Reader", @@ -44,7 +44,7 @@ "protocolTypes": [ "NFSv3" ], - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004" + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004" } ], "roleAssignments": [ diff --git a/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs41.parameters.json b/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs41.parameters.json index b5e22651bc..bba3f6d44b 100644 --- a/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs41.parameters.json +++ b/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs41.parameters.json @@ -28,7 +28,7 @@ "allowedClients": "0.0.0.0/0" } ], - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004", + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004", "roleAssignments": [ { "roleDefinitionIdOrName": "Reader", @@ -54,7 +54,7 @@ "allowedClients": "0.0.0.0/0" } ], - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004" + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004" } ], "roleAssignments": [ diff --git a/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json b/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json index 8a4e78409b..bea05e4047 100644 --- a/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json +++ b/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": "WAF_v2" }, "vNetName": { - "value": "adp-sxx-az-vnet-x-001" + "value": "adpq-sxx-az-vnet-x-001" }, "subnetName": { "value": "sxx-az-subnet-x-007" @@ -21,15 +21,15 @@ "value": "10.0.8.6" }, "frontendPublicIpResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adp-sxx-az-pip-x-apgw" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adpq-sxx-az-pip-x-apgw" }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "sslCertificateKeyVaultSecretId": { - "value": "https://adp-sxx-az-kv-x-001.vault.azure.net/secrets/applicationGatewaySslCertificate/5b09a47d080943bb93d00f4dc45244a1" + "value": "https://adpq-sxx-az-kv-x-001.vault.azure.net/secrets/applicationGatewaySslCertificate/5b09a47d080943bb93d00f4dc45244a1" }, "backendPools": { "value": [ @@ -149,13 +149,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/applicationGateways/readme.md b/arm/Microsoft.Network/applicationGateways/readme.md index 99588cff19..10d63c7ecf 100644 --- a/arm/Microsoft.Network/applicationGateways/readme.md +++ b/arm/Microsoft.Network/applicationGateways/readme.md @@ -225,8 +225,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json b/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json index 5edd072121..2c619e8e29 100644 --- a/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json +++ b/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json @@ -98,7 +98,7 @@ ] }, "vNetId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-azfw" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-azfw" }, "roleAssignments": { "value": [ @@ -117,13 +117,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/bastionHosts/.parameters/min.parameters.json b/arm/Microsoft.Network/bastionHosts/.parameters/min.parameters.json index d728d7f6a9..5a22d31027 100644 --- a/arm/Microsoft.Network/bastionHosts/.parameters/min.parameters.json +++ b/arm/Microsoft.Network/bastionHosts/.parameters/min.parameters.json @@ -6,7 +6,7 @@ "value": "sxx-az-bas-min-001" }, "vNetId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-002" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-002" } } } diff --git a/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json b/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json index 8e1bde3407..2016bc99b5 100644 --- a/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json +++ b/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json @@ -6,10 +6,10 @@ "value": "sxx-az-bas-x-001" }, "vNetId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001" }, "publicIPAddressId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adp-sxx-az-pip-x-bas" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adpq-sxx-az-pip-x-bas" }, "roleAssignments": { "value": [ @@ -28,13 +28,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/connections/.parameters/parameters.json b/arm/Microsoft.Network/connections/.parameters/parameters.json index 8e95901ff0..2e6fd7f837 100644 --- a/arm/Microsoft.Network/connections/.parameters/parameters.json +++ b/arm/Microsoft.Network/connections/.parameters/parameters.json @@ -11,7 +11,7 @@ "vpnSharedKey": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "vpnSharedKey" } diff --git a/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json b/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json index 1500ebac3a..b9a7f480fb 100644 --- a/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json +++ b/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json @@ -37,13 +37,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/firewallPolicies/readme.md b/arm/Microsoft.Network/firewallPolicies/readme.md index b73761e0e2..5abb9ab4a5 100644 --- a/arm/Microsoft.Network/firewallPolicies/readme.md +++ b/arm/Microsoft.Network/firewallPolicies/readme.md @@ -65,8 +65,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json b/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json index 5230ad50e1..b076dfc4ba 100644 --- a/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json +++ b/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json @@ -10,7 +10,7 @@ { "name": "publicIPConfig", "properties": { - "publicIPAddressId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adp-sxx-az-pip-x-lb", + "publicIPAddressId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adpq-sxx-az-pip-x-lb", "subnetId": "", "privateIPAddress": "" } @@ -75,13 +75,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/natGateways/.parameters/parameters.json b/arm/Microsoft.Network/natGateways/.parameters/parameters.json index 07dfc531df..88ae3116d7 100644 --- a/arm/Microsoft.Network/natGateways/.parameters/parameters.json +++ b/arm/Microsoft.Network/natGateways/.parameters/parameters.json @@ -25,13 +25,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json b/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json index 5d6c180cb6..93c1b23c11 100644 --- a/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json +++ b/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json @@ -58,10 +58,10 @@ "priority": 102, "direction": "Inbound", "sourceApplicationSecurityGroupIds": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/applicationSecurityGroups/adp-sxx-az-asg-x-001" + "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/applicationSecurityGroups/adpq-sxx-az-asg-x-001" ], "destinationApplicationSecurityGroupIds": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/applicationSecurityGroups/adp-sxx-az-asg-x-001" + "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/applicationSecurityGroups/adpq-sxx-az-asg-x-001" ] } } @@ -84,13 +84,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json b/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json index b33907a348..974e6bc4be 100644 --- a/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json +++ b/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json @@ -3,20 +3,20 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-nw-x-001" + "value": "adpq-sxx-az-nw-x-001" }, "flowLogs": { "value": [ { - "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-sxx-az-nsg-x-001", + "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adpq-sxx-az-nsg-x-001", "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", "enabled": false }, { - "name": "adp-sxx-az-nsg-x-apgw-flowlog", - "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-sxx-az-nsg-x-apgw", + "name": "adpq-sxx-az-nsg-x-apgw-flowlog", + "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adpq-sxx-az-nsg-x-apgw", "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", - "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", + "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", "formatVersion": 1, "trafficAnalyticsInterval": 10, "retentionInDays": 8 @@ -26,12 +26,12 @@ "connectionMonitors": { "value": [ { - "name": "adp-sxx-az-conn-mon-x-001", + "name": "adpq-sxx-az-conn-mon-x-001", "endpoints": [ { "name": "sxx-az-subnet-x-001(validation-rg)", "type": "AzureVM", - "resourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/virtualMachines/adp-vm-001" + "resourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/virtualMachines/adpq-vm-001" }, { "name": "Office Portal", @@ -74,7 +74,7 @@ ] } ], - "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" } ] }, diff --git a/arm/Microsoft.Network/privateDnsZones/.parameters/parameters.json b/arm/Microsoft.Network/privateDnsZones/.parameters/parameters.json index 0cc56ed83e..b312b14c0a 100644 --- a/arm/Microsoft.Network/privateDnsZones/.parameters/parameters.json +++ b/arm/Microsoft.Network/privateDnsZones/.parameters/parameters.json @@ -18,7 +18,7 @@ "virtualNetworkLinks": { "value": [ { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001", + "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001", "registrationEnabled": true } ] diff --git a/arm/Microsoft.Network/privateEndpoints/.parameters/min.parameters.json b/arm/Microsoft.Network/privateEndpoints/.parameters/min.parameters.json index 399c2fc0b2..50284154e9 100644 --- a/arm/Microsoft.Network/privateEndpoints/.parameters/min.parameters.json +++ b/arm/Microsoft.Network/privateEndpoints/.parameters/min.parameters.json @@ -6,10 +6,10 @@ "value": "sxx-az-pe-kvlt-min-001" }, "targetSubnetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints" }, "serviceResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-pe" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-pe" }, "groupId": { "value": [ diff --git a/arm/Microsoft.Network/privateEndpoints/.parameters/parameters.json b/arm/Microsoft.Network/privateEndpoints/.parameters/parameters.json index e9197c0690..d5ff506415 100644 --- a/arm/Microsoft.Network/privateEndpoints/.parameters/parameters.json +++ b/arm/Microsoft.Network/privateEndpoints/.parameters/parameters.json @@ -6,10 +6,10 @@ "value": "sxx-az-pe-kvlt-001" }, "targetSubnetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints" }, "serviceResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-pe" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-pe" }, "groupId": { "value": [ diff --git a/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json b/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json index 17fb9705d9..91859e9635 100644 --- a/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json +++ b/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json @@ -28,13 +28,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json b/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json index 1807bab0d2..81a5d7088b 100644 --- a/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json +++ b/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json @@ -25,13 +25,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json index d4604ecd30..e6acaf658f 100644 --- a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json +++ b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json @@ -22,7 +22,7 @@ "value": "ErGw1AZ" }, "vNetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001" }, "tags": { "value": { @@ -51,13 +51,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json index da81ae5485..0edd352cbd 100644 --- a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json +++ b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json @@ -28,7 +28,7 @@ "value": false }, "vNetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001" }, "roleAssignments": { "value": [ @@ -47,13 +47,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json b/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json index 1edc7171f5..00d790db7b 100644 --- a/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json +++ b/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json @@ -19,14 +19,14 @@ { "name": "sxx-az-subnet-x-001", "addressPrefix": "10.0.0.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", "serviceEndpoints": [ "Microsoft.EventHub", "Microsoft.Sql", "Microsoft.Storage", "Microsoft.KeyVault" ], - "routeTableName": "adp-sxx-az-udr-x-001" + "routeTableName": "adpq-sxx-az-udr-x-001" }, { "name": "sxx-az-subnet-x-002", @@ -65,13 +65,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json b/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json index 677753f51b..604eb6eef5 100644 --- a/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json +++ b/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json @@ -21,7 +21,7 @@ "virtualNetworkPeerings": { "value": [ { - "remoteVirtualNetworkId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-peer01", + "remoteVirtualNetworkId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-peer01", "allowForwardedTraffic": true, "allowGatewayTransit": false, "allowVirtualNetworkAccess": true, @@ -40,13 +40,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json b/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json index eef49351b9..e0217ee417 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json @@ -31,7 +31,7 @@ "value": [ { "name": "Automation", - "resourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Automation/automationAccounts/adp-sxx-wd-aut-x-001" + "resourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Automation/automationAccounts/adpq-sxx-wd-aut-x-001" } ] }, @@ -156,13 +156,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json b/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json index dd44b491a5..ccebcbe797 100644 --- a/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json +++ b/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json @@ -269,20 +269,20 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.RecoveryServices/vaults/readme.md b/arm/Microsoft.RecoveryServices/vaults/readme.md index 78c7dfd2fd..fdd785dcc8 100644 --- a/arm/Microsoft.RecoveryServices/vaults/readme.md +++ b/arm/Microsoft.RecoveryServices/vaults/readme.md @@ -338,8 +338,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Resources/deploymentScripts/.parameters/cli.parameters.json b/arm/Microsoft.Resources/deploymentScripts/.parameters/cli.parameters.json index c8e07395c8..36f29a8d18 100644 --- a/arm/Microsoft.Resources/deploymentScripts/.parameters/cli.parameters.json +++ b/arm/Microsoft.Resources/deploymentScripts/.parameters/cli.parameters.json @@ -7,7 +7,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "kind": { diff --git a/arm/Microsoft.Resources/deploymentScripts/.parameters/ps.parameters.json b/arm/Microsoft.Resources/deploymentScripts/.parameters/ps.parameters.json index 378f82625f..c0cc8f4112 100644 --- a/arm/Microsoft.Resources/deploymentScripts/.parameters/ps.parameters.json +++ b/arm/Microsoft.Resources/deploymentScripts/.parameters/ps.parameters.json @@ -7,7 +7,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "kind": { diff --git a/arm/Microsoft.Resources/deploymentScripts/readme.md b/arm/Microsoft.Resources/deploymentScripts/readme.md index ca56f4269c..740324a3b5 100644 --- a/arm/Microsoft.Resources/deploymentScripts/readme.md +++ b/arm/Microsoft.Resources/deploymentScripts/readme.md @@ -58,8 +58,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Security/azureSecurityCenter/.parameters/parameters.json b/arm/Microsoft.Security/azureSecurityCenter/.parameters/parameters.json index b8f506e7ba..6c9bce4910 100644 --- a/arm/Microsoft.Security/azureSecurityCenter/.parameters/parameters.json +++ b/arm/Microsoft.Security/azureSecurityCenter/.parameters/parameters.json @@ -14,7 +14,7 @@ } }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" } } } diff --git a/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json b/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json index 8d368c1175..92517ffefb 100644 --- a/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json +++ b/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json @@ -29,7 +29,7 @@ }, "virtualNetworkRules": { "value": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-003" + "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-003" ] }, "ipFilterRules": { @@ -104,20 +104,20 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.ServiceBus/namespaces/readme.md b/arm/Microsoft.ServiceBus/namespaces/readme.md index ff6f426f4a..c06a507c02 100644 --- a/arm/Microsoft.ServiceBus/namespaces/readme.md +++ b/arm/Microsoft.ServiceBus/namespaces/readme.md @@ -132,8 +132,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json b/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json index 2bcd61ba37..5572c42341 100644 --- a/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json +++ b/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json @@ -8,7 +8,7 @@ "administratorLogin": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "administratorLogin" } @@ -16,13 +16,13 @@ "administratorLoginPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "administratorLoginPassword" } }, "subnetId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-sqlmi/subnets/sxx-az-subnet-x-sqlmi" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-sqlmi/subnets/sxx-az-subnet-x-sqlmi" }, "skuName": { "value": "GP_Gen5" @@ -59,11 +59,11 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "primaryUserAssignedIdentityId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001" }, "publicDataEndpointEnabled": { "value": false @@ -81,15 +81,15 @@ "keys": { "value": [ { - "name": "adp-sxx-az-kv-x-sqlmi_keyEncryptionKeySqlMi_8f68659b2fdd4293872fb8efa36ddd59", - "uri": "https://adp-sxx-az-kv-x-sqlmi.vault.azure.net/keys/keyEncryptionKeySqlMi/8f68659b2fdd4293872fb8efa36ddd59", + "name": "adpq-sxx-az-kv-x-sqlmi_keyEncryptionKeySqlMi_8f68659b2fdd4293872fb8efa36ddd59", + "uri": "https://adpq-sxx-az-kv-x-sqlmi.vault.azure.net/keys/keyEncryptionKeySqlMi/8f68659b2fdd4293872fb8efa36ddd59", "serverKeyType": "AzureKeyVault" } ] }, "encryptionProtectorObj": { "value": { - "serverKeyName": "adp-sxx-az-kv-x-sqlmi_keyEncryptionKeySqlMi_8f68659b2fdd4293872fb8efa36ddd59", + "serverKeyName": "adpq-sxx-az-kv-x-sqlmi_keyEncryptionKeySqlMi_8f68659b2fdd4293872fb8efa36ddd59", "serverKeyType": "AzureKeyVault" } }, @@ -132,13 +132,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Sql/managedInstances/readme.md b/arm/Microsoft.Sql/managedInstances/readme.md index dedd857d3e..b2f1964cf9 100644 --- a/arm/Microsoft.Sql/managedInstances/readme.md +++ b/arm/Microsoft.Sql/managedInstances/readme.md @@ -73,8 +73,8 @@ SQL Managed Instance is deployed on a virtual network. This network is required ```json "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` @@ -125,8 +125,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Sql/servers/.parameters/parameters.json b/arm/Microsoft.Sql/servers/.parameters/parameters.json index eec0231e4d..5ecfa2c651 100644 --- a/arm/Microsoft.Sql/servers/.parameters/parameters.json +++ b/arm/Microsoft.Sql/servers/.parameters/parameters.json @@ -5,7 +5,7 @@ "administratorLogin": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/<>/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/<>/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "administratorLogin" } @@ -13,7 +13,7 @@ "administratorLoginPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/<>/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/<>/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "administratorLoginPassword" } @@ -45,9 +45,9 @@ "licenseType": "LicenseIncluded", "diagnosticLogsRetentionInDays": 7, "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adp-sxx-az-evh-x-001" + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adpq-sxx-az-evh-x-001" } ] }, @@ -74,7 +74,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.Sql/servers/readme.md b/arm/Microsoft.Sql/servers/readme.md index a11a2cb394..d0cbbbdc1c 100644 --- a/arm/Microsoft.Sql/servers/readme.md +++ b/arm/Microsoft.Sql/servers/readme.md @@ -78,8 +78,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json b/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json index 78c725d89c..46b0decfa5 100644 --- a/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json @@ -15,9 +15,9 @@ "value": { "diagnosticLogsRetentionInDays": 7, "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adp-sxx-az-evh-x-001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adpq-sxx-az-evh-x-001", "containers": [ { "name": "avdscripts", @@ -45,9 +45,9 @@ "value": { "diagnosticLogsRetentionInDays": 7, "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adp-sxx-az-evh-x-001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adpq-sxx-az-evh-x-001", "shares": [ { "name": "avdprofiles", @@ -72,9 +72,9 @@ "value": { "diagnosticLogsRetentionInDays": 7, "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adp-sxx-az-evh-x-001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adpq-sxx-az-evh-x-001", "tables": [ "table1", "table2" @@ -85,9 +85,9 @@ "value": { "diagnosticLogsRetentionInDays": 7, "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adp-sxx-az-evh-x-001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adpq-sxx-az-evh-x-001", "queues": [ { "name": "queue1", @@ -113,7 +113,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -133,13 +133,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Storage/storageAccounts/readme.md b/arm/Microsoft.Storage/storageAccounts/readme.md index 187e9a0628..50aec28921 100644 --- a/arm/Microsoft.Storage/storageAccounts/readme.md +++ b/arm/Microsoft.Storage/storageAccounts/readme.md @@ -157,8 +157,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json b/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json index 4d37489634..f82123a2e5 100644 --- a/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json +++ b/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": "eastus" }, "userMsiName": { - "value": "adp-sxx-az-msi-x-001" + "value": "adpq-sxx-az-msi-x-001" }, "userMsiResourceGroup": { "value": "validation-rg" @@ -50,7 +50,7 @@ "value": "sxx-az-umi-x-001" }, "sigImageDefinitionId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/galleries/adpsxxazsigweux001/images/adp-sxx-az-imgd-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/galleries/adpsxxazsigweux001/images/adpq-sxx-az-imgd-x-001" }, "imageReplicationRegions": { "value": [] diff --git a/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json b/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json index ba93fec638..ddb00aa843 100644 --- a/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json +++ b/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json @@ -6,7 +6,7 @@ "value": "sxx-az-ase-x-001" }, "subnetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-006" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-006" }, "roleAssignments": { "value": [ @@ -25,13 +25,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Web/sites/.parameters/fa.parameters.json b/arm/Microsoft.Web/sites/.parameters/fa.parameters.json index 1c0fcb37cb..abdc84d52b 100644 --- a/arm/Microsoft.Web/sites/.parameters/fa.parameters.json +++ b/arm/Microsoft.Web/sites/.parameters/fa.parameters.json @@ -20,7 +20,7 @@ } }, "appInsightId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Insights/components/adp-sxx-az-appi-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Insights/components/adpq-sxx-az-appi-x-001" }, "siteConfig": { "value": { @@ -38,7 +38,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -58,13 +58,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Web/sites/.parameters/wa.parameters.json b/arm/Microsoft.Web/sites/.parameters/wa.parameters.json index 355267d9ac..462092ad17 100644 --- a/arm/Microsoft.Web/sites/.parameters/wa.parameters.json +++ b/arm/Microsoft.Web/sites/.parameters/wa.parameters.json @@ -22,7 +22,7 @@ "appInsightObject": { "value": { "name": "sxx-az-wa-x-001-appi", - "workspaceResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.OperationalInsights/workspaces/adp-sxx-az-law-x-002" + "workspaceResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.OperationalInsights/workspaces/adpq-sxx-az-law-x-002" } }, "siteConfig": { @@ -44,7 +44,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -64,13 +64,13 @@ "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adp-sxx-az-evh-x-001" + "value": "adpq-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Web/sites/readme.md b/arm/Microsoft.Web/sites/readme.md index 0b20f3f1de..4651abe35e 100644 --- a/arm/Microsoft.Web/sites/readme.md +++ b/arm/Microsoft.Web/sites/readme.md @@ -167,8 +167,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` diff --git a/docs/wiki/TestingDesign.md b/docs/wiki/TestingDesign.md index a64209ab7e..a0ac960806 100644 --- a/docs/wiki/TestingDesign.md +++ b/docs/wiki/TestingDesign.md @@ -134,37 +134,37 @@ Since also dependency resources are in turn subject to dependencies with each ot 1. Storage Account Upload: An upload job to populate the storage account configured in `parameters.json` with a test script that can be referenced 1. AVD host pool: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by the [AVD application group] resource. 1. Key vault: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. Multiple instances are deployed: - - '_adp-sxx-az-kv-x-001_': KV with required secrets, keys, certificates and access policies to be leveraged by all resources requiring access to a key vault key, secret and/or certificate, i.e. [application gateway], [azure NetApp file], [azure SQL server], [disk encryption set], [machine learning service], [virtual machine], [virtual machine scale set], [virtual network gateway connection]. - - '_adp-sxx-az-kv-x-pe_': KV to be leveraged by the [private endpoint] resource. - - '_adp-sxx-az-kv-x-sqlmi_': KV with required secrets, keys and access policies to be leveraged by the [SQL managed instance] resource. + - '_adpq-sxx-az-kv-x-001_': KV with required secrets, keys, certificates and access policies to be leveraged by all resources requiring access to a key vault key, secret and/or certificate, i.e. [application gateway], [azure NetApp file], [azure SQL server], [disk encryption set], [machine learning service], [virtual machine], [virtual machine scale set], [virtual network gateway connection]. + - '_adpq-sxx-az-kv-x-pe_': KV to be leveraged by the [private endpoint] resource. + - '_adpq-sxx-az-kv-x-sqlmi_': KV with required secrets, keys and access policies to be leveraged by the [SQL managed instance] resource. >**Note**: This resource is deployed and configured only if sqlmi dependency resources are enabled. >**Note**: This resource has a global scope name. 1. Network Security Groups: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by different virtual network subnets. Multiple instances are deployed: - - '_adp-sxx-az-nsg-x-apgw_': NSG with required network security rules to be leveraged by the [application gateway] subnet. - - '_adp-sxx-az-nsg-x-ase_': NSG with required network security rules to be leveraged by the [app service environment] subnet. - - '_adp-sxx-az-nsg-x-bastion_': NSG with required network security rules to be leveraged by the [bastion host] subnet. - - '_adp-sxx-az-nsg-x-sqlmi_': NSG with required network security rules to be leveraged by the [sql managed instance] subnet. + - '_adpq-sxx-az-nsg-x-apgw_': NSG with required network security rules to be leveraged by the [application gateway] subnet. + - '_adpq-sxx-az-nsg-x-ase_': NSG with required network security rules to be leveraged by the [app service environment] subnet. + - '_adpq-sxx-az-nsg-x-bastion_': NSG with required network security rules to be leveraged by the [bastion host] subnet. + - '_adpq-sxx-az-nsg-x-sqlmi_': NSG with required network security rules to be leveraged by the [sql managed instance] subnet. >**Note**: This resource is deployed and configured only if sqlmi dependency resources are enabled. - - '_adp-sxx-az-nsg-x-001_': default NSG leveraged by all other subnets. + - '_adpq-sxx-az-nsg-x-001_': default NSG leveraged by all other subnets. 1. Recovery services vault: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by the [virtual machine] resource when backup is enabled. 1. Application insight: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by the [machine learning service] resource. 1. Automation account: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by the [log analytics workspace] resource. 1. Public IP addresses: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. Multiple instances are deployed: - - '_adp-sxx-az-pip-x-apgw_': Leveraged by the [application gateway] resource. - - '_adp-sxx-az-pip-x-bas_': Leveraged by the [bastion host] resource. - - '_adp-sxx-az-pip-x-lb_': Leveraged by the [load balancer] resource. + - '_adpq-sxx-az-pip-x-apgw_': Leveraged by the [application gateway] resource. + - '_adpq-sxx-az-pip-x-bas_': Leveraged by the [bastion host] resource. + - '_adpq-sxx-az-pip-x-lb_': Leveraged by the [load balancer] resource. 1. Role assignment: This resource assigns the '_Contributor_' role on the subscription to the [user assigned identity] deployed as part of the group above. This is needed by the [image template] deployment. **Fourth level resources**: This group of resources has a dependency on one or more resources in the groups above. Resources in this group can be deployed in parallel. 1. Virtual Networks: This resource is depending on the route table and network security groups deployed above. Multiple instances are deployed: - - '_adp-sxx-az-vnet-x-peer01_': Leveraged by the [virtual network peering] resource. - - '_adp-sxx-az-vnet-x-peer02_': Leveraged by the [virtual network peering] resource. - - '_adp-sxx-az-vnet-x-azfw_': Leveraged by the [azure firewall] resource. - - '_adp-sxx-az-vnet-x-aks_': Leveraged by the [azure kubernetes service] resource. - - '_adp-sxx-az-vnet-x-sqlmi_': Leveraged by the [sql managed instance] resource. + - '_adpq-sxx-az-vnet-x-peer01_': Leveraged by the [virtual network peering] resource. + - '_adpq-sxx-az-vnet-x-peer02_': Leveraged by the [virtual network peering] resource. + - '_adpq-sxx-az-vnet-x-azfw_': Leveraged by the [azure firewall] resource. + - '_adpq-sxx-az-vnet-x-aks_': Leveraged by the [azure kubernetes service] resource. + - '_adpq-sxx-az-vnet-x-sqlmi_': Leveraged by the [sql managed instance] resource. >**Note**: This resource is deployed and configured only if sqlmi dependency resources are enabled. - - '_adp-sxx-az-vnet-x-001_': Hosting multiple subnets to be leveraged by [virtual machine], [virtual machine scale set], [service bus], [azure NetApp files], [azure bastion], [private endpoints], [app service environment] and [application gateway] resources. + - '_adpq-sxx-az-vnet-x-001_': Hosting multiple subnets to be leveraged by [virtual machine], [virtual machine scale set], [service bus], [azure NetApp files], [azure bastion], [private endpoints], [app service environment] and [application gateway] resources. 1. AVD application group: This resource is leveraged by the [AVD workspace] resource. **Fifth level resources**: This group of resources has a dependency on one or more resources in the groups above. @@ -176,7 +176,7 @@ Since also dependency resources are in turn subject to dependencies with each ot The following secrets, keys and certificates need to be created in the key vaults deployed by the dependency workflow. -- Shared key vault '_adp-sxx-az-kv-x-001_' +- Shared key vault '_adpq-sxx-az-kv-x-001_' 1. Key vault secrets: - _administratorLogin_: For [azure SQL server] . - _administratorLoginPassword_: For [azure SQL server]. @@ -188,7 +188,7 @@ The following secrets, keys and certificates need to be created in the key vault 1. Key vault certificate: - _applicationGatewaySslCertificate_: For [application gateway]. -- SQL Mi key vault '_adp-sxx-az-kv-x-sqlmi_' +- SQL Mi key vault '_adpq-sxx-az-kv-x-sqlmi_' 1. Key vault secrets: - _administratorLogin_: For [SQL managed instance]. - _administratorLoginPassword_: For [SQL managed instance]. diff --git a/docs/wiki/TestingUsage.md b/docs/wiki/TestingUsage.md index 8f3ac509ef..8705a47ab3 100644 --- a/docs/wiki/TestingUsage.md +++ b/docs/wiki/TestingUsage.md @@ -79,7 +79,7 @@ The following scenarios are common to when to use a token value in the parameter ```json "remoteVirtualNetworkId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-peer01" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-peer01" } ``` diff --git a/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/parameters.json index 786e69ed5e..58f4d19ef6 100644 --- a/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-pass-loc-rg" + "value": "adpq-sxx-pass-loc-rg" }, "displayName": { "value": "Audit resource location matches resource group location" diff --git a/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json index d8953e364f..00fd27a572 100644 --- a/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-wd-aut-x-001" + "value": "adpq-sxx-wd-aut-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json index 96834d20be..edf8c8ab59 100644 --- a/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json @@ -8,7 +8,7 @@ "images": { "value": [ { - "name": "adp-sxx-az-imgd-x-001", + "name": "adpq-sxx-az-imgd-x-001", "osType": "Windows", "osState": "Generalized", "publisher": "MicrosoftWindowsServer", diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json index 84dc57111a..7cf82212be 100644 --- a/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-vm-001" + "value": "adpq-vm-001" }, "vmSize": { "value": "Standard_B1s" @@ -34,7 +34,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -46,7 +46,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001" + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json index 639800b058..697bc7a95e 100644 --- a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-avdag-x-001" + "value": "adpq-sxx-az-avdag-x-001" }, "location": { "value": "westeurope" @@ -12,7 +12,7 @@ "value": "RemoteApp" }, "hostpoolName": { - "value": "adp-sxx-az-avdhp-x-001" + "value": "adpq-sxx-az-avdhp-x-001" }, "friendlyName": { "value": "Remote Applications 1" diff --git a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json index d56bed7d7e..6bb3484d04 100644 --- a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-avdhp-x-001" + "value": "adpq-sxx-az-avdhp-x-001" }, "location": { "value": "westeurope" diff --git a/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json index 67e7f877e5..6bae4acdd5 100644 --- a/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json @@ -3,12 +3,12 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-evhns-x-001" + "value": "adpq-sxx-az-evhns-x-001" }, "eventHubs": { "value": [ { - "name": "adp-sxx-az-evh-x-001", + "name": "adpq-sxx-az-evh-x-001", "authorizationRules": [ { "name": "RootManageSharedAccessKey", diff --git a/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json index 834cba3478..416b42825a 100644 --- a/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-ag-x-001" + "value": "adpq-sxx-az-ag-x-001" }, "groupShortName": { "value": "azagweux001" diff --git a/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json index fb4bd5d828..6065f7fc0f 100644 --- a/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json @@ -3,10 +3,10 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-appi-x-001" + "value": "adpq-sxx-az-appi-x-001" }, "appInsightsWorkspaceResourceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-002" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-002" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json index 6d32bb2116..ef2b70a8dc 100644 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-kv-x-001" + "value": "adpq-sxx-az-kv-x-001" }, "accessPolicies": { "value": [ @@ -26,7 +26,7 @@ }, { "tenantId": "<>", - "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adp-sxx-az-msi-x-001 to get secrets + "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adpq-sxx-az-msi-x-001 to get secrets "permissions": { "keys": [], "secrets": [ diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json index 86d8b66830..4efa643012 100644 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json @@ -3,13 +3,13 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-kv-x-pe" + "value": "adpq-sxx-az-kv-x-pe" }, "accessPolicies": { "value": [ { "tenantId": "<>", - "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adp-sxx-az-msi-x-001 to get secrets + "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adpq-sxx-az-msi-x-001 to get secrets "permissions": { "keys": [], "secrets": [ diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json index 8c586acbcf..f305f8c971 100644 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-kv-x-sqlmi" + "value": "adpq-sxx-az-kv-x-sqlmi" }, "accessPolicies": { "value": [ @@ -26,7 +26,7 @@ }, { "tenantId": "<>", - "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adp-sxx-az-msi-x-001 to get secrets + "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adpq-sxx-az-msi-x-001 to get secrets "permissions": { "keys": [ "Get", diff --git a/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json index 1c0d857760..d4b58ba633 100644 --- a/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-msi-x-001" + "value": "adpq-sxx-az-msi-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json index 5e442ae8f9..daab16df27 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-asg-x-001" + "value": "adpq-sxx-az-asg-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json index 2837d69904..659a12fd87 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-nsg-x-apgw" + "value": "adpq-sxx-az-nsg-x-apgw" }, "networkSecurityGroupSecurityRules": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json index 5551769c72..a8c9a53836 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-nsg-x-ase" + "value": "adpq-sxx-az-nsg-x-ase" }, "networkSecurityGroupSecurityRules": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json index dc1af7d86e..067a2011fe 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-nsg-x-bastion" + "value": "adpq-sxx-az-nsg-x-bastion" }, "networkSecurityGroupSecurityRules": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json index c131d6a68c..8f11be46bd 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-nsg-x-001" + "value": "adpq-sxx-az-nsg-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json index cc2a938972..c836c4f313 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-nsg-x-sqlmi" + "value": "adpq-sxx-az-nsg-x-sqlmi" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json index 7a0102fc58..20c6bf74ae 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-nw-x-001" + "value": "adpq-sxx-az-nw-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/parameters.json index c230de4417..d97a2d91ab 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/parameters.json @@ -8,7 +8,7 @@ "virtualNetworkLinks": { "value": [ { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001", + "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001", "registrationEnabled": false } ] diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json index 532e4b385f..cd601c0e91 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-pip-x-apgw" + "value": "adpq-sxx-az-pip-x-apgw" }, "skuName": { "value": "Standard" diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json index beb1542b3e..c2da49984c 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-pip-x-bas" + "value": "adpq-sxx-az-pip-x-bas" }, "skuName": { "value": "Standard" diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json index 1d684f2ff3..0a8c50420a 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-pip-x-lb" + "value": "adpq-sxx-az-pip-x-lb" }, "skuName": { "value": "Standard" diff --git a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json index 6e5ccb81ad..722f054322 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-udr-x-001" + "value": "adpq-sxx-az-udr-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json index 0c59507939..e9d39a9b3b 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-udr-x-sqlmi" + "value": "adpq-sxx-az-udr-x-sqlmi" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json index bb91ffcc13..4cdd16a64c 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-vnet-x-002" + "value": "adpq-sxx-az-vnet-x-002" }, "addressPrefixes": { "value": [ @@ -15,7 +15,7 @@ { "name": "AzureBastionSubnet", // Bastion subnet "addressPrefix": "10.1.5.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-bastion" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-bastion" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json index 33368d723d..56a89d9b20 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-vnet-x-peer01" + "value": "adpq-sxx-az-vnet-x-peer01" }, "addressPrefixes": { "value": [ @@ -15,7 +15,7 @@ { "name": "sxx-az-subnet-x-001", "addressPrefix": "10.2.0.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json index f15c4559bf..1e3580df16 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-vnet-x-peer02" + "value": "adpq-sxx-az-vnet-x-peer02" }, "addressPrefixes": { "value": [ @@ -15,7 +15,7 @@ { "name": "sxx-az-subnet-x-001", "addressPrefix": "10.3.0.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json index 40eac46f7f..0eff8478da 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-vnet-x-azfw" + "value": "adpq-sxx-az-vnet-x-azfw" }, "addressPrefixes": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json index b8e80a0ed0..298c69d4ea 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-vnet-x-aks" + "value": "adpq-sxx-az-vnet-x-aks" }, "addressPrefixes": { "value": [ @@ -15,17 +15,17 @@ { "name": "Primary", "addressPrefix": "10.5.0.0/18", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" }, { "name": "Secondary", "addressPrefix": "10.5.64.0/18", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" }, { "name": "Tertiary", "addressPrefix": "10.5.128.0/18", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json index 9271a7d8b7..b8c1ae963b 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-vnet-x-sqlmi" + "value": "adpq-sxx-az-vnet-x-sqlmi" }, "addressPrefixes": { "value": [ @@ -15,8 +15,8 @@ { "name": "sxx-az-subnet-x-sqlmi", // SQLMi subnet "addressPrefix": "10.6.0.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-sqlmi", - "routeTableName": "adp-sxx-az-udr-x-sqlmi", + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-sqlmi", + "routeTableName": "adpq-sxx-az-udr-x-sqlmi", "serviceEndpoints": [], "delegations": [ { diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json index 9d21ac6034..e82923ab0f 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-vnet-x-001" + "value": "adpq-sxx-az-vnet-x-001" }, "addressPrefixes": { "value": [ @@ -19,7 +19,7 @@ { "name": "sxx-az-subnet-x-001", // VM subnet "addressPrefix": "10.0.0.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", "serviceEndpoints": [ "Microsoft.EventHub", "Microsoft.Sql", @@ -30,7 +30,7 @@ { "name": "sxx-az-subnet-x-002", // VMSS subnet "addressPrefix": "10.0.1.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", "serviceEndpoints": [ "Microsoft.EventHub", "Microsoft.Sql", @@ -41,7 +41,7 @@ { "name": "sxx-az-subnet-x-003", // ServiceBus subnet "addressPrefix": "10.0.2.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", "serviceEndpoints": [ "Microsoft.ServiceBus" ] @@ -61,24 +61,24 @@ { "name": "AzureBastionSubnet", // Bastion subnet "addressPrefix": "10.0.5.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-bastion" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-bastion" }, { "name": "sxx-az-subnet-x-005-privateEndpoints", // PE subnet "addressPrefix": "10.0.6.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", "privateEndpointNetworkPolicies": "Disabled", // This property must be set to disabled for subnets that contain private endpoints. It confirms that NSGs rules will not apply to private endpoints (currently not supported). Default Value when not specified is "Enabled". "privateLinkServiceNetworkPolicies": "Enabled" }, { "name": "sxx-az-subnet-x-006", // ASE subnet "addressPrefix": "10.0.7.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-ase" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-ase" }, { "name": "sxx-az-subnet-x-007", // APGW subnet "addressPrefix": "10.0.8.0/24", - "networkSecurityGroupName": "adp-sxx-az-nsg-x-apgw" + "networkSecurityGroupName": "adpq-sxx-az-nsg-x-apgw" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json index 728d2b303f..386b218a91 100644 --- a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-law-x-002" + "value": "adpq-sxx-az-law-x-002" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json index cd8acb2eef..3522d59d50 100644 --- a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-law-x-001" + "value": "adpq-sxx-az-law-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json index cd637787d4..460a0e498c 100644 --- a/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adp-sxx-az-rsv-x-001" + "value": "adpq-sxx-az-rsv-x-001" }, "diagnosticLogsRetentionInDays": { "value": 7 diff --git a/utilities/tools/moduleReadMeSource/resourceUsage-userAssignedIdentities.md b/utilities/tools/moduleReadMeSource/resourceUsage-userAssignedIdentities.md index 4d9cbba34c..3a0a210e5d 100644 --- a/utilities/tools/moduleReadMeSource/resourceUsage-userAssignedIdentities.md +++ b/utilities/tools/moduleReadMeSource/resourceUsage-userAssignedIdentities.md @@ -3,8 +3,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} } }, ``` From a9fe2fdec3ec8f22026d1a2af33027cb2ea12e4c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 13:50:38 +0100 Subject: [PATCH 130/260] dependencies q --- .azuredevops/pipelineTemplates/module.jobs.publish.yml | 2 +- .azuredevops/pipelineVariables/global.variables.yml | 2 +- .github/variables/global.variables.json | 2 +- .../servers/.parameters/parameters.json | 2 +- .../service/.parameters/max.parameters.json | 2 +- .../automationAccounts/.parameters/parameters.json | 2 +- .../batchAccounts/.parameters/parameters.json | 2 +- .../accounts/.parameters/parameters.json | 2 +- .../.parameters/linux.parameters.json | 8 ++++---- .../.parameters/windows.parameters.json | 6 +++--- .../virtualMachines/.parameters/linux.parameters.json | 6 +++--- .../.parameters/windows.parameters.json | 6 +++--- .../registries/.parameters/parameters.json | 2 +- .../managedClusters/.parameters/azure.parameters.json | 2 +- .../.parameters/kubenet.parameters.json | 2 +- .../factories/.parameters/parameters.json | 2 +- .../workspaces/.parameters/parameters.json | 2 +- .../applicationgroups/.parameters/parameters.json | 2 +- .../hostpools/.parameters/parameters.json | 2 +- .../workspaces/.parameters/parameters.json | 2 +- .../.parameters/mongodb.parameters.json | 2 +- .../databaseAccounts/.parameters/plain.parameters.json | 2 +- .../databaseAccounts/.parameters/sqldb.parameters.json | 2 +- .../topics/.parameters/parameters.json | 2 +- .../namespaces/.parameters/parameters.json | 4 ++-- .../diagnosticSettings/.parameters/parameters.json | 2 +- .../vaults/.parameters/parameters.json | 2 +- .../workflows/.parameters/parameters.json | 2 +- .../workspaces/.parameters/parameters.json | 4 ++-- .../applicationGateways/.parameters/parameters.json | 2 +- .../azureFirewalls/.parameters/parameters.json | 2 +- .../bastionHosts/.parameters/parameters.json | 2 +- .../expressRouteCircuits/.parameters/parameters.json | 2 +- .../loadBalancers/.parameters/parameters.json | 2 +- .../natGateways/.parameters/parameters.json | 2 +- .../networkSecurityGroups/.parameters/parameters.json | 2 +- .../networkWatchers/.parameters/parameters.json | 4 ++-- .../publicIPAddresses/.parameters/parameters.json | 2 +- .../trafficmanagerprofiles/.parameters/parameters.json | 2 +- .../.parameters/expressRoute.parameters.json | 2 +- .../.parameters/vpn.parameters.json | 2 +- .../virtualNetworks/.parameters/parameters.json | 2 +- .../.parameters/vnetPeering.parameters.json | 2 +- .../workspaces/.parameters/parameters.json | 4 ++-- .../vaults/.parameters/parameters.json | 2 +- .../namespaces/.parameters/parameters.json | 2 +- .../managedInstances/.parameters/parameters.json | 4 ++-- arm/Microsoft.Sql/servers/.parameters/parameters.json | 2 +- .../storageAccounts/.parameters/parameters.json | 10 +++++----- .../imageTemplates/.parameters/parameters.json | 2 +- .../hostingEnvironments/.parameters/parameters.json | 2 +- arm/Microsoft.Web/sites/.parameters/fa.parameters.json | 4 ++-- arm/Microsoft.Web/sites/.parameters/wa.parameters.json | 2 +- docs/wiki/ModulesUsage.md | 6 +++--- docs/wiki/PipelinesDesign.md | 2 +- .../galleries/parameters/parameters.json | 2 +- .../registries/parameters/parameters.json | 2 +- .../storageAccounts/parameters/fa.parameters.json | 2 +- .../storageAccounts/parameters/law.parameters.json | 2 +- .../storageAccounts/parameters/parameters.json | 2 +- .../helper/Get-ResourceIdsAsFormattedObjectList.ps1 | 6 +++--- 61 files changed, 84 insertions(+), 84 deletions(-) diff --git a/.azuredevops/pipelineTemplates/module.jobs.publish.yml b/.azuredevops/pipelineTemplates/module.jobs.publish.yml index c0ca0111d7..cfe73a0048 100644 --- a/.azuredevops/pipelineTemplates/module.jobs.publish.yml +++ b/.azuredevops/pipelineTemplates/module.jobs.publish.yml @@ -34,7 +34,7 @@ ## | templateSpecsDescription | '$(templateSpecsDescription)' | Required to publish to template spec. Description of the template spec to publish to | 'IaCs module' | ## | vstsFeedName | '$(vstsFeedName)' | Required to publish to a DevOps feed. Name to the feed to publish to. | 'modules' | ## | vstsProject | '$(System.TeamProject)' | Required to publish to a DevOps feed. Name of the project hosting the artifacts feed. May be empty. | 'iacs' | -## | bicepRegistryName | '$(bicepRegistryName)' | Required to publish to the private bicep registry. Name of the hosting container registry | 'adpsxxazacrx001' | +## | bicepRegistryName | '$(bicepRegistryName)' | Required to publish to the private bicep registry. Name of the hosting container registry | 'adpqsxxazacrx001' | ## | bicepRegistryRGName | '$(bicepRegistryRGName)' | Required to publish to the private bicep registry. Resource group of the hosting container registry | 'artifacts-rg' | ## | bicepRegistryRgLocation | '$(bicepRegistryRgLocation)' | Required to publish to the private bicep registry. Location of the RG of the hosting container registry | 'West Europe' | ## | vstsOrganization | '$(vstsOrganization)' | Required to publish to a DevOps feed. Name of the organization hosting the artifacts feed. | 'servicescode' | diff --git a/.azuredevops/pipelineVariables/global.variables.yml b/.azuredevops/pipelineVariables/global.variables.yml index 8c8a259d0f..8d29ff0a70 100644 --- a/.azuredevops/pipelineVariables/global.variables.yml +++ b/.azuredevops/pipelineVariables/global.variables.yml @@ -46,7 +46,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adpqsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/.github/variables/global.variables.json b/.github/variables/global.variables.json index 44ba19fc41..01c0448b60 100644 --- a/.github/variables/global.variables.json +++ b/.github/variables/global.variables.json @@ -26,7 +26,7 @@ }, { "name": "bicepRegistryName", - "value": "adpsxxazacrx001q" + "value": "adpqsxxazacrx001q" }, { "name": "bicepRegistryRGName", diff --git a/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json b/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json index 488572842d..c29872cfa8 100644 --- a/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json +++ b/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json @@ -22,7 +22,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json b/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json index d5dfdd358b..0d63326f8a 100644 --- a/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json +++ b/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json @@ -162,7 +162,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json b/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json index 5d31a854cd..318e4acecb 100644 --- a/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json @@ -177,7 +177,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json b/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json index 2e2ee1d56f..c183fe0ab8 100644 --- a/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json b/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json index 0f247b04d0..f56d453711 100644 --- a/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json +++ b/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json @@ -36,7 +36,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json index 26339e17b0..1a80e8c263 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json @@ -46,7 +46,7 @@ } }, "bootDiagnosticStorageAccountName": { - "value": "adpsxxazsaweux001" + "value": "adpqsxxazsaweux001" }, "osType": { "value": "Linux" @@ -124,7 +124,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" @@ -170,8 +170,8 @@ "enabled": true, "fileData": [ { - "uri": "https://adpsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "uri": "https://adpqsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" } ], "protectedSettings": { diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json index 66a959f16f..754610e839 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json @@ -95,7 +95,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" @@ -166,8 +166,8 @@ "enabled": true, "fileData": [ { - "uri": "https://adpsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "uri": "https://adpqsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" } ], "protectedSettings": { diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json index 5fed37306c..b8f79c7cd4 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json @@ -102,7 +102,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" @@ -153,8 +153,8 @@ "enabled": true, "fileData": [ { - "uri": "https://adpsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "uri": "https://adpqsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" } ], "protectedSettings": { diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json index d170c597ef..0adb4baf7a 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json @@ -91,7 +91,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" @@ -170,8 +170,8 @@ "enabled": true, "fileData": [ { - "uri": "https://adpsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "uri": "https://adpqsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" } ], "protectedSettings": { diff --git a/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json b/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json index 277ff9309e..4b1b56bf41 100644 --- a/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json +++ b/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json @@ -22,7 +22,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json b/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json index 4b87afca5a..2af2052b7e 100644 --- a/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json +++ b/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json @@ -99,7 +99,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json b/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json index 00c1bc40ac..0bd98c8409 100644 --- a/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json +++ b/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json @@ -96,7 +96,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.DataFactory/factories/.parameters/parameters.json b/arm/Microsoft.DataFactory/factories/.parameters/parameters.json index 71d0a67ca7..ad59cf8d80 100644 --- a/arm/Microsoft.DataFactory/factories/.parameters/parameters.json +++ b/arm/Microsoft.DataFactory/factories/.parameters/parameters.json @@ -40,7 +40,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json b/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json index b38f5c8e1b..ba56c65ce9 100644 --- a/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json @@ -19,7 +19,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json index d42eebc70e..6507c375e4 100644 --- a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json @@ -54,7 +54,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json index 8a5ea0a0c2..fe7812b901 100644 --- a/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json @@ -65,7 +65,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json index ebed8b4c3b..9e8d4853cf 100644 --- a/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json @@ -33,7 +33,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json index f75e479488..ec87ae83dd 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json @@ -222,7 +222,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json index 47e60f114f..49434d846f 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json @@ -33,7 +33,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json index 905abab422..bc66bc3b75 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json @@ -56,7 +56,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.EventGrid/topics/.parameters/parameters.json b/arm/Microsoft.EventGrid/topics/.parameters/parameters.json index fa19c7b084..a310db91b5 100644 --- a/arm/Microsoft.EventGrid/topics/.parameters/parameters.json +++ b/arm/Microsoft.EventGrid/topics/.parameters/parameters.json @@ -19,7 +19,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json b/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json index 92e5518023..36c76ae8a6 100644 --- a/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json +++ b/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json @@ -71,7 +71,7 @@ "captureDescriptionIntervalInSeconds": 300, "captureDescriptionSizeLimitInBytes": 314572800, "captureDescriptionDestinationName": "EventHubArchive.AzureBlockBlob", - "captureDescriptionDestinationStorageAccountResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "captureDescriptionDestinationStorageAccountResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", "captureDescriptionDestinationBlobContainer": "eventhub", "captureDescriptionDestinationArchiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}", "captureDescriptionSkipEmptyArchives": true, @@ -88,7 +88,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json b/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json index f0a5553326..537156a6d9 100644 --- a/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json +++ b/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json b/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json index ce53f5c1b7..c429824749 100644 --- a/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json +++ b/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json @@ -90,7 +90,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Logic/workflows/.parameters/parameters.json b/arm/Microsoft.Logic/workflows/.parameters/parameters.json index 09a603f193..bae5e501c4 100644 --- a/arm/Microsoft.Logic/workflows/.parameters/parameters.json +++ b/arm/Microsoft.Logic/workflows/.parameters/parameters.json @@ -57,7 +57,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json b/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json index bbf833f8cf..00ba894a56 100644 --- a/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": "Basic" }, "associatedStorageAccountResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "associatedKeyVaultResourceId": { "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" @@ -31,7 +31,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json b/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json index bea05e4047..830459009f 100644 --- a/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json +++ b/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json @@ -146,7 +146,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json b/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json index 2c619e8e29..71741051b9 100644 --- a/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json +++ b/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json @@ -114,7 +114,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json b/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json index 2016bc99b5..da3c389be9 100644 --- a/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json +++ b/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json @@ -25,7 +25,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json b/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json index b9a7f480fb..284cfd0c89 100644 --- a/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json +++ b/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json @@ -34,7 +34,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json b/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json index b076dfc4ba..17e59104ab 100644 --- a/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json +++ b/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json @@ -72,7 +72,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/natGateways/.parameters/parameters.json b/arm/Microsoft.Network/natGateways/.parameters/parameters.json index 88ae3116d7..e093584f92 100644 --- a/arm/Microsoft.Network/natGateways/.parameters/parameters.json +++ b/arm/Microsoft.Network/natGateways/.parameters/parameters.json @@ -22,7 +22,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json b/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json index 93c1b23c11..3690b36470 100644 --- a/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json +++ b/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json @@ -81,7 +81,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json b/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json index 974e6bc4be..9e78eac1f4 100644 --- a/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json +++ b/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json @@ -9,13 +9,13 @@ "value": [ { "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adpq-sxx-az-nsg-x-001", - "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", "enabled": false }, { "name": "adpq-sxx-az-nsg-x-apgw-flowlog", "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adpq-sxx-az-nsg-x-apgw", - "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", "formatVersion": 1, "trafficAnalyticsInterval": 10, diff --git a/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json b/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json index 91859e9635..341e8d7ffa 100644 --- a/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json +++ b/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json @@ -25,7 +25,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json b/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json index 81a5d7088b..015bccd4b3 100644 --- a/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json +++ b/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json @@ -22,7 +22,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json index e6acaf658f..7a68a3c861 100644 --- a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json +++ b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json @@ -48,7 +48,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json index 0edd352cbd..135b1d07fa 100644 --- a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json +++ b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json @@ -44,7 +44,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json b/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json index 00d790db7b..ef141ba089 100644 --- a/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json +++ b/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json @@ -62,7 +62,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json b/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json index 604eb6eef5..bf85a47014 100644 --- a/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json +++ b/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json @@ -37,7 +37,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json b/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json index e0217ee417..3ec12feb8a 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json @@ -17,7 +17,7 @@ "storageInsightsConfigs": { "value": [ { - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux003", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux003", "tables": [ "WADWindowsEventLogsTable", "WADETWEventTable", @@ -153,7 +153,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json b/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json index ccebcbe797..b44b123956 100644 --- a/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json +++ b/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json @@ -266,7 +266,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json b/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json index 92517ffefb..0ef256510c 100644 --- a/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json +++ b/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json @@ -101,7 +101,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json b/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json index 5572c42341..e8d667779e 100644 --- a/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json +++ b/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json @@ -109,7 +109,7 @@ "test1@contoso.com", "test2@contoso.com" ], - "vulnerabilityAssessmentsStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "vulnerabilityAssessmentsStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" } }, "databases": { @@ -129,7 +129,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Sql/servers/.parameters/parameters.json b/arm/Microsoft.Sql/servers/.parameters/parameters.json index 5ecfa2c651..b9a0dc915c 100644 --- a/arm/Microsoft.Sql/servers/.parameters/parameters.json +++ b/arm/Microsoft.Sql/servers/.parameters/parameters.json @@ -44,7 +44,7 @@ "maxSizeBytes": 34359738368, "licenseType": "LicenseIncluded", "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", "eventHubName": "adpq-sxx-az-evh-x-001" diff --git a/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json b/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json index 46b0decfa5..66867a55e8 100644 --- a/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json @@ -14,7 +14,7 @@ "blobServices": { "value": { "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", "eventHubName": "adpq-sxx-az-evh-x-001", @@ -44,7 +44,7 @@ "fileServices": { "value": { "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", "eventHubName": "adpq-sxx-az-evh-x-001", @@ -71,7 +71,7 @@ "tableServices": { "value": { "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", "eventHubName": "adpq-sxx-az-evh-x-001", @@ -84,7 +84,7 @@ "queueServices": { "value": { "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", "eventHubName": "adpq-sxx-az-evh-x-001", @@ -130,7 +130,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json b/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json index f82123a2e5..cc0466bb98 100644 --- a/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json +++ b/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json @@ -50,7 +50,7 @@ "value": "sxx-az-umi-x-001" }, "sigImageDefinitionId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/galleries/adpsxxazsigweux001/images/adpq-sxx-az-imgd-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/galleries/adpqsxxazsigweux001/images/adpq-sxx-az-imgd-x-001" }, "imageReplicationRegions": { "value": [] diff --git a/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json b/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json index ddb00aa843..ebae4f5b3d 100644 --- a/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json +++ b/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json @@ -22,7 +22,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Web/sites/.parameters/fa.parameters.json b/arm/Microsoft.Web/sites/.parameters/fa.parameters.json index abdc84d52b..3ba36c658e 100644 --- a/arm/Microsoft.Web/sites/.parameters/fa.parameters.json +++ b/arm/Microsoft.Web/sites/.parameters/fa.parameters.json @@ -28,7 +28,7 @@ } }, "storageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux002" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux002" }, "functionsWorkerRuntime": { "value": "powershell" @@ -55,7 +55,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/arm/Microsoft.Web/sites/.parameters/wa.parameters.json b/arm/Microsoft.Web/sites/.parameters/wa.parameters.json index 462092ad17..b113291dbc 100644 --- a/arm/Microsoft.Web/sites/.parameters/wa.parameters.json +++ b/arm/Microsoft.Web/sites/.parameters/wa.parameters.json @@ -61,7 +61,7 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" }, "workspaceId": { "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" diff --git a/docs/wiki/ModulesUsage.md b/docs/wiki/ModulesUsage.md index 4bb07ccab8..e4f620f2ff 100644 --- a/docs/wiki/ModulesUsage.md +++ b/docs/wiki/ModulesUsage.md @@ -155,7 +155,7 @@ param subnets array = [ // =========== // // Resource Group -module rg 'br:adpsxxazacrx001.azurecr.io/bicep/modules/microsoft.resources.resourcegroups:0.0.23' = { +module rg 'br:adpqsxxazacrx001.azurecr.io/bicep/modules/microsoft.resources.resourcegroups:0.0.23' = { name: 'registry-rg' params: { name: resourceGroupName @@ -164,7 +164,7 @@ module rg 'br:adpsxxazacrx001.azurecr.io/bicep/modules/microsoft.resources.resou } // Network Security Group -module nsg 'br:adpsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.networksecuritygroups:0.0.30' = { +module nsg 'br:adpqsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.networksecuritygroups:0.0.30' = { name: 'registry-nsg' scope: resourceGroup(resourceGroupName) params: { @@ -176,7 +176,7 @@ module nsg 'br:adpsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.networ } // Virtual Network -module vnet 'br:adpsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.virtualnetworks:0.0.26' = { +module vnet 'br:adpqsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.virtualnetworks:0.0.26' = { name: 'registry-vnet' scope: resourceGroup(resourceGroupName) params: { diff --git a/docs/wiki/PipelinesDesign.md b/docs/wiki/PipelinesDesign.md index a28e6e42e0..5a3c30f31d 100644 --- a/docs/wiki/PipelinesDesign.md +++ b/docs/wiki/PipelinesDesign.md @@ -160,7 +160,7 @@ The primary pipeline variable file hosts the fundamental pipeline configuration #### ***Private bicep registry specific (publishing)*** | Variable Name | Example Value | Description | | - | - | - | -| `bicepRegistryName` | "adpsxxazacrx001" | The container registry to publish bicep templates to | +| `bicepRegistryName` | "adpqsxxazacrx001" | The container registry to publish bicep templates to | | `bicepRegistryRGName` | "artifacts-rg" | The resource group of the container registry to publish bicep templates to. Is used to create a new container registry if not yet existing | | `bicepRegistryRGName` | "artifacts-rg" | The location of the resource group of the container registry to publish bicep templates to. Is used to create a new resource group if not yet existing | | `bicepRegistryDoPublish` | "true" | A central switch to enable/disable publishing to the private bicep registry | diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json index edf8c8ab59..58c270cb11 100644 --- a/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpsxxazsigweux001" + "value": "adpqsxxazsigweux001" }, "images": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json index 3c97f3394b..278db1c4b6 100644 --- a/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpsxxazacrx001q" + "value": "adpqsxxazacrx001q" }, "acrAdminUserEnabled": { "value": false diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json index 975d8991a3..954dc2a7f5 100644 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpsxxazsaweux002" + "value": "adpqsxxazsaweux002" }, "storageAccountKind": { "value": "StorageV2" diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json index 9c98c9b915..702066fc7f 100644 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpsxxazsaweux003" + "value": "adpqsxxazsaweux003" }, "storageAccountKind": { "value": "StorageV2" diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json index 16d1a68437..e9ffd9ff2f 100644 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpsxxazsaweux001" + "value": "adpqsxxazsaweux001" }, "storageAccountKind": { "value": "StorageV2" diff --git a/utilities/pipelines/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 b/utilities/pipelines/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 index 2136afbe0a..dd737090f2 100644 --- a/utilities/pipelines/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 +++ b/utilities/pipelines/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 @@ -9,12 +9,12 @@ Format the provide resource IDs into objects of resourceID, name & type Optional. The resource IDs to process .EXAMPLE -Get-ResourceIdsAsFormattedObjectList -ResourceIds @('/subscriptions//resourceGroups/test-analysisServices-parameters.json-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaaspar01') +Get-ResourceIdsAsFormattedObjectList -ResourceIds @('/subscriptions//resourceGroups/test-analysisServices-parameters.json-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaaspar01') Returns an object @{ - resourceId = '/subscriptions//resourceGroups/test-analysisServices-parameters.json-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaaspar01' + resourceId = '/subscriptions//resourceGroups/test-analysisServices-parameters.json-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaaspar01' type = 'Microsoft.Storage/storageAccounts' - name = 'adpsxxazsaaspar01' + name = 'adpqsxxazsaaspar01' } #> function Get-ResourceIdsAsFormattedObjectList { From 9585180dd688d7d3010a9e2aaf317873d4bd4d9c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 13:53:29 +0100 Subject: [PATCH 131/260] msi q --- .../roleAssignments/parameters/parameters.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/pipelines/dependencies/Microsoft.Authorization/roleAssignments/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Authorization/roleAssignments/parameters/parameters.json index 29cb3cb7a4..5dca3086d2 100644 --- a/utilities/pipelines/dependencies/Microsoft.Authorization/roleAssignments/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Authorization/roleAssignments/parameters/parameters.json @@ -6,7 +6,7 @@ "value": "Contributor" }, "principalId": { - "value": "cf33fea8-b30f-424f-ab73-c48d99e0b222" + "value": "80d7dd57-3be3-4568-b0ea-3a88062b641f" }, "subscriptionId": { "value": "<>" From cc2bf67fe5647933e0b900ba770306c1825e6dfc Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 14:09:32 +0100 Subject: [PATCH 132/260] step dep msi --- .github/workflows/platform.dependencies.yml | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 722734703d..cfbb7f104e 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -770,6 +770,34 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' + job_get_msi_id: + runs-on: ubuntu-20.04 + name: 'Get msi id for roleassignment' + env: + namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + needs: + - job_deploy_msi + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Azure Login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + enable-AzPSSession: true + - name: Run PowerShell + uses: azure/powershell@v1 + with: + inlineScript: | + # Get msi name + $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' '${{ env.namespace }}' 'parameters' 'parameters.json' + $msiParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters + $msiName = $msiParameters.name.value + Write-Verbose "Name of the MSI $msiName" -Verbose + azPSVersion: 'latest' + job_deploy_rolea: runs-on: ubuntu-20.04 name: 'Deploy role assignments' From bb070713822f6c841d9a15f38492778af9a91b81 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 15:22:47 +0100 Subject: [PATCH 133/260] get msi id --- .github/workflows/platform.dependencies.yml | 4 ++++ .../vaults/parameters/parameters.json | 10 ---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index cfbb7f104e..475c70ee09 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -796,6 +796,10 @@ jobs: $msiParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters $msiName = $msiParameters.name.value Write-Verbose "Name of the MSI $msiName" -Verbose + + # Get msi id + $msiId = (Get-AzADServicePrincipal -DisplayName $msiName).id + Write-Verbose "Id of the MSI $msiId" -Verbose azPSVersion: 'latest' job_deploy_rolea: diff --git a/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json index 460a0e498c..f736602923 100644 --- a/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json @@ -248,16 +248,6 @@ "storageModelType": "GeoRedundant", "crossRegionRestoreFlag": true } - }, - "roleAssignments": { - "value": [ - { - "roleDefinitionIdOrName": "Reader", - "principalIds": [ - "cf33fea8-b30f-424f-ab73-c48d99e0b222" - ] - } - ] } } } From 62006161497d1ecd13a3376a1f8aad490ec94ac2 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 15:54:13 +0100 Subject: [PATCH 134/260] get msi output --- .github/workflows/platform.dependencies.yml | 102 ++++++++++++++------ 1 file changed, 71 insertions(+), 31 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 475c70ee09..00af46ffa4 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -73,6 +73,7 @@ jobs: with: fetch-depth: 0 - name: 'Deploy module' + id: deploy-msi-dep uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' @@ -82,6 +83,8 @@ jobs: subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' + outputs: + msiPrincipalId: ${{ steps.deploy-msi-dep.outputs.msiPrincipalId }} job_deploy_pa: runs-on: ubuntu-20.04 @@ -770,37 +773,66 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - job_get_msi_id: - runs-on: ubuntu-20.04 - name: 'Get msi id for roleassignment' - env: - namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' - needs: - - job_deploy_msi - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - # Get msi name - $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' '${{ env.namespace }}' 'parameters' 'parameters.json' - $msiParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters - $msiName = $msiParameters.name.value - Write-Verbose "Name of the MSI $msiName" -Verbose - - # Get msi id - $msiId = (Get-AzADServicePrincipal -DisplayName $msiName).id - Write-Verbose "Id of the MSI $msiId" -Verbose - azPSVersion: 'latest' + # job_get_msi_id: + # runs-on: ubuntu-20.04 + # name: 'Get msi id for roleassignment' + # env: + # namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + # needs: + # - job_deploy_msi + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Azure Login + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_CREDENTIALS }} + # enable-AzPSSession: true + # - name: Run PowerShell + # uses: azure/powershell@v1 + # with: + # inlineScript: | + # # Get msi name + # $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' '${{ env.namespace }}' 'parameters' 'parameters.json' + # $msiParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters + # $msiName = $msiParameters.name.value + # Write-Verbose "Name of the MSI $msiName" -Verbose + + # # Get msi id + # $msiId = (Get-AzADServicePrincipal -DisplayName $msiName).id + # Write-Verbose "Id of the MSI $msiId" -Verbose + # azPSVersion: 'latest' + # - name: 'Replace Parameter File Tokens [${{ inputs.parameterFilePath }}] ' + # shell: pwsh + # run: | + # # # Load used functions + # # . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInParameterFile.ps1') + + # # # Load Settings File + # # $Settings = Get-Content -Path "settings.json" | ConvertFrom-Json + # # # Initialize Default Parameter File Tokens + # # $DefaultParameterFileTokens = @( + # # @{ Name = 'resourceGroupName'; Value = '${{ inputs.resourceGroupName }}' } + # # @{ Name = 'subscriptionId'; Value = '${{ inputs.subscriptionId }}' } + # # @{ Name = 'managementGroupId'; Value = '${{ inputs.managementGroupId }}' } + # # @{ Name = "tenantId"; Value = '${{ env.ARM_TENANT_ID }}' } + # # @{ Name = "deploymentSpId"; Value = '${{ env.DEPLOYMENT_SP_ID }}' } + # # ) + + # # $DefaultParameterFileTokens = $DefaultParameterFileTokens | ForEach-Object { [PSCustomObject]$PSItem } + + # # # Construct Token Function Input + # # $ConvertTokensInputs = @{ + # # ParameterFilePath = '${{ inputs.parameterFilePath }}' + # # DefaultParameterFileTokens = $DefaultParameterFileTokens + # # LocalCustomParameterFileTokens = $Settings.parameterFileTokens.localTokens.tokens + # # TokenPrefix = $Settings.parameterFileTokens.tokenPrefix + # # TokenSuffix = $Settings.parameterFileTokens.tokenSuffix + # # } + # # # Invoke Token Replacement Functionality + # # $null = Convert-TokensInParameterFile @ConvertTokensInputs -Verbose job_deploy_rolea: runs-on: ubuntu-20.04 @@ -818,6 +850,14 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Run PowerShell + uses: azure/powershell@v1 + with: + inlineScript: | + + # Get msi id + Write-Verbose "Id of the MSI ${{ needs.job_deploy_msi.outputs.msiPrincipalId }}" -Verbose + azPSVersion: 'latest' - name: 'Deploy module' uses: ./.github/actions/templates/validateModuleDeployment with: From a4852dc68e5dad0dcbf156f4b87f063399b44924 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 29 Dec 2021 17:45:59 +0100 Subject: [PATCH 135/260] new dep print --- .github/actions/templates/validateModuleDeployment/action.yml | 1 + .github/workflows/platform.dependencies.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 361a2ef9d3..41c6bbba63 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -132,6 +132,7 @@ runs: # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) + Write-Verbose ($outputKey $res.deploymentOutput[$outputKey].Value) -Verbose } if ($res.ContainsKey('exception')) { diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 00af46ffa4..9afee1b5a7 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -854,7 +854,6 @@ jobs: uses: azure/powershell@v1 with: inlineScript: | - # Get msi id Write-Verbose "Id of the MSI ${{ needs.job_deploy_msi.outputs.msiPrincipalId }}" -Verbose azPSVersion: 'latest' From 577c95982b61acc942d28a9895fb569486e5cb8d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 00:19:23 +0100 Subject: [PATCH 136/260] new dep print key --- .github/actions/templates/validateModuleDeployment/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 41c6bbba63..521adaed30 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -132,7 +132,7 @@ runs: # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) - Write-Verbose ($outputKey $res.deploymentOutput[$outputKey].Value) -Verbose + Write-Verbose 'Output key: $outputKey' -Verbose } if ($res.ContainsKey('exception')) { From 1594b33b1113b67d96678df66298d3ade99f2b80 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 00:26:40 +0100 Subject: [PATCH 137/260] new dep print key2 --- .github/actions/templates/validateModuleDeployment/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 521adaed30..91a4435999 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -133,6 +133,7 @@ runs: foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) Write-Verbose 'Output key: $outputKey' -Verbose + Write-Verbose ('Output key2:{0}' -f $outputKey) -Verbose } if ($res.ContainsKey('exception')) { From 8851a948cca9a8d5a0bd1ddd7ef0ef502b3c9c72 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 01:34:15 +0100 Subject: [PATCH 138/260] new dep print value --- .../actions/templates/validateModuleDeployment/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 91a4435999..09032210c5 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -129,11 +129,12 @@ runs: # Get deployment name Write-Output ('::set-output name={0}::{1}' -f 'deploymentName', $res.deploymentName) + Write-Verbose ('Output all:{0}' -f $res.deploymentOutput) -Verbose # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) - Write-Verbose 'Output key: $outputKey' -Verbose - Write-Verbose ('Output key2:{0}' -f $outputKey) -Verbose + Write-Verbose ('Output key:{0}' -f $outputKey) -Verbose + Write-Verbose ('Output value:{0}' -f $res.deploymentOutput[$outputKey].Value) -Verbose } if ($res.ContainsKey('exception')) { From ab15ae1bfef6571272c0a9d7fb60f604d6069765 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 01:51:21 +0100 Subject: [PATCH 139/260] allOut --- .../actions/templates/validateModuleDeployment/action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 09032210c5..93bc3b0e66 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -130,6 +130,11 @@ runs: Write-Output ('::set-output name={0}::{1}' -f 'deploymentName', $res.deploymentName) Write-Verbose ('Output all:{0}' -f $res.deploymentOutput) -Verbose + $allOut = $res.deploymentOutput | ConvertTo-Json -Compress -Depth 100 + Write-Verbose ('Output allOut:{0}' -f allOut) -Verbose + # Write-Host "::set-output name=matrix::[$($res.deploymentOutput | ConvertTo-Json -Compress -Depth 100)]" + # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) + # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) @@ -137,6 +142,8 @@ runs: Write-Verbose ('Output value:{0}' -f $res.deploymentOutput[$outputKey].Value) -Verbose } + Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) + if ($res.ContainsKey('exception')) { # Happens only if there is an exception throw $res.exception From 3e5bb18a328e598c4dc547f3f2086c60513fd8ac Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 01:59:04 +0100 Subject: [PATCH 140/260] allOut right --- .../actions/templates/validateModuleDeployment/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 93bc3b0e66..997cad547b 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -25,6 +25,11 @@ inputs: default: 'true' required: false +outputs: + deploymentOutput: + description: 'Deployment output matrix' + value: ${{ steps.deploy_step.outputs.deploymentOutput }} + runs: using: 'composite' steps: @@ -131,7 +136,7 @@ runs: Write-Verbose ('Output all:{0}' -f $res.deploymentOutput) -Verbose $allOut = $res.deploymentOutput | ConvertTo-Json -Compress -Depth 100 - Write-Verbose ('Output allOut:{0}' -f allOut) -Verbose + Write-Verbose ('Output allOut:{0}' -f $allOut) -Verbose # Write-Host "::set-output name=matrix::[$($res.deploymentOutput | ConvertTo-Json -Compress -Depth 100)]" # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) From dc571e1111e367244ab688937a4e349456e7d7fb Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 02:18:44 +0100 Subject: [PATCH 141/260] allOut hash --- .../templates/validateModuleDeployment/action.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 997cad547b..a4f7cd1be7 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -138,16 +138,20 @@ runs: $allOut = $res.deploymentOutput | ConvertTo-Json -Compress -Depth 100 Write-Verbose ('Output allOut:{0}' -f $allOut) -Verbose # Write-Host "::set-output name=matrix::[$($res.deploymentOutput | ConvertTo-Json -Compress -Depth 100)]" - # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) + # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) + $deploymentOutput=@{} # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { - Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) - Write-Verbose ('Output key:{0}' -f $outputKey) -Verbose - Write-Verbose ('Output value:{0}' -f $res.deploymentOutput[$outputKey].Value) -Verbose + Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) + Write-Verbose ('Output key:{0}' -f $outputKey) -Verbose + Write-Verbose ('Output value:{0}' -f $res.deploymentOutput[$outputKey].Value) -Verbose + + $deploymentOutput.add($outputKey,$res.deploymentOutput[$outputKey].Value) } - Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) + $allOut2 = $deploymentOutput | ConvertTo-Json -Compress -Depth 100 + Write-Verbose ('Output allOut2:{0}' -f $allOut2) -Verbose if ($res.ContainsKey('exception')) { # Happens only if there is an exception From 0a634d5af8e0118527ffd7a90ecf414937935fa0 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 02:27:19 +0100 Subject: [PATCH 142/260] allOut hash and action out --- .../validateModuleDeployment/action.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index a4f7cd1be7..d0a163d002 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -134,24 +134,25 @@ runs: # Get deployment name Write-Output ('::set-output name={0}::{1}' -f 'deploymentName', $res.deploymentName) - Write-Verbose ('Output all:{0}' -f $res.deploymentOutput) -Verbose - $allOut = $res.deploymentOutput | ConvertTo-Json -Compress -Depth 100 - Write-Verbose ('Output allOut:{0}' -f $allOut) -Verbose - # Write-Host "::set-output name=matrix::[$($res.deploymentOutput | ConvertTo-Json -Compress -Depth 100)]" - # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) + # Write-Verbose ('Output all:{0}' -f $res.deploymentOutput) -Verbose + # $allOut = $res.deploymentOutput | ConvertTo-Json -Compress -Depth 100 + # Write-Verbose ('Output allOut:{0}' -f $allOut) -Verbose + # # Write-Host "::set-output name=matrix::[$($res.deploymentOutput | ConvertTo-Json -Compress -Depth 100)]" + # # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) - $deploymentOutput=@{} + $deploymentOutputHash=@{} # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) Write-Verbose ('Output key:{0}' -f $outputKey) -Verbose Write-Verbose ('Output value:{0}' -f $res.deploymentOutput[$outputKey].Value) -Verbose - $deploymentOutput.add($outputKey,$res.deploymentOutput[$outputKey].Value) + $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) } - $allOut2 = $deploymentOutput | ConvertTo-Json -Compress -Depth 100 - Write-Verbose ('Output allOut2:{0}' -f $allOut2) -Verbose + $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + Write-Verbose ('Output deploymentOutput:{0}' -f $deploymentOutput) -Verbose + Write-Output ('::set-output name=deploymentOutput::{0}' -f $deploymentOutput) if ($res.ContainsKey('exception')) { # Happens only if there is an exception From 0636baed418074dcac3ceae7391c8cc137af7fd9 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 02:37:35 +0100 Subject: [PATCH 143/260] echo next step --- .github/workflows/platform.dependencies.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 9afee1b5a7..5ef60146a9 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -46,6 +46,7 @@ jobs: with: fetch-depth: 0 - name: 'Deploy module' + id: rg-deploy uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' @@ -55,6 +56,8 @@ jobs: subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' + - run: echo ${{ steps.rg-deploy.outputs.matrix.resourceGroupResourceId }} + - run: echo ${{ steps.rg-deploy.outputs.matrix.resourceGroupName }} job_deploy_msi: runs-on: ubuntu-20.04 From 2e87f86cafdf66a0ed854454111d163cc9ea7c5a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 02:42:48 +0100 Subject: [PATCH 144/260] echo next step right --- .github/workflows/platform.dependencies.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 5ef60146a9..6f8437b008 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -56,8 +56,8 @@ jobs: subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - - run: echo ${{ steps.rg-deploy.outputs.matrix.resourceGroupResourceId }} - - run: echo ${{ steps.rg-deploy.outputs.matrix.resourceGroupName }} + - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupResourceId }} + - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupName }} job_deploy_msi: runs-on: ubuntu-20.04 From 93db473efe247f92377828a1ed4054fd82211d8c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 02:57:30 +0100 Subject: [PATCH 145/260] echo next job --- .github/workflows/platform.dependencies.yml | 1815 ++++++++++--------- 1 file changed, 913 insertions(+), 902 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 6f8437b008..0e17d9111e 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -32,6 +32,8 @@ env: jobs: job_deploy_rg: runs-on: ubuntu-20.04 + outputs: + matrix: ${{ steps.rg-deploy.outputs.deploymentOutput }} name: 'Deploy resource group' env: namespace: 'Microsoft.Resources\resourceGroups' @@ -59,730 +61,677 @@ jobs: - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupResourceId }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupName }} - job_deploy_msi: - runs-on: ubuntu-20.04 - name: 'Deploy user assigned identity' - env: - namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - id: deploy-msi-dep - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - outputs: - msiPrincipalId: ${{ steps.deploy-msi-dep.outputs.msiPrincipalId }} - - job_deploy_pa: - runs-on: ubuntu-20.04 - name: 'Deploy policy assignment' - env: - namespace: 'Microsoft.Authorization\policyAssignments' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_policyAssignments_sub.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_privateBicepRegistry: - runs-on: ubuntu-20.04 - name: 'Deploy private bicep registry' - env: - namespace: 'Microsoft.ContainerRegistry\registries' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupNameArtifacts }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_evh: - runs-on: ubuntu-20.04 - name: 'Deploy eventhub' - env: - namespace: 'Microsoft.EventHub\namespaces' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_law: - runs-on: ubuntu-20.04 - name: 'Deploy log analytics workspace' - env: - namespace: 'Microsoft.OperationalInsights\workspaces' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['appi.parameters.json', 'parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sa: - runs-on: ubuntu-20.04 - name: 'Deploy storage account' - env: - namespace: 'Microsoft.Storage\storageAccounts' - needs: - - job_deploy_rg + job2: + needs: job_deploy_rg + runs-on: ubuntu-latest strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['fa.parameters.json', 'law.parameters.json', 'parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_upload_storage_files: - runs-on: ubuntu-20.04 - name: 'Upload files to storage account' - needs: - - job_deploy_sa + matrix: ${{fromJson(needs.job_deploy_rg.outputs.matrix)}} steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - # Load used functions - . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Export-ContentToBlob.ps1') - - # Get storage account name - $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'parameters' 'parameters.json' - $storageAccountParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters + - run: echo ${{ matrix.resourceGroupResourceId }} + - run: echo ${{ matrix.resourceGroupName }} - # Upload files to storage account - $functionInput = @{ - ResourceGroupName = '${{ env.resourceGroupName }}' - StorageAccountName = $storageAccountParameters.name.value - contentDirectories = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'uploads' - targetContainer = $storageAccountParameters.blobServices.value.containers[0].name - } + # job_deploy_msi: + # runs-on: ubuntu-20.04 + # name: 'Deploy user assigned identity' + # env: + # namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # id: deploy-msi-dep + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + # outputs: + # msiPrincipalId: ${{ steps.deploy-msi-dep.outputs.msiPrincipalId }} + + # job_deploy_pa: + # runs-on: ubuntu-20.04 + # name: 'Deploy policy assignment' + # env: + # namespace: 'Microsoft.Authorization\policyAssignments' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_policyAssignments_sub.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_privateBicepRegistry: + # runs-on: ubuntu-20.04 + # name: 'Deploy private bicep registry' + # env: + # namespace: 'Microsoft.ContainerRegistry\registries' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupNameArtifacts }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_evh: + # runs-on: ubuntu-20.04 + # name: 'Deploy eventhub' + # env: + # namespace: 'Microsoft.EventHub\namespaces' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_law: + # runs-on: ubuntu-20.04 + # name: 'Deploy log analytics workspace' + # env: + # namespace: 'Microsoft.OperationalInsights\workspaces' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['appi.parameters.json', 'parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sa: + # runs-on: ubuntu-20.04 + # name: 'Deploy storage account' + # env: + # namespace: 'Microsoft.Storage\storageAccounts' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # ['fa.parameters.json', 'law.parameters.json', 'parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_upload_storage_files: + # runs-on: ubuntu-20.04 + # name: 'Upload files to storage account' + # needs: + # - job_deploy_sa + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Azure Login + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_CREDENTIALS }} + # enable-AzPSSession: true + # - name: Run PowerShell + # uses: azure/powershell@v1 + # with: + # inlineScript: | + # # Load used functions + # . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Export-ContentToBlob.ps1') - Write-Verbose "Invoke task with" -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + # # Get storage account name + # $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'parameters' 'parameters.json' + # $storageAccountParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters - Export-ContentToBlob @functionInput -Verbose - azPSVersion: 'latest' + # # Upload files to storage account + # $functionInput = @{ + # ResourceGroupName = '${{ env.resourceGroupName }}' + # StorageAccountName = $storageAccountParameters.name.value + # contentDirectories = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' 'Microsoft.Storage/storageAccounts' 'uploads' + # targetContainer = $storageAccountParameters.blobServices.value.containers[0].name + # } - job_deploy_sig: - runs-on: ubuntu-20.04 - name: 'Deploy shared image gallery and definition' - env: - namespace: 'Microsoft.Compute\galleries' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # Write-Verbose "Invoke task with" -Verbose + # Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - job_deploy_ag: - runs-on: ubuntu-20.04 - name: 'Deploy action groups' - env: - namespace: 'Microsoft.Insights\actionGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # Export-ContentToBlob @functionInput -Verbose + # azPSVersion: 'latest' - job_deploy_asg: - runs-on: ubuntu-20.04 - name: 'Deploy application security groups' - env: - namespace: 'Microsoft.Network\applicationSecurityGroups' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_udr: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi route tables' - env: - namespace: 'Microsoft.Network\routeTables' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_udr: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi route tables' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\routeTables' - needs: - - job_deploy_rg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlMi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_nsg: - runs-on: ubuntu-20.04 - name: 'Deploy network security groups' - env: - namespace: 'Microsoft.Network\networkSecurityGroups' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - 'apgw.parameters.json', - 'ase.parameters.json', - 'bastion.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_nsg: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi network security group' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\networkSecurityGroups' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_pip: - runs-on: ubuntu-20.04 - name: 'Deploy public IP addresses' - env: - namespace: 'Microsoft.Network\publicIPAddresses' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: - ['apgw.parameters.json', 'bas.parameters.json', 'lb.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_appi: - runs-on: ubuntu-20.04 - name: 'Deploy application insight' - env: - namespace: 'Microsoft.Insights\components' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_aut: - runs-on: ubuntu-20.04 - name: 'Deploy automation account' - env: - namespace: 'Microsoft.Automation\automationAccounts' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_avdhp: - runs-on: ubuntu-20.04 - name: 'Deploy AVD host pool' - env: - namespace: 'Microsoft.DesktopVirtualization\hostpools' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_rsv: - runs-on: ubuntu-20.04 - name: 'Deploy recovery services vault' - env: - namespace: 'Microsoft.RecoveryServices\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_kv: - runs-on: ubuntu-20.04 - name: 'Deploy key vaults' - env: - namespace: 'Microsoft.KeyVault\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json', 'pe.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_kv_secrets: - runs-on: ubuntu-20.04 - name: 'Set key vault secrets keys and certificates' - needs: - - job_deploy_kv - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length - $passwordString = (New-Guid).Guid.SubString(0,19) - $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - $keyVaultName = 'adpq-sxx-az-kv-x-001' - $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force - # VirtualMachines and VMSS - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminUsername' -SecretValue $username - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminPassword' -SecretValue $password - # Azure SQLServer - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password - # VirtualNetworkGateway - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'vpnSharedKey' -SecretValue $vpnSharedKey - # DiskEncryptionSet, VirtualMachines and VMSS - az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKey' - # ApplicationGateway - $apgwCertPolicy = New-AzKeyVaultCertificatePolicy -SecretContentType 'application/x-pkcs12' -SubjectName 'CN=fabrikam.com' -IssuerName 'Self' -ValidityInMonths 12 -ReuseKeyOnRenewal - Add-AzKeyVaultCertificate -VaultName $keyVaultName -Name 'applicationGatewaySslCertificate' -CertificatePolicy $apgwCertPolicy - # API management - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientid' -SecretValue $username - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientsecret' -SecretValue $password - azPSVersion: 'latest' - - job_deploy_sqlmi_kv: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi key vault' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.KeyVault\vaults' - needs: - - job_deploy_sa - - job_deploy_evh - - job_deploy_law - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_kv_secrets: - runs-on: ubuntu-20.04 - name: 'Set sqlmi key vault secrets and keys' - if: github.event.inputs.deploySqlMiDependencies == 'true' - needs: - - job_deploy_sqlmi_kv - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Azure Login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - enable-AzPSSession: true - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length - $passwordString = (New-Guid).Guid.SubString(0,19) - $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - $keyVaultName = 'adpq-sxx-az-kv-x-sqlmi' - $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force - $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force - $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force - # SQLManagedInstances secrets - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username - Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password - # SQLManagedInstances Keys - az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKeySqlMi' - azPSVersion: 'latest' - - job_deploy_avdag: - runs-on: ubuntu-20.04 - name: 'Deploy AVD application group' - env: - namespace: 'Microsoft.DesktopVirtualization\applicationgroups' - needs: - - job_deploy_avdhp - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # job_deploy_sig: + # runs-on: ubuntu-20.04 + # name: 'Deploy shared image gallery and definition' + # env: + # namespace: 'Microsoft.Compute\galleries' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_ag: + # runs-on: ubuntu-20.04 + # name: 'Deploy action groups' + # env: + # namespace: 'Microsoft.Insights\actionGroups' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_asg: + # runs-on: ubuntu-20.04 + # name: 'Deploy application security groups' + # env: + # namespace: 'Microsoft.Network\applicationSecurityGroups' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_udr: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi route tables' + # env: + # namespace: 'Microsoft.Network\routeTables' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sqlmi_udr: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi route tables' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # env: + # namespace: 'Microsoft.Network\routeTables' + # needs: + # - job_deploy_rg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['sqlMi.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_nsg: + # runs-on: ubuntu-20.04 + # name: 'Deploy network security groups' + # env: + # namespace: 'Microsoft.Network\networkSecurityGroups' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # [ + # 'apgw.parameters.json', + # 'ase.parameters.json', + # 'bastion.parameters.json', + # 'parameters.json', + # ] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sqlmi_nsg: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi network security group' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # env: + # namespace: 'Microsoft.Network\networkSecurityGroups' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['sqlmi.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_pip: + # runs-on: ubuntu-20.04 + # name: 'Deploy public IP addresses' + # env: + # namespace: 'Microsoft.Network\publicIPAddresses' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # ['apgw.parameters.json', 'bas.parameters.json', 'lb.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_appi: + # runs-on: ubuntu-20.04 + # name: 'Deploy application insight' + # env: + # namespace: 'Microsoft.Insights\components' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_aut: + # runs-on: ubuntu-20.04 + # name: 'Deploy automation account' + # env: + # namespace: 'Microsoft.Automation\automationAccounts' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_avdhp: + # runs-on: ubuntu-20.04 + # name: 'Deploy AVD host pool' + # env: + # namespace: 'Microsoft.DesktopVirtualization\hostpools' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_rsv: + # runs-on: ubuntu-20.04 + # name: 'Deploy recovery services vault' + # env: + # namespace: 'Microsoft.RecoveryServices\vaults' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_kv: + # runs-on: ubuntu-20.04 + # name: 'Deploy key vaults' + # env: + # namespace: 'Microsoft.KeyVault\vaults' + # needs: + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json', 'pe.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_kv_secrets: + # runs-on: ubuntu-20.04 + # name: 'Set key vault secrets keys and certificates' + # needs: + # - job_deploy_kv + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Azure Login + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_CREDENTIALS }} + # enable-AzPSSession: true + # - name: Run PowerShell + # uses: azure/powershell@v1 + # with: + # inlineScript: | + # $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length + # $passwordString = (New-Guid).Guid.SubString(0,19) + # $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) + # $keyVaultName = 'adpq-sxx-az-kv-x-001' + # $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force + # $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force + # $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force + # # VirtualMachines and VMSS + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminUsername' -SecretValue $username + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'adminPassword' -SecretValue $password + # # Azure SQLServer + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password + # # VirtualNetworkGateway + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'vpnSharedKey' -SecretValue $vpnSharedKey + # # DiskEncryptionSet, VirtualMachines and VMSS + # az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKey' + # # ApplicationGateway + # $apgwCertPolicy = New-AzKeyVaultCertificatePolicy -SecretContentType 'application/x-pkcs12' -SubjectName 'CN=fabrikam.com' -IssuerName 'Self' -ValidityInMonths 12 -ReuseKeyOnRenewal + # Add-AzKeyVaultCertificate -VaultName $keyVaultName -Name 'applicationGatewaySslCertificate' -CertificatePolicy $apgwCertPolicy + # # API management + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientid' -SecretValue $username + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'apimclientsecret' -SecretValue $password + # azPSVersion: 'latest' - # job_get_msi_id: + # job_deploy_sqlmi_kv: # runs-on: ubuntu-20.04 - # name: 'Get msi id for roleassignment' + # name: 'Deploy sqlmi key vault' + # if: github.event.inputs.deploySqlMiDependencies == 'true' # env: - # namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + # namespace: 'Microsoft.KeyVault\vaults' # needs: - # - job_deploy_msi + # - job_deploy_sa + # - job_deploy_evh + # - job_deploy_law + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['sqlmi.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sqlmi_kv_secrets: + # runs-on: ubuntu-20.04 + # name: 'Set sqlmi key vault secrets and keys' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # needs: + # - job_deploy_sqlmi_kv # steps: # - name: 'Checkout' # uses: actions/checkout@v2 @@ -797,196 +746,258 @@ jobs: # uses: azure/powershell@v1 # with: # inlineScript: | - # # Get msi name - # $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' '${{ env.namespace }}' 'parameters' 'parameters.json' - # $msiParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters - # $msiName = $msiParameters.name.value - # Write-Verbose "Name of the MSI $msiName" -Verbose + # $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length + # $passwordString = (New-Guid).Guid.SubString(0,19) + # $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) + # $keyVaultName = 'adpq-sxx-az-kv-x-sqlmi' + # $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force + # $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force + # $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force + # # SQLManagedInstances secrets + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLogin' -SecretValue $username + # Set-AzKeyVaultSecret -VaultName $keyVaultName -Name 'administratorLoginPassword' -SecretValue $password + # # SQLManagedInstances Keys + # az keyvault key create --vault-name $keyVaultName --name 'keyEncryptionKeySqlMi' + # azPSVersion: 'latest' + # job_deploy_avdag: + # runs-on: ubuntu-20.04 + # name: 'Deploy AVD application group' + # env: + # namespace: 'Microsoft.DesktopVirtualization\applicationgroups' + # needs: + # - job_deploy_avdhp + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # # job_get_msi_id: + # # runs-on: ubuntu-20.04 + # # name: 'Get msi id for roleassignment' + # # env: + # # namespace: 'Microsoft.ManagedIdentity\userAssignedIdentities' + # # needs: + # # - job_deploy_msi + # # steps: + # # - name: 'Checkout' + # # uses: actions/checkout@v2 + # # with: + # # fetch-depth: 0 + # # - name: Azure Login + # # uses: azure/login@v1 + # # with: + # # creds: ${{ secrets.AZURE_CREDENTIALS }} + # # enable-AzPSSession: true + # # - name: Run PowerShell + # # uses: azure/powershell@v1 + # # with: + # # inlineScript: | + # # # Get msi name + # # $parameterFilePath = Join-Path $env:GITHUB_WORKSPACE '${{ env.dependencyPath }}' '${{ env.namespace }}' 'parameters' 'parameters.json' + # # $msiParameters = (ConvertFrom-Json (Get-Content -path $parameterFilePath -Raw)).parameters + # # $msiName = $msiParameters.name.value + # # Write-Verbose "Name of the MSI $msiName" -Verbose + + # # # Get msi id + # # $msiId = (Get-AzADServicePrincipal -DisplayName $msiName).id + # # Write-Verbose "Id of the MSI $msiId" -Verbose + # # azPSVersion: 'latest' + # # - name: 'Replace Parameter File Tokens [${{ inputs.parameterFilePath }}] ' + # # shell: pwsh + # # run: | + # # # # Load used functions + # # # . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInParameterFile.ps1') + + # # # # Load Settings File + # # # $Settings = Get-Content -Path "settings.json" | ConvertFrom-Json + # # # # Initialize Default Parameter File Tokens + # # # $DefaultParameterFileTokens = @( + # # # @{ Name = 'resourceGroupName'; Value = '${{ inputs.resourceGroupName }}' } + # # # @{ Name = 'subscriptionId'; Value = '${{ inputs.subscriptionId }}' } + # # # @{ Name = 'managementGroupId'; Value = '${{ inputs.managementGroupId }}' } + # # # @{ Name = "tenantId"; Value = '${{ env.ARM_TENANT_ID }}' } + # # # @{ Name = "deploymentSpId"; Value = '${{ env.DEPLOYMENT_SP_ID }}' } + # # # ) + + # # # $DefaultParameterFileTokens = $DefaultParameterFileTokens | ForEach-Object { [PSCustomObject]$PSItem } + + # # # # Construct Token Function Input + # # # $ConvertTokensInputs = @{ + # # # ParameterFilePath = '${{ inputs.parameterFilePath }}' + # # # DefaultParameterFileTokens = $DefaultParameterFileTokens + # # # LocalCustomParameterFileTokens = $Settings.parameterFileTokens.localTokens.tokens + # # # TokenPrefix = $Settings.parameterFileTokens.tokenPrefix + # # # TokenSuffix = $Settings.parameterFileTokens.tokenSuffix + # # # } + # # # # Invoke Token Replacement Functionality + # # # $null = Convert-TokensInParameterFile @ConvertTokensInputs -Verbose + + # job_deploy_rolea: + # runs-on: ubuntu-20.04 + # name: 'Deploy role assignments' + # env: + # namespace: 'Microsoft.Authorization\roleAssignments' + # needs: + # - job_deploy_msi + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: Run PowerShell + # uses: azure/powershell@v1 + # with: + # inlineScript: | # # Get msi id - # $msiId = (Get-AzADServicePrincipal -DisplayName $msiName).id - # Write-Verbose "Id of the MSI $msiId" -Verbose + # Write-Verbose "Id of the MSI ${{ needs.job_deploy_msi.outputs.msiPrincipalId }}" -Verbose # azPSVersion: 'latest' - # - name: 'Replace Parameter File Tokens [${{ inputs.parameterFilePath }}] ' - # shell: pwsh - # run: | - # # # Load used functions - # # . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInParameterFile.ps1') - - # # # Load Settings File - # # $Settings = Get-Content -Path "settings.json" | ConvertFrom-Json - # # # Initialize Default Parameter File Tokens - # # $DefaultParameterFileTokens = @( - # # @{ Name = 'resourceGroupName'; Value = '${{ inputs.resourceGroupName }}' } - # # @{ Name = 'subscriptionId'; Value = '${{ inputs.subscriptionId }}' } - # # @{ Name = 'managementGroupId'; Value = '${{ inputs.managementGroupId }}' } - # # @{ Name = "tenantId"; Value = '${{ env.ARM_TENANT_ID }}' } - # # @{ Name = "deploymentSpId"; Value = '${{ env.DEPLOYMENT_SP_ID }}' } - # # ) - - # # $DefaultParameterFileTokens = $DefaultParameterFileTokens | ForEach-Object { [PSCustomObject]$PSItem } - - # # # Construct Token Function Input - # # $ConvertTokensInputs = @{ - # # ParameterFilePath = '${{ inputs.parameterFilePath }}' - # # DefaultParameterFileTokens = $DefaultParameterFileTokens - # # LocalCustomParameterFileTokens = $Settings.parameterFileTokens.localTokens.tokens - # # TokenPrefix = $Settings.parameterFileTokens.tokenPrefix - # # TokenSuffix = $Settings.parameterFileTokens.tokenSuffix - # # } - # # # Invoke Token Replacement Functionality - # # $null = Convert-TokensInParameterFile @ConvertTokensInputs -Verbose - - job_deploy_rolea: - runs-on: ubuntu-20.04 - name: 'Deploy role assignments' - env: - namespace: 'Microsoft.Authorization\roleAssignments' - needs: - - job_deploy_msi - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Run PowerShell - uses: azure/powershell@v1 - with: - inlineScript: | - # Get msi id - Write-Verbose "Id of the MSI ${{ needs.job_deploy_msi.outputs.msiPrincipalId }}" -Verbose - azPSVersion: 'latest' - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_rbac_sub.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_vnet: - runs-on: ubuntu-20.04 - name: 'Deploy virtual networks' - env: - namespace: 'Microsoft.Network\virtualNetworks' - needs: - - job_deploy_nsg - strategy: - fail-fast: false - matrix: - parameterFilePaths: - [ - '1.bastion.parameters.json', - '2.vnetpeer01.parameters.json', - '3.vnetpeer02.parameters.json', - '4.azfw.parameters.json', - '5.aks.parameters.json', - 'parameters.json', - ] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_sqlmi_vnet: - runs-on: ubuntu-20.04 - name: 'Deploy sqlmi virtual network' - if: github.event.inputs.deploySqlMiDependencies == 'true' - env: - namespace: 'Microsoft.Network\virtualNetworks' - needs: - - job_deploy_sqlmi_udr - - job_deploy_sqlmi_nsg - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['6.sqlmi.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_dnszone: - runs-on: ubuntu-20.04 - name: 'Deploy private DNS zones' - env: - namespace: 'Microsoft.Network\privateDnsZones' - needs: - - job_deploy_vnet - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' - - job_deploy_vm: - runs-on: ubuntu-20.04 - name: 'Deploy virtual machines' - env: - namespace: 'Microsoft.Compute\virtualMachines' - needs: - - job_deploy_kv_secrets - - job_deploy_vnet - - job_deploy_rsv - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Deploy module' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' - parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ env.removeDeployment }}' + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/.bicep/nested_rbac_sub.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_vnet: + # runs-on: ubuntu-20.04 + # name: 'Deploy virtual networks' + # env: + # namespace: 'Microsoft.Network\virtualNetworks' + # needs: + # - job_deploy_nsg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: + # [ + # '1.bastion.parameters.json', + # '2.vnetpeer01.parameters.json', + # '3.vnetpeer02.parameters.json', + # '4.azfw.parameters.json', + # '5.aks.parameters.json', + # 'parameters.json', + # ] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_sqlmi_vnet: + # runs-on: ubuntu-20.04 + # name: 'Deploy sqlmi virtual network' + # if: github.event.inputs.deploySqlMiDependencies == 'true' + # env: + # namespace: 'Microsoft.Network\virtualNetworks' + # needs: + # - job_deploy_sqlmi_udr + # - job_deploy_sqlmi_nsg + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['6.sqlmi.parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_dnszone: + # runs-on: ubuntu-20.04 + # name: 'Deploy private DNS zones' + # env: + # namespace: 'Microsoft.Network\privateDnsZones' + # needs: + # - job_deploy_vnet + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' + + # job_deploy_vm: + # runs-on: ubuntu-20.04 + # name: 'Deploy virtual machines' + # env: + # namespace: 'Microsoft.Compute\virtualMachines' + # needs: + # - job_deploy_kv_secrets + # - job_deploy_vnet + # - job_deploy_rsv + # strategy: + # fail-fast: false + # matrix: + # parameterFilePaths: ['parameters.json'] + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Deploy module' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: 'arm/${{ env.namespace }}/deploy.bicep' + # parameterFilePath: '${{ env.dependencyPath }}/${{ env.namespace }}/parameters/${{ matrix.parameterFilePaths }}' + # location: '${{ env.defaultLocation }}' + # resourceGroupName: '${{ env.resourceGroupName }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ env.removeDeployment }}' From 53e9d14b62adfcc3c2e545d53a185d37caaa842d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 03:08:07 +0100 Subject: [PATCH 146/260] echo out json --- .github/workflows/platform.dependencies.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 0e17d9111e..945c18b4f0 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -33,7 +33,7 @@ jobs: job_deploy_rg: runs-on: ubuntu-20.04 outputs: - matrix: ${{ steps.rg-deploy.outputs.deploymentOutput }} + deploymentOutput: ${{ steps.rg-deploy.outputs.deploymentOutput }} name: 'Deploy resource group' env: namespace: 'Microsoft.Resources\resourceGroups' @@ -58,14 +58,19 @@ jobs: subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' + - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupResourceId }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupName }} + - run: | + $output = ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }} + echo $output.resourceGroupName + echo $output.resourceGroupResourceId job2: needs: job_deploy_rg runs-on: ubuntu-latest strategy: - matrix: ${{fromJson(needs.job_deploy_rg.outputs.matrix)}} + matrix: ${{fromJson(needs.job_deploy_rg.outputs.deploymentOutput)}} steps: - run: echo ${{ matrix.resourceGroupResourceId }} - run: echo ${{ matrix.resourceGroupName }} From d4b4f5580d19735e002a25f3606306e9a64e91ae Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 03:14:21 +0100 Subject: [PATCH 147/260] echo one line --- .github/workflows/platform.dependencies.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 945c18b4f0..fb273153d8 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -61,10 +61,8 @@ jobs: - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupResourceId }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupName }} - - run: | - $output = ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }} - echo $output.resourceGroupName - echo $output.resourceGroupResourceId + - run: $output = ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }} + - run: echo (ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }}).resourceGroupResourceId job2: needs: job_deploy_rg From 8becb42cd52c7b4f16a7952a24887fadc5fa7c33 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 03:46:37 +0100 Subject: [PATCH 148/260] out string --- .../templates/validateModuleDeployment/action.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index d0a163d002..4e81b6d3fa 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -141,6 +141,7 @@ runs: # # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) $deploymentOutputHash=@{} + $deploymentOutputString='{' # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) @@ -148,9 +149,18 @@ runs: Write-Verbose ('Output value:{0}' -f $res.deploymentOutput[$outputKey].Value) -Verbose $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) + $deploymentOutputString+='"'+$outputKey+'":"'+$res.deploymentOutput[$outputKey].Value+'",' + $deploymentOutputString+='"{0}":"{1}",' -f $outputKey, $res.deploymentOutput[$outputKey].Value } - $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + # $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + # Write-Verbose ('Output deploymentOutput:{0}' -f $deploymentOutput) -Verbose + # Write-Output ('::set-output name=deploymentOutput::{0}' -f $deploymentOutput) + + $deploymentOutputString = $deploymentOutputString.Substring(0,$deploymentOutputString.Length-1) + $deploymentOutputString+='}' + + $deploymentOutput = $deploymentOutputString Write-Verbose ('Output deploymentOutput:{0}' -f $deploymentOutput) -Verbose Write-Output ('::set-output name=deploymentOutput::{0}' -f $deploymentOutput) From 4da4900adaa0d54d3500cc1908b93af08efa1547 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 03:50:04 +0100 Subject: [PATCH 149/260] out string in dep --- .github/workflows/platform.dependencies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index fb273153d8..8c7e98ec82 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -61,7 +61,7 @@ jobs: - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupResourceId }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupName }} - - run: $output = ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }} + - run: echo (ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }}.resourceGroupName - run: echo (ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }}).resourceGroupResourceId job2: From 01786d25201f0404d1c38b8ae5dbe3c128ecf034 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 03:51:00 +0100 Subject: [PATCH 150/260] out string in dep ) --- .github/workflows/platform.dependencies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 8c7e98ec82..d6cc2353f4 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -61,7 +61,7 @@ jobs: - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupResourceId }} - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupName }} - - run: echo (ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }}.resourceGroupName + - run: echo (ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }}).resourceGroupName - run: echo (ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }}).resourceGroupResourceId job2: From 039205eb94113cf95918f85dc770f96726d78848 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 04:08:54 +0100 Subject: [PATCH 151/260] cast --- .../actions/templates/validateModuleDeployment/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 4e81b6d3fa..e6f8854475 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -160,9 +160,9 @@ runs: $deploymentOutputString = $deploymentOutputString.Substring(0,$deploymentOutputString.Length-1) $deploymentOutputString+='}' - $deploymentOutput = $deploymentOutputString - Write-Verbose ('Output deploymentOutput:{0}' -f $deploymentOutput) -Verbose - Write-Output ('::set-output name=deploymentOutput::{0}' -f $deploymentOutput) + # $deploymentOutput = $deploymentOutputString + Write-Verbose ('Output deploymentOutputString:{0}' -f $deploymentOutputString) -Verbose + Write-Output ('::set-output name=deploymentOutput::[$({0})]' -f $deploymentOutputString) if ($res.ContainsKey('exception')) { # Happens only if there is an exception From 02aa3f8975ad9c53907cc9018ca757ae24374192 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 04:16:06 +0100 Subject: [PATCH 152/260] double entry --- .github/actions/templates/validateModuleDeployment/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index e6f8854475..acdee0c049 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -149,7 +149,7 @@ runs: Write-Verbose ('Output value:{0}' -f $res.deploymentOutput[$outputKey].Value) -Verbose $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) - $deploymentOutputString+='"'+$outputKey+'":"'+$res.deploymentOutput[$outputKey].Value+'",' + # $deploymentOutputString+='"'+$outputKey+'":"'+$res.deploymentOutput[$outputKey].Value+'",' $deploymentOutputString+='"{0}":"{1}",' -f $outputKey, $res.deploymentOutput[$outputKey].Value } From 84a7f9a0a46c47d00dbc4fbb2cbac1f8e616a28c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 04:21:42 +0100 Subject: [PATCH 153/260] double entry out --- .github/actions/templates/validateModuleDeployment/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index acdee0c049..233cf32b46 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -162,7 +162,8 @@ runs: # $deploymentOutput = $deploymentOutputString Write-Verbose ('Output deploymentOutputString:{0}' -f $deploymentOutputString) -Verbose - Write-Output ('::set-output name=deploymentOutput::[$({0})]' -f $deploymentOutputString) + # Write-Output ('::set-output name=deploymentOutput::[$({0})]' -f $deploymentOutputString) + Write-Host "::set-output name=deploymentOutput::[$($deploymentOutputString)]" if ($res.ContainsKey('exception')) { # Happens only if there is an exception From 0770203cc6d3c0165e4420ed90426ac342b246be Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 04:37:09 +0100 Subject: [PATCH 154/260] brace out --- .../templates/validateModuleDeployment/action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 233cf32b46..712d6853a4 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -141,7 +141,7 @@ runs: # # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) $deploymentOutputHash=@{} - $deploymentOutputString='{' + # $deploymentOutputString='{' # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) @@ -158,12 +158,12 @@ runs: # Write-Output ('::set-output name=deploymentOutput::{0}' -f $deploymentOutput) $deploymentOutputString = $deploymentOutputString.Substring(0,$deploymentOutputString.Length-1) - $deploymentOutputString+='}' + # $deploymentOutputString+='}' # $deploymentOutput = $deploymentOutputString - Write-Verbose ('Output deploymentOutputString:{0}' -f $deploymentOutputString) -Verbose - # Write-Output ('::set-output name=deploymentOutput::[$({0})]' -f $deploymentOutputString) - Write-Host "::set-output name=deploymentOutput::[$($deploymentOutputString)]" + Write-Verbose "Output deploymentOutputString:{$deploymentOutputString)}" -Verbose + # Write-Output ('::set-output name=deploymentOutput::{{0}}' -f $deploymentOutputString) + Write-Host "::set-output name=deploymentOutput::{$deploymentOutputString}" if ($res.ContainsKey('exception')) { # Happens only if there is an exception From 74e142bc64ddb7857b335e783fd4b82f5b8a2745 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 04:49:42 +0100 Subject: [PATCH 155/260] last --- .../templates/validateModuleDeployment/action.yml | 4 ++-- .github/workflows/platform.dependencies.yml | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 712d6853a4..e8fee2fac3 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -161,9 +161,9 @@ runs: # $deploymentOutputString+='}' # $deploymentOutput = $deploymentOutputString - Write-Verbose "Output deploymentOutputString:{$deploymentOutputString)}" -Verbose + Write-Verbose "Output deploymentOutputString:$deploymentOutputString" -Verbose # Write-Output ('::set-output name=deploymentOutput::{{0}}' -f $deploymentOutputString) - Write-Host "::set-output name=deploymentOutput::{$deploymentOutputString}" + Write-Host "::set-output name=deploymentOutput::$deploymentOutputString" if ($res.ContainsKey('exception')) { # Happens only if there is an exception diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index d6cc2353f4..e0b8f9b8ab 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -59,10 +59,14 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput }} - - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupResourceId }} - - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput.resourceGroupName }} - - run: echo (ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }}).resourceGroupName - - run: echo (ConvertFrom-Json ${{ steps.rg-deploy.outputs.deploymentOutput }}).resourceGroupResourceId + - run: | + $deploymentOutput = ${{ steps.rg-deploy.outputs.deploymentOutput }} + echo $deploymentOutput + $deploymentOutput = "{$deploymentOutput}" + echo $deploymentOutput + $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput + echo $deploymentOutputConversion.resourceGroupName + job2: needs: job_deploy_rg From 69638a5fc5693891910297f54a37fe725dce4e72 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 04:54:40 +0100 Subject: [PATCH 156/260] least --- .github/workflows/platform.dependencies.yml | 25 +++++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index e0b8f9b8ab..63bde626c2 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -59,13 +59,24 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput }} - - run: | - $deploymentOutput = ${{ steps.rg-deploy.outputs.deploymentOutput }} - echo $deploymentOutput - $deploymentOutput = "{$deploymentOutput}" - echo $deploymentOutput - $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput - echo $deploymentOutputConversion.resourceGroupName + - name: Run PowerShell + uses: azure/powershell@v1 + with: + inlineScript: | + $deploymentOutput = ${{ steps.rg-deploy.outputs.deploymentOutput }} + Write-Verbose $deploymentOutput -Verbose + $deploymentOutput = "{$deploymentOutput}" + Write-Verbose $deploymentOutput -Verbose + $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput + Write-Verbose $deploymentOutputConversion.resourceGroupName -Verbose + azPSVersion: 'latest' + # - run: | + # $deploymentOutput = ${{ steps.rg-deploy.outputs.deploymentOutput }} + # echo $deploymentOutput + # $deploymentOutput = "{$deploymentOutput}" + # echo $deploymentOutput + # $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput + # echo $deploymentOutputConversion.resourceGroupName job2: From 1fedf34f7aa75bbdfe83bf072b14eab2fe592547 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 05:01:35 +0100 Subject: [PATCH 157/260] beast --- .github/workflows/platform.dependencies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 63bde626c2..2a4c24f1ea 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -63,7 +63,7 @@ jobs: uses: azure/powershell@v1 with: inlineScript: | - $deploymentOutput = ${{ steps.rg-deploy.outputs.deploymentOutput }} + $deploymentOutput = '${{ steps.rg-deploy.outputs.deploymentOutput }}' Write-Verbose $deploymentOutput -Verbose $deploymentOutput = "{$deploymentOutput}" Write-Verbose $deploymentOutput -Verbose From b29dfe4b76250c19a01cc755fcda9f49b786df08 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 05:17:55 +0100 Subject: [PATCH 158/260] bast --- .../validateModuleDeployment/action.yml | 17 ++++++++--------- .github/workflows/platform.dependencies.yml | 18 +++++++++++------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index e8fee2fac3..5931deb30e 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -141,7 +141,7 @@ runs: # # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) $deploymentOutputHash=@{} - # $deploymentOutputString='{' + # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { Write-Output ('::set-output name={0}::{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) @@ -153,17 +153,16 @@ runs: $deploymentOutputString+='"{0}":"{1}",' -f $outputKey, $res.deploymentOutput[$outputKey].Value } - # $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + Write-Verbose "Output deploymentOutput:$deploymentOutput" -Verbose + Write-Host "::set-output name=deploymentOutput::$deploymentOutput" # Write-Verbose ('Output deploymentOutput:{0}' -f $deploymentOutput) -Verbose # Write-Output ('::set-output name=deploymentOutput::{0}' -f $deploymentOutput) - $deploymentOutputString = $deploymentOutputString.Substring(0,$deploymentOutputString.Length-1) - # $deploymentOutputString+='}' - - # $deploymentOutput = $deploymentOutputString - Write-Verbose "Output deploymentOutputString:$deploymentOutputString" -Verbose - # Write-Output ('::set-output name=deploymentOutput::{{0}}' -f $deploymentOutputString) - Write-Host "::set-output name=deploymentOutput::$deploymentOutputString" + # $deploymentOutputString = $deploymentOutputString.Substring(0,$deploymentOutputString.Length-1) + # Write-Verbose "Output deploymentOutputString:$deploymentOutputString" -Verbose + # # Write-Output ('::set-output name=deploymentOutput::{{0}}' -f $deploymentOutputString) + # Write-Host "::set-output name=deploymentOutput::$deploymentOutputString" if ($res.ContainsKey('exception')) { # Happens only if there is an exception diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 2a4c24f1ea..cdcdfb29ff 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -59,6 +59,17 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput }} + # - name: Run PowerShell + # uses: azure/powershell@v1 + # with: + # inlineScript: | + # $deploymentOutput = '${{ steps.rg-deploy.outputs.deploymentOutput }}' + # Write-Verbose $deploymentOutput -Verbose + # $deploymentOutput = "{$deploymentOutput}" + # Write-Verbose $deploymentOutput -Verbose + # $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput + # Write-Verbose $deploymentOutputConversion.resourceGroupName -Verbose + # azPSVersion: 'latest' - name: Run PowerShell uses: azure/powershell@v1 with: @@ -70,13 +81,6 @@ jobs: $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput Write-Verbose $deploymentOutputConversion.resourceGroupName -Verbose azPSVersion: 'latest' - # - run: | - # $deploymentOutput = ${{ steps.rg-deploy.outputs.deploymentOutput }} - # echo $deploymentOutput - # $deploymentOutput = "{$deploymentOutput}" - # echo $deploymentOutput - # $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput - # echo $deploymentOutputConversion.resourceGroupName job2: From 0b5bc33429299a968934deb7d042d8e30a8a9ec6 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 05:30:52 +0100 Subject: [PATCH 159/260] back --- .../validateModuleDeployment/action.yml | 29 +++++++------------ .github/workflows/platform.dependencies.yml | 29 +++++++++---------- 2 files changed, 24 insertions(+), 34 deletions(-) diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index 5931deb30e..364dee341f 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -134,13 +134,7 @@ runs: # Get deployment name Write-Output ('::set-output name={0}::{1}' -f 'deploymentName', $res.deploymentName) - # Write-Verbose ('Output all:{0}' -f $res.deploymentOutput) -Verbose - # $allOut = $res.deploymentOutput | ConvertTo-Json -Compress -Depth 100 - # Write-Verbose ('Output allOut:{0}' -f $allOut) -Verbose - # # Write-Host "::set-output name=matrix::[$($res.deploymentOutput | ConvertTo-Json -Compress -Depth 100)]" - # # Write-Output ('::set-output name=deploymentOutput::{0}' -f $allOut) - - $deploymentOutputHash=@{} + # $deploymentOutputHash=@{} # Populate further outputs foreach ($outputKey in $res.deploymentOutput.Keys) { @@ -148,21 +142,20 @@ runs: Write-Verbose ('Output key:{0}' -f $outputKey) -Verbose Write-Verbose ('Output value:{0}' -f $res.deploymentOutput[$outputKey].Value) -Verbose - $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) - # $deploymentOutputString+='"'+$outputKey+'":"'+$res.deploymentOutput[$outputKey].Value+'",' + # $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) $deploymentOutputString+='"{0}":"{1}",' -f $outputKey, $res.deploymentOutput[$outputKey].Value } - $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 - Write-Verbose "Output deploymentOutput:$deploymentOutput" -Verbose - Write-Host "::set-output name=deploymentOutput::$deploymentOutput" - # Write-Verbose ('Output deploymentOutput:{0}' -f $deploymentOutput) -Verbose - # Write-Output ('::set-output name=deploymentOutput::{0}' -f $deploymentOutput) + # $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + # Write-Verbose "Output deploymentOutput:$deploymentOutput" -Verbose + # Write-Host "::set-output name=deploymentOutput::$deploymentOutput" + # # Write-Verbose ('Output deploymentOutput:{0}' -f $deploymentOutput) -Verbose + # # Write-Output ('::set-output name=deploymentOutput::{0}' -f $deploymentOutput) - # $deploymentOutputString = $deploymentOutputString.Substring(0,$deploymentOutputString.Length-1) - # Write-Verbose "Output deploymentOutputString:$deploymentOutputString" -Verbose - # # Write-Output ('::set-output name=deploymentOutput::{{0}}' -f $deploymentOutputString) - # Write-Host "::set-output name=deploymentOutput::$deploymentOutputString" + $deploymentOutputString = $deploymentOutputString.Substring(0,$deploymentOutputString.Length-1) + Write-Verbose "Output deploymentOutputString:$deploymentOutputString" -Verbose + # Write-Output ('::set-output name=deploymentOutput::{{0}}' -f $deploymentOutputString) + Write-Output "::set-output name=deploymentOutput::$deploymentOutputString" if ($res.ContainsKey('exception')) { # Happens only if there is an exception diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index cdcdfb29ff..48381b46b9 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -59,17 +59,6 @@ jobs: managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' removeDeployment: '${{ env.removeDeployment }}' - run: echo ${{ steps.rg-deploy.outputs.deploymentOutput }} - # - name: Run PowerShell - # uses: azure/powershell@v1 - # with: - # inlineScript: | - # $deploymentOutput = '${{ steps.rg-deploy.outputs.deploymentOutput }}' - # Write-Verbose $deploymentOutput -Verbose - # $deploymentOutput = "{$deploymentOutput}" - # Write-Verbose $deploymentOutput -Verbose - # $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput - # Write-Verbose $deploymentOutputConversion.resourceGroupName -Verbose - # azPSVersion: 'latest' - name: Run PowerShell uses: azure/powershell@v1 with: @@ -80,17 +69,25 @@ jobs: Write-Verbose $deploymentOutput -Verbose $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput Write-Verbose $deploymentOutputConversion.resourceGroupName -Verbose + Write-Verbose $deploymentOutputConversion.resourceGroupResourceId -Verbose azPSVersion: 'latest' - job2: needs: job_deploy_rg runs-on: ubuntu-latest - strategy: - matrix: ${{fromJson(needs.job_deploy_rg.outputs.deploymentOutput)}} steps: - - run: echo ${{ matrix.resourceGroupResourceId }} - - run: echo ${{ matrix.resourceGroupName }} + - name: Run PowerShell + uses: azure/powershell@v1 + with: + inlineScript: | + $deploymentOutput = '${{ needs.job_deploy_rg.outputs.deploymentOutput }}' + Write-Verbose $deploymentOutput -Verbose + $deploymentOutput = "{$deploymentOutput}" + Write-Verbose $deploymentOutput -Verbose + $deploymentOutputConversion = ConvertFrom-Json $deploymentOutput + Write-Verbose $deploymentOutputConversion.resourceGroupName -Verbose + Write-Verbose $deploymentOutputConversion.resourceGroupResourceId -Verbose + azPSVersion: 'latest' # job_deploy_msi: # runs-on: ubuntu-20.04 From edd05e4f29e9b42dbff8ac6874a458ebcc4729cd Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 30 Dec 2021 05:55:49 +0100 Subject: [PATCH 160/260] black --- .github/workflows/platform.dependencies.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 48381b46b9..1134bb76cf 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -76,6 +76,10 @@ jobs: needs: job_deploy_rg runs-on: ubuntu-latest steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Run PowerShell uses: azure/powershell@v1 with: From 16ccbb8c07734042cd7212bdde44f980323ed522 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 6 Jan 2022 19:03:29 +0100 Subject: [PATCH 161/260] remove custom naming --- .../pipelineTemplates/module.jobs.publish.yml | 2 +- .../pipelineVariables/global.variables.yml | 2 +- .github/variables/global.variables.json | 2 +- .github/workflows/platform.dependencies.yml | 4 +- .../servers/.parameters/parameters.json | 8 ++-- .../service/.parameters/max.parameters.json | 12 +++--- arm/Microsoft.ApiManagement/service/readme.md | 4 +- .../.parameters/min.parameters.json | 2 +- .../.parameters/parameters.json | 2 +- .../accounts/.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 16 +++---- .../automationAccounts/readme.md | 4 +- .../batchAccounts/.parameters/parameters.json | 8 ++-- .../accounts/.parameters/parameters.json | 10 ++--- .../accounts/readme.md | 4 +- .../.parameters/parameters.json | 4 +- .../.parameters/linux.min.parameters.json | 2 +- .../.parameters/linux.parameters.json | 26 ++++++------ .../.parameters/windows.min.parameters.json | 6 +-- .../.parameters/windows.parameters.json | 28 ++++++------- .../virtualMachineScaleSets/readme.md | 8 ++-- .../.parameters/linux.min.parameters.json | 2 +- .../.parameters/linux.parameters.json | 18 ++++---- .../.parameters/windows.min.parameters.json | 4 +- .../.parameters/windows.parameters.json | 20 ++++----- .../virtualMachines/readme.md | 8 ++-- .../.parameters/parameters.json | 2 +- .../containerGroups/readme.md | 4 +- .../registries/.parameters/parameters.json | 10 ++--- .../registries/readme.md | 4 +- .../.parameters/azure.parameters.json | 14 +++---- .../.parameters/kubenet.parameters.json | 10 ++--- .../managedClusters/readme.md | 4 +- .../factories/.parameters/parameters.json | 10 ++--- arm/Microsoft.DataFactory/factories/readme.md | 4 +- .../workspaces/.parameters/parameters.json | 8 ++-- .../.parameters/min.parameters.json | 2 +- .../.parameters/parameters.json | 10 ++--- .../hostpools/.parameters/parameters.json | 8 ++-- .../workspaces/.parameters/parameters.json | 10 ++--- .../.parameters/mongodb.parameters.json | 8 ++-- .../.parameters/plain.parameters.json | 8 ++-- .../.parameters/sqldb.parameters.json | 10 ++--- .../databaseAccounts/readme.md | 4 +- .../topics/.parameters/parameters.json | 8 ++-- .../namespaces/.parameters/parameters.json | 12 +++--- arm/Microsoft.EventHub/namespaces/readme.md | 4 +- .../.parameters/parameters.json | 2 +- .../components/.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 8 ++-- .../metricAlerts/.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 2 +- .../vaults/.parameters/parameters.json | 8 ++-- .../workflows/.parameters/parameters.json | 8 ++-- arm/Microsoft.Logic/workflows/readme.md | 4 +- .../workspaces/.parameters/parameters.json | 14 +++---- .../.parameters/nfs3.parameters.json | 4 +- .../.parameters/nfs41.parameters.json | 4 +- .../.parameters/parameters.json | 16 +++---- .../applicationGateways/readme.md | 4 +- .../.parameters/parameters.json | 10 ++--- .../.parameters/min.parameters.json | 2 +- .../bastionHosts/.parameters/parameters.json | 12 +++--- .../connections/.parameters/parameters.json | 2 +- .../.parameters/parameters.json | 8 ++-- .../firewallPolicies/readme.md | 4 +- .../loadBalancers/.parameters/parameters.json | 8 ++-- .../natGateways/.parameters/parameters.json | 8 ++-- .../.parameters/parameters.json | 12 +++--- .../.parameters/parameters.json | 20 ++++----- .../.parameters/parameters.json | 2 +- .../.parameters/min.parameters.json | 4 +- .../.parameters/parameters.json | 4 +- .../.parameters/parameters.json | 8 ++-- .../.parameters/parameters.json | 8 ++-- .../.parameters/expressRoute.parameters.json | 10 ++--- .../.parameters/vpn.parameters.json | 10 ++--- .../.parameters/parameters.json | 12 +++--- .../.parameters/vnetPeering.parameters.json | 10 ++--- .../workspaces/.parameters/parameters.json | 12 +++--- .../vaults/.parameters/parameters.json | 10 ++--- .../vaults/readme.md | 4 +- .../.parameters/cli.parameters.json | 2 +- .../.parameters/ps.parameters.json | 2 +- .../deploymentScripts/readme.md | 4 +- .../.parameters/parameters.json | 2 +- .../namespaces/.parameters/parameters.json | 12 +++--- arm/Microsoft.ServiceBus/namespaces/readme.md | 4 +- .../.parameters/parameters.json | 26 ++++++------ arm/Microsoft.Sql/managedInstances/readme.md | 8 ++-- .../servers/.parameters/parameters.json | 14 +++---- arm/Microsoft.Sql/servers/readme.md | 4 +- .../.parameters/parameters.json | 42 +++++++++---------- .../storageAccounts/readme.md | 4 +- .../.parameters/parameters.json | 4 +- .../.parameters/parameters.json | 10 ++--- .../sites/.parameters/fa.parameters.json | 14 +++---- .../sites/.parameters/wa.parameters.json | 12 +++--- arm/Microsoft.Web/sites/readme.md | 4 +- docs/wiki/ModulesUsage.md | 6 +-- docs/wiki/PipelinesDesign.md | 2 +- docs/wiki/TestingDesign.md | 38 ++++++++--------- docs/wiki/TestingUsage.md | 2 +- .../parameters/parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../galleries/parameters/parameters.json | 4 +- .../parameters/parameters.json | 6 +-- .../registries/parameters/parameters.json | 2 +- .../parameters/parameters.json | 4 +- .../hostpools/parameters/parameters.json | 2 +- .../namespaces/parameters/parameters.json | 4 +- .../actionGroups/parameters/parameters.json | 2 +- .../components/parameters/parameters.json | 4 +- .../vaults/parameters/parameters.json | 4 +- .../vaults/parameters/pe.parameters.json | 4 +- .../vaults/parameters/sqlmi.parameters.json | 4 +- .../parameters/parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../parameters/apgw.parameters.json | 2 +- .../parameters/ase.parameters.json | 2 +- .../parameters/bastion.parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../parameters/sqlmi.parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../parameters/apgw.parameters.json | 2 +- .../parameters/bas.parameters.json | 2 +- .../parameters/lb.parameters.json | 2 +- .../routeTables/parameters/parameters.json | 2 +- .../parameters/sqlMi.parameters.json | 2 +- .../parameters/1.bastion.parameters.json | 4 +- .../parameters/2.vnetpeer01.parameters.json | 4 +- .../parameters/3.vnetpeer02.parameters.json | 4 +- .../parameters/4.azfw.parameters.json | 2 +- .../parameters/5.aks.parameters.json | 8 ++-- .../parameters/6.sqlmi.parameters.json | 6 +-- .../parameters/parameters.json | 16 +++---- .../parameters/appi.parameters.json | 2 +- .../workspaces/parameters/parameters.json | 2 +- .../vaults/parameters/parameters.json | 2 +- .../parameters/fa.parameters.json | 2 +- .../parameters/law.parameters.json | 2 +- .../parameters/parameters.json | 2 +- .../Get-ResourceIdsAsFormattedObjectList.ps1 | 6 +-- .../resourceUsage-userAssignedIdentities.md | 4 +- 146 files changed, 488 insertions(+), 488 deletions(-) diff --git a/.azuredevops/pipelineTemplates/module.jobs.publish.yml b/.azuredevops/pipelineTemplates/module.jobs.publish.yml index cfe73a0048..c0ca0111d7 100644 --- a/.azuredevops/pipelineTemplates/module.jobs.publish.yml +++ b/.azuredevops/pipelineTemplates/module.jobs.publish.yml @@ -34,7 +34,7 @@ ## | templateSpecsDescription | '$(templateSpecsDescription)' | Required to publish to template spec. Description of the template spec to publish to | 'IaCs module' | ## | vstsFeedName | '$(vstsFeedName)' | Required to publish to a DevOps feed. Name to the feed to publish to. | 'modules' | ## | vstsProject | '$(System.TeamProject)' | Required to publish to a DevOps feed. Name of the project hosting the artifacts feed. May be empty. | 'iacs' | -## | bicepRegistryName | '$(bicepRegistryName)' | Required to publish to the private bicep registry. Name of the hosting container registry | 'adpqsxxazacrx001' | +## | bicepRegistryName | '$(bicepRegistryName)' | Required to publish to the private bicep registry. Name of the hosting container registry | 'adpsxxazacrx001' | ## | bicepRegistryRGName | '$(bicepRegistryRGName)' | Required to publish to the private bicep registry. Resource group of the hosting container registry | 'artifacts-rg' | ## | bicepRegistryRgLocation | '$(bicepRegistryRgLocation)' | Required to publish to the private bicep registry. Location of the RG of the hosting container registry | 'West Europe' | ## | vstsOrganization | '$(vstsOrganization)' | Required to publish to a DevOps feed. Name of the organization hosting the artifacts feed. | 'servicescode' | diff --git a/.azuredevops/pipelineVariables/global.variables.yml b/.azuredevops/pipelineVariables/global.variables.yml index 19aa7c955c..71f67a5d77 100644 --- a/.azuredevops/pipelineVariables/global.variables.yml +++ b/.azuredevops/pipelineVariables/global.variables.yml @@ -46,7 +46,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adpqsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/.github/variables/global.variables.json b/.github/variables/global.variables.json index 01c0448b60..44ba19fc41 100644 --- a/.github/variables/global.variables.json +++ b/.github/variables/global.variables.json @@ -26,7 +26,7 @@ }, { "name": "bicepRegistryName", - "value": "adpqsxxazacrx001q" + "value": "adpsxxazacrx001q" }, { "name": "bicepRegistryRGName", diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 1134bb76cf..d9ea7635ab 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -697,7 +697,7 @@ jobs: # $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length # $passwordString = (New-Guid).Guid.SubString(0,19) # $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - # $keyVaultName = 'adpq-sxx-az-kv-x-001' + # $keyVaultName = 'adp-sxx-az-kv-x-001' # $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force # $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force # $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force @@ -772,7 +772,7 @@ jobs: # $usernameString = (-join ((65..90) + (97..122) | Get-Random -Count 9 -SetSeed 1 | % {[char]$_ + "$_"})).substring(0,19) # max length # $passwordString = (New-Guid).Guid.SubString(0,19) # $vpnSharedKeyString = (New-Guid).Guid.SubString(0,32) - # $keyVaultName = 'adpq-sxx-az-kv-x-sqlmi' + # $keyVaultName = 'adp-sxx-az-kv-x-sqlmi' # $userName = ConvertTo-SecureString -String $usernameString -AsPlainText -Force # $password = ConvertTo-SecureString -String $passwordString -AsPlainText -Force # $vpnSharedKey = ConvertTo-SecureString -String $vpnSharedKeyString -AsPlainText -Force diff --git a/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json b/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json index c29872cfa8..793bf2b62f 100644 --- a/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json +++ b/arm/Microsoft.AnalysisServices/servers/.parameters/parameters.json @@ -22,16 +22,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json b/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json index 0d63326f8a..99a6c65e80 100644 --- a/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json +++ b/arm/Microsoft.ApiManagement/service/.parameters/max.parameters.json @@ -40,7 +40,7 @@ "grantTypes": [ "authorizationCode" ], - "clientCredentialsKeyVaultId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "clientCredentialsKeyVaultId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", "clientIdSecretName": "apimclientid", "clientSecretSecretName": "apimclientsecret", "clientRegistrationEndpoint": "http://localhost", @@ -145,7 +145,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -162,16 +162,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.ApiManagement/service/readme.md b/arm/Microsoft.ApiManagement/service/readme.md index 88521d183a..36768ae46d 100644 --- a/arm/Microsoft.ApiManagement/service/readme.md +++ b/arm/Microsoft.ApiManagement/service/readme.md @@ -130,8 +130,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Authorization/policyExemptions/.parameters/min.parameters.json b/arm/Microsoft.Authorization/policyExemptions/.parameters/min.parameters.json index 382d5903bb..b93da1628c 100644 --- a/arm/Microsoft.Authorization/policyExemptions/.parameters/min.parameters.json +++ b/arm/Microsoft.Authorization/policyExemptions/.parameters/min.parameters.json @@ -6,7 +6,7 @@ "value": "sxx-pexe-loc-rg-min" }, "policyAssignmentId": { - "value": "/subscriptions/<>/providers/Microsoft.Authorization/policyAssignments/adpq-sxx-pass-loc-rg" + "value": "/subscriptions/<>/providers/Microsoft.Authorization/policyAssignments/adp-sxx-pass-loc-rg" }, "subscriptionId": { "value": "<>" diff --git a/arm/Microsoft.Authorization/policyExemptions/.parameters/parameters.json b/arm/Microsoft.Authorization/policyExemptions/.parameters/parameters.json index 9af7c626a2..240fc99101 100644 --- a/arm/Microsoft.Authorization/policyExemptions/.parameters/parameters.json +++ b/arm/Microsoft.Authorization/policyExemptions/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": "[Test] policy exempt" }, "policyAssignmentId": { - "value": "/subscriptions/<>/providers/Microsoft.Authorization/policyAssignments/adpq-sxx-pass-loc-rg" + "value": "/subscriptions/<>/providers/Microsoft.Authorization/policyAssignments/adp-sxx-pass-loc-rg" }, "exemptionCategory": { "value": "Waiver" diff --git a/arm/Microsoft.Automanage/accounts/.parameters/parameters.json b/arm/Microsoft.Automanage/accounts/.parameters/parameters.json index f0b651f021..cdc4c40614 100644 --- a/arm/Microsoft.Automanage/accounts/.parameters/parameters.json +++ b/arm/Microsoft.Automanage/accounts/.parameters/parameters.json @@ -6,7 +6,7 @@ "value": "validation-rg" }, "vmName": { - "value": "adpq-vm-001" + "value": "adp-vm-001" }, "autoManageAccountResourceGroupName": { "value": "validation-rg" diff --git a/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json b/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json index f6b7c558bf..6f6d051c8e 100644 --- a/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json @@ -77,7 +77,7 @@ ] }, "linkedWorkspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "gallerySolutions": { "value": [ @@ -146,11 +146,11 @@ "privateEndpoints": { "value": [ { - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints", + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints", "service": "Webhook" }, { - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints", + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints", "service": "DSCAndHybridWorker" } ] @@ -160,7 +160,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -177,16 +177,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Automation/automationAccounts/readme.md b/arm/Microsoft.Automation/automationAccounts/readme.md index fb11fa6f04..dde5a5471d 100644 --- a/arm/Microsoft.Automation/automationAccounts/readme.md +++ b/arm/Microsoft.Automation/automationAccounts/readme.md @@ -133,8 +133,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json b/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json index c183fe0ab8..76345bc5e7 100644 --- a/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Batch/batchAccounts/.parameters/parameters.json @@ -9,16 +9,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json b/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json index f56d453711..95e624f030 100644 --- a/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json +++ b/arm/Microsoft.CognitiveServices/accounts/.parameters/parameters.json @@ -29,23 +29,23 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "diagnosticLogsRetentionInDays": { "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.CognitiveServices/accounts/readme.md b/arm/Microsoft.CognitiveServices/accounts/readme.md index 11f2fe0bd0..39266f085c 100644 --- a/arm/Microsoft.CognitiveServices/accounts/readme.md +++ b/arm/Microsoft.CognitiveServices/accounts/readme.md @@ -177,8 +177,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Compute/diskEncryptionSets/.parameters/parameters.json b/arm/Microsoft.Compute/diskEncryptionSets/.parameters/parameters.json index 4cff3be7d7..6f0d052aea 100644 --- a/arm/Microsoft.Compute/diskEncryptionSets/.parameters/parameters.json +++ b/arm/Microsoft.Compute/diskEncryptionSets/.parameters/parameters.json @@ -6,10 +6,10 @@ "value": "sxx-az-des-x-001" }, "keyVaultId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "keyUrl": { - "value": "https://adpq-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/685153483a1140e3856f004a753e1ab4" + "value": "https://adp-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/685153483a1140e3856f004a753e1ab4" }, "roleAssignments": { "value": [ diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.min.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.min.parameters.json index e33a6e9bd6..ad10421ff6 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.min.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.min.parameters.json @@ -51,7 +51,7 @@ "name": "ipconfig1", "properties": { "subnet": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" } } } diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json index 1a80e8c263..6ca806d437 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/linux.parameters.json @@ -42,11 +42,11 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "bootDiagnosticStorageAccountName": { - "value": "adpqsxxazsaweux001" + "value": "adpsxxazsaweux001" }, "osType": { "value": "Linux" @@ -102,7 +102,7 @@ "name": "ipconfig1", "properties": { "subnet": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" } } } @@ -124,16 +124,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "extensionMonitoringAgentConfig": { "value": { @@ -155,10 +155,10 @@ "enabled": true, "settings": { "EncryptionOperation": "EnableEncryption", - "KeyVaultURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", - "KeyEncryptionKeyURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KeyVaultURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KeyEncryptionKeyURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", "VolumeType": "All", "ResizeOSDisk": "false" @@ -170,8 +170,8 @@ "enabled": true, "fileData": [ { - "uri": "https://adpqsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "uri": "https://adpsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" } ], "protectedSettings": { diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.min.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.min.parameters.json index df941c0b71..903e0f16de 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.min.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.min.parameters.json @@ -31,7 +31,7 @@ "adminUsername": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "adminUsername" } @@ -39,7 +39,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -53,7 +53,7 @@ "name": "ipconfig1", "properties": { "subnet": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" } } } diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json index 754610e839..36313da733 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/.parameters/windows.parameters.json @@ -25,7 +25,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "osDisk": { @@ -51,7 +51,7 @@ "adminUsername": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "adminUsername" } @@ -59,7 +59,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -73,7 +73,7 @@ "name": "ipconfig1", "properties": { "subnet": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-002" } } } @@ -95,16 +95,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "extensionAntiMalwareConfig": { "value": { @@ -146,10 +146,10 @@ "enabled": true, "settings": { "EncryptionOperation": "EnableEncryption", - "KeyVaultURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", - "KeyEncryptionKeyURL": "https://adpq-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KeyVaultURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", + "KeyEncryptionKeyURL": "https://adp-sxx-az-kv-x-001.vault.azure.net/keys/keyEncryptionKey/1dcaf3e93b44433bba0232e9eec54cc7", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", "VolumeType": "All", "ResizeOSDisk": "false" @@ -166,8 +166,8 @@ "enabled": true, "fileData": [ { - "uri": "https://adpqsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "uri": "https://adpsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" } ], "protectedSettings": { diff --git a/arm/Microsoft.Compute/virtualMachineScaleSets/readme.md b/arm/Microsoft.Compute/virtualMachineScaleSets/readme.md index 0dbb7a88e3..b6c47d8e92 100644 --- a/arm/Microsoft.Compute/virtualMachineScaleSets/readme.md +++ b/arm/Microsoft.Compute/virtualMachineScaleSets/readme.md @@ -259,9 +259,9 @@ Only for OSType Windows "settings": { "EncryptionOperation": "EnableEncryption", "KeyVaultURL": "https://mykeyvault.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", "KeyEncryptionKeyURL": "https://mykeyvault.vault.azure.net/keys/keyEncryptionKey/3e13110def0d4a26ac38341c73c059bb", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", "VolumeType": "All", "ResizeOSDisk": "false" @@ -405,8 +405,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.min.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.min.parameters.json index ad3e589ed1..fa8b29cb54 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.min.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.min.parameters.json @@ -47,7 +47,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", "pipConfiguration": { "publicIpNameSuffix": "-pip-01" } diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json index 20a93aa66d..043cae89a6 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/linux.parameters.json @@ -10,7 +10,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "osType": { @@ -56,7 +56,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", "pipConfiguration": { "publicIpNameSuffix": "-pip-01", "roleAssignments": [ @@ -82,7 +82,7 @@ ] }, "backupVaultName": { - "value": "adpq-sxx-az-rsv-x-001" + "value": "adp-sxx-az-rsv-x-001" }, "backupVaultResourceGroup": { "value": "validation-rg" @@ -104,16 +104,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "extensionMonitoringAgentConfig": { "value": { @@ -155,8 +155,8 @@ "enabled": true, "fileData": [ { - "uri": "https://adpqsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "uri": "https://adpsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" } ], "protectedSettings": { diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.min.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.min.parameters.json index fe1db88e57..8c474e8cce 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.min.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.min.parameters.json @@ -29,7 +29,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -41,7 +41,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001" + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001" } ] } diff --git a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json index 1d7cd51cc9..9567c9d797 100644 --- a/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json +++ b/arm/Microsoft.Compute/virtualMachines/.parameters/windows.parameters.json @@ -32,7 +32,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -45,7 +45,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001", "pipConfiguration": { "publicIpNameSuffix": "-pip-01", "roleAssignments": [ @@ -71,7 +71,7 @@ ] }, "backupVaultName": { - "value": "adpq-sxx-az-rsv-x-001" + "value": "adp-sxx-az-rsv-x-001" }, "backupVaultResourceGroup": { "value": "validation-rg" @@ -93,23 +93,23 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "extensionAntiMalwareConfig": { @@ -172,8 +172,8 @@ "enabled": true, "fileData": [ { - "uri": "https://adpqsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "uri": "https://adpsxxazsaweux001.blob.core.windows.net/scripts/scriptExtensionMasterInstaller.ps1", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" } ], "protectedSettings": { diff --git a/arm/Microsoft.Compute/virtualMachines/readme.md b/arm/Microsoft.Compute/virtualMachines/readme.md index 40ee4b9d86..cc5c50b98e 100644 --- a/arm/Microsoft.Compute/virtualMachines/readme.md +++ b/arm/Microsoft.Compute/virtualMachines/readme.md @@ -347,9 +347,9 @@ Only for OSType Windows "value": { "EncryptionOperation": "EnableEncryption", "KeyVaultURL": "https://mykeyvault.vault.azure.net/", - "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KeyVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", "KeyEncryptionKeyURL": "https://mykeyvault.vault.azure.net/keys/keyEncryptionKey/685153483a1140e3856f004a753e1ab4", - "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001", + "KekVaultResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001", "KeyEncryptionAlgorithm": "RSA-OAEP", //'RSA-OAEP'/'RSA-OAEP-256'/'RSA1_5' "VolumeType": "All", //'OS'/'Data'/'All' "ResizeOSDisk": "false" @@ -498,8 +498,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.ContainerInstance/containerGroups/.parameters/parameters.json b/arm/Microsoft.ContainerInstance/containerGroups/.parameters/parameters.json index c4c58c9869..c5965ae4a7 100644 --- a/arm/Microsoft.ContainerInstance/containerGroups/.parameters/parameters.json +++ b/arm/Microsoft.ContainerInstance/containerGroups/.parameters/parameters.json @@ -28,7 +28,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.ContainerInstance/containerGroups/readme.md b/arm/Microsoft.ContainerInstance/containerGroups/readme.md index 9ef05dd332..2265083bd4 100644 --- a/arm/Microsoft.ContainerInstance/containerGroups/readme.md +++ b/arm/Microsoft.ContainerInstance/containerGroups/readme.md @@ -72,8 +72,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json b/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json index 4b1b56bf41..1f9e3dffae 100644 --- a/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json +++ b/arm/Microsoft.ContainerRegistry/registries/.parameters/parameters.json @@ -22,23 +22,23 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.ContainerRegistry/registries/readme.md b/arm/Microsoft.ContainerRegistry/registries/readme.md index 25ca96f9a9..6be9b75c05 100644 --- a/arm/Microsoft.ContainerRegistry/registries/readme.md +++ b/arm/Microsoft.ContainerRegistry/registries/readme.md @@ -140,8 +140,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json b/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json index 2af2052b7e..82b26db678 100644 --- a/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json +++ b/arm/Microsoft.ContainerService/managedClusters/.parameters/azure.parameters.json @@ -19,7 +19,7 @@ "storageProfile": "ManagedDisks", "type": "VirtualMachineScaleSets", "mode": "System", - "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-aks/subnets/Primary", + "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-aks/subnets/Primary", "serviceCidr": "", "maxPods": 30, "availabilityZones": [ @@ -56,7 +56,7 @@ "maxPods": 30, "storageProfile": "ManagedDisks", "mode": "User", - "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-aks/subnets/Secondary" + "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-aks/subnets/Secondary" }, { "name": "userpool2", @@ -81,7 +81,7 @@ "maxPods": 30, "storageProfile": "ManagedDisks", "mode": "User", - "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-aks/subnets/Tertiary" + "vnetSubnetID": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-aks/subnets/Tertiary" } ] }, @@ -99,16 +99,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true diff --git a/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json b/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json index 0bd98c8409..b85a89237f 100644 --- a/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json +++ b/arm/Microsoft.ContainerService/managedClusters/.parameters/kubenet.parameters.json @@ -96,20 +96,20 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.ContainerService/managedClusters/readme.md b/arm/Microsoft.ContainerService/managedClusters/readme.md index 8098cb4c8d..ab3d640bff 100644 --- a/arm/Microsoft.ContainerService/managedClusters/readme.md +++ b/arm/Microsoft.ContainerService/managedClusters/readme.md @@ -188,8 +188,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.DataFactory/factories/.parameters/parameters.json b/arm/Microsoft.DataFactory/factories/.parameters/parameters.json index ad59cf8d80..71ef5afd30 100644 --- a/arm/Microsoft.DataFactory/factories/.parameters/parameters.json +++ b/arm/Microsoft.DataFactory/factories/.parameters/parameters.json @@ -40,23 +40,23 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.DataFactory/factories/readme.md b/arm/Microsoft.DataFactory/factories/readme.md index 5be8750a2c..83383f0d5e 100644 --- a/arm/Microsoft.DataFactory/factories/readme.md +++ b/arm/Microsoft.DataFactory/factories/readme.md @@ -87,8 +87,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json b/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json index ba56c65ce9..3381dd45f0 100644 --- a/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.Databricks/workspaces/.parameters/parameters.json @@ -19,16 +19,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/min.parameters.json b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/min.parameters.json index 1052a004ac..21be70314e 100644 --- a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/min.parameters.json +++ b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/min.parameters.json @@ -9,7 +9,7 @@ "value": "RemoteApp" }, "hostpoolName": { - "value": "adpq-sxx-az-avdhp-x-001" + "value": "adp-sxx-az-avdhp-x-001" } } } diff --git a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json index 6507c375e4..c0c2e3058a 100644 --- a/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/applicationgroups/.parameters/parameters.json @@ -12,7 +12,7 @@ "value": "RemoteApp" }, "hostpoolName": { - "value": "adpq-sxx-az-avdhp-x-001" + "value": "adp-sxx-az-avdhp-x-001" }, "friendlyName": { "value": "Remote Applications 1" @@ -54,16 +54,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json index fe7812b901..f964afca05 100644 --- a/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/hostpools/.parameters/parameters.json @@ -65,16 +65,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json b/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json index 9e8d4853cf..f2caa1ecf4 100644 --- a/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.DesktopVirtualization/workspaces/.parameters/parameters.json @@ -10,7 +10,7 @@ }, "appGroupResourceIds": { "value": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.DesktopVirtualization/applicationgroups/adpq-sxx-az-avdag-x-001" + "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.DesktopVirtualization/applicationgroups/adp-sxx-az-avdag-x-001" ] }, "workspaceFriendlyName": { @@ -33,16 +33,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json index ec87ae83dd..2f68bda6e0 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/mongodb.parameters.json @@ -222,16 +222,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json index 49434d846f..79cf3c64a0 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/plain.parameters.json @@ -33,16 +33,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json index bc66bc3b75..c6960ae4ec 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json +++ b/arm/Microsoft.DocumentDB/databaseAccounts/.parameters/sqldb.parameters.json @@ -56,20 +56,20 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.DocumentDB/databaseAccounts/readme.md b/arm/Microsoft.DocumentDB/databaseAccounts/readme.md index 6510122e87..e97f6d1183 100644 --- a/arm/Microsoft.DocumentDB/databaseAccounts/readme.md +++ b/arm/Microsoft.DocumentDB/databaseAccounts/readme.md @@ -193,8 +193,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.EventGrid/topics/.parameters/parameters.json b/arm/Microsoft.EventGrid/topics/.parameters/parameters.json index a310db91b5..ab4941a2e5 100644 --- a/arm/Microsoft.EventGrid/topics/.parameters/parameters.json +++ b/arm/Microsoft.EventGrid/topics/.parameters/parameters.json @@ -19,16 +19,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json b/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json index 36c76ae8a6..c793abacf5 100644 --- a/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json +++ b/arm/Microsoft.EventHub/namespaces/.parameters/parameters.json @@ -71,7 +71,7 @@ "captureDescriptionIntervalInSeconds": 300, "captureDescriptionSizeLimitInBytes": 314572800, "captureDescriptionDestinationName": "EventHubArchive.AzureBlockBlob", - "captureDescriptionDestinationStorageAccountResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", + "captureDescriptionDestinationStorageAccountResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", "captureDescriptionDestinationBlobContainer": "eventhub", "captureDescriptionDestinationArchiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}", "captureDescriptionSkipEmptyArchives": true, @@ -88,23 +88,23 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.EventHub/namespaces/readme.md b/arm/Microsoft.EventHub/namespaces/readme.md index b015819444..167327cc51 100644 --- a/arm/Microsoft.EventHub/namespaces/readme.md +++ b/arm/Microsoft.EventHub/namespaces/readme.md @@ -132,8 +132,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Insights/activityLogAlerts/.parameters/parameters.json b/arm/Microsoft.Insights/activityLogAlerts/.parameters/parameters.json index 986befa178..9831a07fcd 100644 --- a/arm/Microsoft.Insights/activityLogAlerts/.parameters/parameters.json +++ b/arm/Microsoft.Insights/activityLogAlerts/.parameters/parameters.json @@ -29,7 +29,7 @@ "actions": { "value": [ { - "actionGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/microsoft.insights/actiongroups/adpq-sxx-az-ag-x-001" + "actionGroupId": "/subscriptions/<>/resourceGroups/validation-rg/providers/microsoft.insights/actiongroups/adp-sxx-az-ag-x-001" } ] }, diff --git a/arm/Microsoft.Insights/components/.parameters/parameters.json b/arm/Microsoft.Insights/components/.parameters/parameters.json index 57f0bd3bb9..9a7f819da4 100644 --- a/arm/Microsoft.Insights/components/.parameters/parameters.json +++ b/arm/Microsoft.Insights/components/.parameters/parameters.json @@ -6,7 +6,7 @@ "value": "sxx-az-appi-x-001" }, "appInsightsWorkspaceResourceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-002" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-002" }, "roleAssignments": { "value": [ diff --git a/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json b/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json index 537156a6d9..113c405602 100644 --- a/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json +++ b/arm/Microsoft.Insights/diagnosticSettings/.parameters/parameters.json @@ -9,16 +9,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Insights/metricAlerts/.parameters/parameters.json b/arm/Microsoft.Insights/metricAlerts/.parameters/parameters.json index 6860c5aa8d..33c0200b33 100644 --- a/arm/Microsoft.Insights/metricAlerts/.parameters/parameters.json +++ b/arm/Microsoft.Insights/metricAlerts/.parameters/parameters.json @@ -10,7 +10,7 @@ }, "actions": { "value": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/microsoft.insights/actiongroups/adpq-sxx-az-ag-x-001" + "/subscriptions/<>/resourceGroups/validation-rg/providers/microsoft.insights/actiongroups/adp-sxx-az-ag-x-001" ] }, "targetResourceType": { diff --git a/arm/Microsoft.Insights/privateLinkScopes/.parameters/parameters.json b/arm/Microsoft.Insights/privateLinkScopes/.parameters/parameters.json index 68c05e54f8..58b88cd17e 100644 --- a/arm/Microsoft.Insights/privateLinkScopes/.parameters/parameters.json +++ b/arm/Microsoft.Insights/privateLinkScopes/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": [ { "name": "scoped1", - "linkedResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "linkedResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" } ] }, diff --git a/arm/Microsoft.Insights/scheduledQueryRules/.parameters/parameters.json b/arm/Microsoft.Insights/scheduledQueryRules/.parameters/parameters.json index 9eb8216074..97b7c84026 100644 --- a/arm/Microsoft.Insights/scheduledQueryRules/.parameters/parameters.json +++ b/arm/Microsoft.Insights/scheduledQueryRules/.parameters/parameters.json @@ -10,7 +10,7 @@ }, "scopes": { "value": [ - "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" ] }, "evaluationFrequency": { diff --git a/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json b/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json index c429824749..66f042ed63 100644 --- a/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json +++ b/arm/Microsoft.KeyVault/vaults/.parameters/parameters.json @@ -90,16 +90,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Logic/workflows/.parameters/parameters.json b/arm/Microsoft.Logic/workflows/.parameters/parameters.json index bae5e501c4..a7db93dbbf 100644 --- a/arm/Microsoft.Logic/workflows/.parameters/parameters.json +++ b/arm/Microsoft.Logic/workflows/.parameters/parameters.json @@ -57,16 +57,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true diff --git a/arm/Microsoft.Logic/workflows/readme.md b/arm/Microsoft.Logic/workflows/readme.md index b2c262d1a5..2fba538994 100644 --- a/arm/Microsoft.Logic/workflows/readme.md +++ b/arm/Microsoft.Logic/workflows/readme.md @@ -145,8 +145,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json b/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json index 00ba894a56..7b9698db76 100644 --- a/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.MachineLearningServices/workspaces/.parameters/parameters.json @@ -9,13 +9,13 @@ "value": "Basic" }, "associatedStorageAccountResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "associatedKeyVaultResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "associatedApplicationInsightsResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Insights/components/adpq-sxx-az-appi-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Insights/components/adp-sxx-az-appi-x-001" }, "roleAssignments": { "value": [ @@ -31,16 +31,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true diff --git a/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs3.parameters.json b/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs3.parameters.json index b228730f22..92f6e42596 100644 --- a/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs3.parameters.json +++ b/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs3.parameters.json @@ -28,7 +28,7 @@ "allowedClients": "0.0.0.0/0" } ], - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004", + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004", "roleAssignments": [ { "roleDefinitionIdOrName": "Reader", @@ -44,7 +44,7 @@ "protocolTypes": [ "NFSv3" ], - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004" + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004" } ], "roleAssignments": [ diff --git a/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs41.parameters.json b/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs41.parameters.json index bba3f6d44b..b5e22651bc 100644 --- a/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs41.parameters.json +++ b/arm/Microsoft.NetApp/netAppAccounts/.parameters/nfs41.parameters.json @@ -28,7 +28,7 @@ "allowedClients": "0.0.0.0/0" } ], - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004", + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004", "roleAssignments": [ { "roleDefinitionIdOrName": "Reader", @@ -54,7 +54,7 @@ "allowedClients": "0.0.0.0/0" } ], - "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004" + "subnetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-004" } ], "roleAssignments": [ diff --git a/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json b/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json index 830459009f..8a4e78409b 100644 --- a/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json +++ b/arm/Microsoft.Network/applicationGateways/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": "WAF_v2" }, "vNetName": { - "value": "adpq-sxx-az-vnet-x-001" + "value": "adp-sxx-az-vnet-x-001" }, "subnetName": { "value": "sxx-az-subnet-x-007" @@ -21,15 +21,15 @@ "value": "10.0.8.6" }, "frontendPublicIpResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adpq-sxx-az-pip-x-apgw" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adp-sxx-az-pip-x-apgw" }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "sslCertificateKeyVaultSecretId": { - "value": "https://adpq-sxx-az-kv-x-001.vault.azure.net/secrets/applicationGatewaySslCertificate/5b09a47d080943bb93d00f4dc45244a1" + "value": "https://adp-sxx-az-kv-x-001.vault.azure.net/secrets/applicationGatewaySslCertificate/5b09a47d080943bb93d00f4dc45244a1" }, "backendPools": { "value": [ @@ -146,16 +146,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/applicationGateways/readme.md b/arm/Microsoft.Network/applicationGateways/readme.md index 10d63c7ecf..99588cff19 100644 --- a/arm/Microsoft.Network/applicationGateways/readme.md +++ b/arm/Microsoft.Network/applicationGateways/readme.md @@ -225,8 +225,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json b/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json index 71741051b9..5edd072121 100644 --- a/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json +++ b/arm/Microsoft.Network/azureFirewalls/.parameters/parameters.json @@ -98,7 +98,7 @@ ] }, "vNetId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-azfw" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-azfw" }, "roleAssignments": { "value": [ @@ -114,16 +114,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/bastionHosts/.parameters/min.parameters.json b/arm/Microsoft.Network/bastionHosts/.parameters/min.parameters.json index 5a22d31027..d728d7f6a9 100644 --- a/arm/Microsoft.Network/bastionHosts/.parameters/min.parameters.json +++ b/arm/Microsoft.Network/bastionHosts/.parameters/min.parameters.json @@ -6,7 +6,7 @@ "value": "sxx-az-bas-min-001" }, "vNetId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-002" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-002" } } } diff --git a/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json b/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json index da3c389be9..8e1bde3407 100644 --- a/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json +++ b/arm/Microsoft.Network/bastionHosts/.parameters/parameters.json @@ -6,10 +6,10 @@ "value": "sxx-az-bas-x-001" }, "vNetId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001" }, "publicIPAddressId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adpq-sxx-az-pip-x-bas" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/publicIPAddresses/adp-sxx-az-pip-x-bas" }, "roleAssignments": { "value": [ @@ -25,16 +25,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/connections/.parameters/parameters.json b/arm/Microsoft.Network/connections/.parameters/parameters.json index 2e6fd7f837..8e95901ff0 100644 --- a/arm/Microsoft.Network/connections/.parameters/parameters.json +++ b/arm/Microsoft.Network/connections/.parameters/parameters.json @@ -11,7 +11,7 @@ "vpnSharedKey": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "vpnSharedKey" } diff --git a/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json b/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json index 284cfd0c89..1500ebac3a 100644 --- a/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json +++ b/arm/Microsoft.Network/expressRouteCircuits/.parameters/parameters.json @@ -34,16 +34,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/firewallPolicies/readme.md b/arm/Microsoft.Network/firewallPolicies/readme.md index 5abb9ab4a5..b73761e0e2 100644 --- a/arm/Microsoft.Network/firewallPolicies/readme.md +++ b/arm/Microsoft.Network/firewallPolicies/readme.md @@ -65,8 +65,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json b/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json index 3baddfdb26..7055c7629f 100644 --- a/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json +++ b/arm/Microsoft.Network/loadBalancers/.parameters/parameters.json @@ -113,16 +113,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/natGateways/.parameters/parameters.json b/arm/Microsoft.Network/natGateways/.parameters/parameters.json index e093584f92..07dfc531df 100644 --- a/arm/Microsoft.Network/natGateways/.parameters/parameters.json +++ b/arm/Microsoft.Network/natGateways/.parameters/parameters.json @@ -22,16 +22,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json b/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json index 3690b36470..5d6c180cb6 100644 --- a/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json +++ b/arm/Microsoft.Network/networkSecurityGroups/.parameters/parameters.json @@ -58,10 +58,10 @@ "priority": 102, "direction": "Inbound", "sourceApplicationSecurityGroupIds": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/applicationSecurityGroups/adpq-sxx-az-asg-x-001" + "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/applicationSecurityGroups/adp-sxx-az-asg-x-001" ], "destinationApplicationSecurityGroupIds": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/applicationSecurityGroups/adpq-sxx-az-asg-x-001" + "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/applicationSecurityGroups/adp-sxx-az-asg-x-001" ] } } @@ -81,16 +81,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json b/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json index 9e78eac1f4..b33907a348 100644 --- a/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json +++ b/arm/Microsoft.Network/networkWatchers/.parameters/parameters.json @@ -3,20 +3,20 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-nw-x-001" + "value": "adp-sxx-az-nw-x-001" }, "flowLogs": { "value": [ { - "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adpq-sxx-az-nsg-x-001", - "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", + "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-sxx-az-nsg-x-001", + "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", "enabled": false }, { - "name": "adpq-sxx-az-nsg-x-apgw-flowlog", - "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adpq-sxx-az-nsg-x-apgw", - "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", - "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", + "name": "adp-sxx-az-nsg-x-apgw-flowlog", + "targetResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/networkSecurityGroups/adp-sxx-az-nsg-x-apgw", + "storageId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", "formatVersion": 1, "trafficAnalyticsInterval": 10, "retentionInDays": 8 @@ -26,12 +26,12 @@ "connectionMonitors": { "value": [ { - "name": "adpq-sxx-az-conn-mon-x-001", + "name": "adp-sxx-az-conn-mon-x-001", "endpoints": [ { "name": "sxx-az-subnet-x-001(validation-rg)", "type": "AzureVM", - "resourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/virtualMachines/adpq-vm-001" + "resourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/virtualMachines/adp-vm-001" }, { "name": "Office Portal", @@ -74,7 +74,7 @@ ] } ], - "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "workspaceResourceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" } ] }, diff --git a/arm/Microsoft.Network/privateDnsZones/.parameters/parameters.json b/arm/Microsoft.Network/privateDnsZones/.parameters/parameters.json index b312b14c0a..0cc56ed83e 100644 --- a/arm/Microsoft.Network/privateDnsZones/.parameters/parameters.json +++ b/arm/Microsoft.Network/privateDnsZones/.parameters/parameters.json @@ -18,7 +18,7 @@ "virtualNetworkLinks": { "value": [ { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001", + "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001", "registrationEnabled": true } ] diff --git a/arm/Microsoft.Network/privateEndpoints/.parameters/min.parameters.json b/arm/Microsoft.Network/privateEndpoints/.parameters/min.parameters.json index 50284154e9..399c2fc0b2 100644 --- a/arm/Microsoft.Network/privateEndpoints/.parameters/min.parameters.json +++ b/arm/Microsoft.Network/privateEndpoints/.parameters/min.parameters.json @@ -6,10 +6,10 @@ "value": "sxx-az-pe-kvlt-min-001" }, "targetSubnetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints" }, "serviceResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-pe" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-pe" }, "groupId": { "value": [ diff --git a/arm/Microsoft.Network/privateEndpoints/.parameters/parameters.json b/arm/Microsoft.Network/privateEndpoints/.parameters/parameters.json index d5ff506415..e9197c0690 100644 --- a/arm/Microsoft.Network/privateEndpoints/.parameters/parameters.json +++ b/arm/Microsoft.Network/privateEndpoints/.parameters/parameters.json @@ -6,10 +6,10 @@ "value": "sxx-az-pe-kvlt-001" }, "targetSubnetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-005-privateEndpoints" }, "serviceResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-pe" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-pe" }, "groupId": { "value": [ diff --git a/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json b/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json index 341e8d7ffa..17fb9705d9 100644 --- a/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json +++ b/arm/Microsoft.Network/publicIPAddresses/.parameters/parameters.json @@ -25,16 +25,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json b/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json index 015bccd4b3..1807bab0d2 100644 --- a/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json +++ b/arm/Microsoft.Network/trafficmanagerprofiles/.parameters/parameters.json @@ -22,16 +22,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json index 7a68a3c861..d4604ecd30 100644 --- a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json +++ b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/expressRoute.parameters.json @@ -22,7 +22,7 @@ "value": "ErGw1AZ" }, "vNetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001" }, "tags": { "value": { @@ -48,16 +48,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json index 135b1d07fa..da81ae5485 100644 --- a/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json +++ b/arm/Microsoft.Network/virtualNetworkGateways/.parameters/vpn.parameters.json @@ -28,7 +28,7 @@ "value": false }, "vNetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001" }, "roleAssignments": { "value": [ @@ -44,16 +44,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json b/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json index ef141ba089..1edc7171f5 100644 --- a/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json +++ b/arm/Microsoft.Network/virtualNetworks/.parameters/parameters.json @@ -19,14 +19,14 @@ { "name": "sxx-az-subnet-x-001", "addressPrefix": "10.0.0.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", "serviceEndpoints": [ "Microsoft.EventHub", "Microsoft.Sql", "Microsoft.Storage", "Microsoft.KeyVault" ], - "routeTableName": "adpq-sxx-az-udr-x-001" + "routeTableName": "adp-sxx-az-udr-x-001" }, { "name": "sxx-az-subnet-x-002", @@ -62,16 +62,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json b/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json index bf85a47014..677753f51b 100644 --- a/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json +++ b/arm/Microsoft.Network/virtualNetworks/.parameters/vnetPeering.parameters.json @@ -21,7 +21,7 @@ "virtualNetworkPeerings": { "value": [ { - "remoteVirtualNetworkId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-peer01", + "remoteVirtualNetworkId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-peer01", "allowForwardedTraffic": true, "allowGatewayTransit": false, "allowVirtualNetworkAccess": true, @@ -37,16 +37,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json b/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json index 3ec12feb8a..eef49351b9 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json +++ b/arm/Microsoft.OperationalInsights/workspaces/.parameters/parameters.json @@ -17,7 +17,7 @@ "storageInsightsConfigs": { "value": [ { - "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux003", + "storageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux003", "tables": [ "WADWindowsEventLogsTable", "WADETWEventTable", @@ -31,7 +31,7 @@ "value": [ { "name": "Automation", - "resourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Automation/automationAccounts/adpq-sxx-wd-aut-x-001" + "resourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Automation/automationAccounts/adp-sxx-wd-aut-x-001" } ] }, @@ -153,16 +153,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json b/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json index b44b123956..dd44b491a5 100644 --- a/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json +++ b/arm/Microsoft.RecoveryServices/vaults/.parameters/parameters.json @@ -266,23 +266,23 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.RecoveryServices/vaults/readme.md b/arm/Microsoft.RecoveryServices/vaults/readme.md index fdd785dcc8..78c7dfd2fd 100644 --- a/arm/Microsoft.RecoveryServices/vaults/readme.md +++ b/arm/Microsoft.RecoveryServices/vaults/readme.md @@ -338,8 +338,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Resources/deploymentScripts/.parameters/cli.parameters.json b/arm/Microsoft.Resources/deploymentScripts/.parameters/cli.parameters.json index 36f29a8d18..c8e07395c8 100644 --- a/arm/Microsoft.Resources/deploymentScripts/.parameters/cli.parameters.json +++ b/arm/Microsoft.Resources/deploymentScripts/.parameters/cli.parameters.json @@ -7,7 +7,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "kind": { diff --git a/arm/Microsoft.Resources/deploymentScripts/.parameters/ps.parameters.json b/arm/Microsoft.Resources/deploymentScripts/.parameters/ps.parameters.json index c0cc8f4112..378f82625f 100644 --- a/arm/Microsoft.Resources/deploymentScripts/.parameters/ps.parameters.json +++ b/arm/Microsoft.Resources/deploymentScripts/.parameters/ps.parameters.json @@ -7,7 +7,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "kind": { diff --git a/arm/Microsoft.Resources/deploymentScripts/readme.md b/arm/Microsoft.Resources/deploymentScripts/readme.md index 740324a3b5..ca56f4269c 100644 --- a/arm/Microsoft.Resources/deploymentScripts/readme.md +++ b/arm/Microsoft.Resources/deploymentScripts/readme.md @@ -58,8 +58,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Security/azureSecurityCenter/.parameters/parameters.json b/arm/Microsoft.Security/azureSecurityCenter/.parameters/parameters.json index 6c9bce4910..b8f506e7ba 100644 --- a/arm/Microsoft.Security/azureSecurityCenter/.parameters/parameters.json +++ b/arm/Microsoft.Security/azureSecurityCenter/.parameters/parameters.json @@ -14,7 +14,7 @@ } }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" } } } diff --git a/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json b/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json index 0ef256510c..8d368c1175 100644 --- a/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json +++ b/arm/Microsoft.ServiceBus/namespaces/.parameters/parameters.json @@ -29,7 +29,7 @@ }, "virtualNetworkRules": { "value": [ - "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-003" + "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-003" ] }, "ipFilterRules": { @@ -101,23 +101,23 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" }, "systemAssignedIdentity": { "value": true }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.ServiceBus/namespaces/readme.md b/arm/Microsoft.ServiceBus/namespaces/readme.md index c06a507c02..ff6f426f4a 100644 --- a/arm/Microsoft.ServiceBus/namespaces/readme.md +++ b/arm/Microsoft.ServiceBus/namespaces/readme.md @@ -132,8 +132,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json b/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json index e8d667779e..2bcd61ba37 100644 --- a/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json +++ b/arm/Microsoft.Sql/managedInstances/.parameters/parameters.json @@ -8,7 +8,7 @@ "administratorLogin": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "administratorLogin" } @@ -16,13 +16,13 @@ "administratorLoginPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "administratorLoginPassword" } }, "subnetId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-sqlmi/subnets/sxx-az-subnet-x-sqlmi" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-sqlmi/subnets/sxx-az-subnet-x-sqlmi" }, "skuName": { "value": "GP_Gen5" @@ -59,11 +59,11 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "primaryUserAssignedIdentityId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001" }, "publicDataEndpointEnabled": { "value": false @@ -81,15 +81,15 @@ "keys": { "value": [ { - "name": "adpq-sxx-az-kv-x-sqlmi_keyEncryptionKeySqlMi_8f68659b2fdd4293872fb8efa36ddd59", - "uri": "https://adpq-sxx-az-kv-x-sqlmi.vault.azure.net/keys/keyEncryptionKeySqlMi/8f68659b2fdd4293872fb8efa36ddd59", + "name": "adp-sxx-az-kv-x-sqlmi_keyEncryptionKeySqlMi_8f68659b2fdd4293872fb8efa36ddd59", + "uri": "https://adp-sxx-az-kv-x-sqlmi.vault.azure.net/keys/keyEncryptionKeySqlMi/8f68659b2fdd4293872fb8efa36ddd59", "serverKeyType": "AzureKeyVault" } ] }, "encryptionProtectorObj": { "value": { - "serverKeyName": "adpq-sxx-az-kv-x-sqlmi_keyEncryptionKeySqlMi_8f68659b2fdd4293872fb8efa36ddd59", + "serverKeyName": "adp-sxx-az-kv-x-sqlmi_keyEncryptionKeySqlMi_8f68659b2fdd4293872fb8efa36ddd59", "serverKeyType": "AzureKeyVault" } }, @@ -109,7 +109,7 @@ "test1@contoso.com", "test2@contoso.com" ], - "vulnerabilityAssessmentsStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "vulnerabilityAssessmentsStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" } }, "databases": { @@ -129,16 +129,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Sql/managedInstances/readme.md b/arm/Microsoft.Sql/managedInstances/readme.md index b2f1964cf9..dedd857d3e 100644 --- a/arm/Microsoft.Sql/managedInstances/readme.md +++ b/arm/Microsoft.Sql/managedInstances/readme.md @@ -73,8 +73,8 @@ SQL Managed Instance is deployed on a virtual network. This network is required ```json "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` @@ -125,8 +125,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Sql/servers/.parameters/parameters.json b/arm/Microsoft.Sql/servers/.parameters/parameters.json index b9a0dc915c..eec0231e4d 100644 --- a/arm/Microsoft.Sql/servers/.parameters/parameters.json +++ b/arm/Microsoft.Sql/servers/.parameters/parameters.json @@ -5,7 +5,7 @@ "administratorLogin": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/<>/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/<>/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "administratorLogin" } @@ -13,7 +13,7 @@ "administratorLoginPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/<>/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/<>/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "administratorLoginPassword" } @@ -44,10 +44,10 @@ "maxSizeBytes": 34359738368, "licenseType": "LicenseIncluded", "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adpq-sxx-az-evh-x-001" + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adp-sxx-az-evh-x-001" } ] }, @@ -74,7 +74,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } } } diff --git a/arm/Microsoft.Sql/servers/readme.md b/arm/Microsoft.Sql/servers/readme.md index d0cbbbdc1c..a11a2cb394 100644 --- a/arm/Microsoft.Sql/servers/readme.md +++ b/arm/Microsoft.Sql/servers/readme.md @@ -78,8 +78,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json b/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json index 66867a55e8..78c725d89c 100644 --- a/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Storage/storageAccounts/.parameters/parameters.json @@ -14,10 +14,10 @@ "blobServices": { "value": { "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adpq-sxx-az-evh-x-001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adp-sxx-az-evh-x-001", "containers": [ { "name": "avdscripts", @@ -44,10 +44,10 @@ "fileServices": { "value": { "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adpq-sxx-az-evh-x-001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adp-sxx-az-evh-x-001", "shares": [ { "name": "avdprofiles", @@ -71,10 +71,10 @@ "tableServices": { "value": { "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adpq-sxx-az-evh-x-001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adp-sxx-az-evh-x-001", "tables": [ "table1", "table2" @@ -84,10 +84,10 @@ "queueServices": { "value": { "diagnosticLogsRetentionInDays": 7, - "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001", - "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001", - "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", - "eventHubName": "adpq-sxx-az-evh-x-001", + "diagnosticStorageAccountId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001", + "workspaceId": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001", + "eventHubAuthorizationRuleId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey", + "eventHubName": "adp-sxx-az-evh-x-001", "queues": [ { "name": "queue1", @@ -113,7 +113,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -130,16 +130,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Storage/storageAccounts/readme.md b/arm/Microsoft.Storage/storageAccounts/readme.md index 50aec28921..187e9a0628 100644 --- a/arm/Microsoft.Storage/storageAccounts/readme.md +++ b/arm/Microsoft.Storage/storageAccounts/readme.md @@ -157,8 +157,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json b/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json index cc0466bb98..4d37489634 100644 --- a/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json +++ b/arm/Microsoft.VirtualMachineImages/imageTemplates/.parameters/parameters.json @@ -9,7 +9,7 @@ "value": "eastus" }, "userMsiName": { - "value": "adpq-sxx-az-msi-x-001" + "value": "adp-sxx-az-msi-x-001" }, "userMsiResourceGroup": { "value": "validation-rg" @@ -50,7 +50,7 @@ "value": "sxx-az-umi-x-001" }, "sigImageDefinitionId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/galleries/adpqsxxazsigweux001/images/adpq-sxx-az-imgd-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Compute/galleries/adpsxxazsigweux001/images/adp-sxx-az-imgd-x-001" }, "imageReplicationRegions": { "value": [] diff --git a/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json b/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json index ebae4f5b3d..ba93fec638 100644 --- a/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json +++ b/arm/Microsoft.Web/hostingEnvironments/.parameters/parameters.json @@ -6,7 +6,7 @@ "value": "sxx-az-ase-x-001" }, "subnetResourceId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-006" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-006" }, "roleAssignments": { "value": [ @@ -22,16 +22,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Web/sites/.parameters/fa.parameters.json b/arm/Microsoft.Web/sites/.parameters/fa.parameters.json index 3ba36c658e..1c0fcb37cb 100644 --- a/arm/Microsoft.Web/sites/.parameters/fa.parameters.json +++ b/arm/Microsoft.Web/sites/.parameters/fa.parameters.json @@ -20,7 +20,7 @@ } }, "appInsightId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Insights/components/adpq-sxx-az-appi-x-001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Insights/components/adp-sxx-az-appi-x-001" }, "siteConfig": { "value": { @@ -28,7 +28,7 @@ } }, "storageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux002" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux002" }, "functionsWorkerRuntime": { "value": "powershell" @@ -38,7 +38,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -55,16 +55,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Web/sites/.parameters/wa.parameters.json b/arm/Microsoft.Web/sites/.parameters/wa.parameters.json index b113291dbc..355267d9ac 100644 --- a/arm/Microsoft.Web/sites/.parameters/wa.parameters.json +++ b/arm/Microsoft.Web/sites/.parameters/wa.parameters.json @@ -22,7 +22,7 @@ "appInsightObject": { "value": { "name": "sxx-az-wa-x-001-appi", - "workspaceResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.OperationalInsights/workspaces/adpq-sxx-az-law-x-002" + "workspaceResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.OperationalInsights/workspaces/adp-sxx-az-law-x-002" } }, "siteConfig": { @@ -44,7 +44,7 @@ }, "userAssignedIdentities": { "value": { - "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {} + "/subscriptions/<>/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {} } }, "roleAssignments": { @@ -61,16 +61,16 @@ "value": 7 }, "diagnosticStorageAccountId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaweux001" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001" }, "workspaceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-001" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-001" }, "eventHubAuthorizationRuleId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adpq-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-sxx-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" }, "eventHubName": { - "value": "adpq-sxx-az-evh-x-001" + "value": "adp-sxx-az-evh-x-001" } } } diff --git a/arm/Microsoft.Web/sites/readme.md b/arm/Microsoft.Web/sites/readme.md index 4651abe35e..0b20f3f1de 100644 --- a/arm/Microsoft.Web/sites/readme.md +++ b/arm/Microsoft.Web/sites/readme.md @@ -167,8 +167,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` diff --git a/docs/wiki/ModulesUsage.md b/docs/wiki/ModulesUsage.md index e4f620f2ff..4bb07ccab8 100644 --- a/docs/wiki/ModulesUsage.md +++ b/docs/wiki/ModulesUsage.md @@ -155,7 +155,7 @@ param subnets array = [ // =========== // // Resource Group -module rg 'br:adpqsxxazacrx001.azurecr.io/bicep/modules/microsoft.resources.resourcegroups:0.0.23' = { +module rg 'br:adpsxxazacrx001.azurecr.io/bicep/modules/microsoft.resources.resourcegroups:0.0.23' = { name: 'registry-rg' params: { name: resourceGroupName @@ -164,7 +164,7 @@ module rg 'br:adpqsxxazacrx001.azurecr.io/bicep/modules/microsoft.resources.reso } // Network Security Group -module nsg 'br:adpqsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.networksecuritygroups:0.0.30' = { +module nsg 'br:adpsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.networksecuritygroups:0.0.30' = { name: 'registry-nsg' scope: resourceGroup(resourceGroupName) params: { @@ -176,7 +176,7 @@ module nsg 'br:adpqsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.netwo } // Virtual Network -module vnet 'br:adpqsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.virtualnetworks:0.0.26' = { +module vnet 'br:adpsxxazacrx001.azurecr.io/bicep/modules/microsoft.network.virtualnetworks:0.0.26' = { name: 'registry-vnet' scope: resourceGroup(resourceGroupName) params: { diff --git a/docs/wiki/PipelinesDesign.md b/docs/wiki/PipelinesDesign.md index b3e97a44a5..fa27e7deb7 100644 --- a/docs/wiki/PipelinesDesign.md +++ b/docs/wiki/PipelinesDesign.md @@ -161,7 +161,7 @@ The primary pipeline variable file hosts the fundamental pipeline configuration #### ***Private bicep registry specific (publishing)*** | Variable Name | Example Value | Description | | - | - | - | -| `bicepRegistryName` | "adpqsxxazacrx001" | The container registry to publish bicep templates to | +| `bicepRegistryName` | "adpsxxazacrx001" | The container registry to publish bicep templates to | | `bicepRegistryRGName` | "artifacts-rg" | The resource group of the container registry to publish bicep templates to. Is used to create a new container registry if not yet existing | | `bicepRegistryRGName` | "artifacts-rg" | The location of the resource group of the container registry to publish bicep templates to. Is used to create a new resource group if not yet existing | | `bicepRegistryDoPublish` | "true" | A central switch to enable/disable publishing to the private bicep registry | diff --git a/docs/wiki/TestingDesign.md b/docs/wiki/TestingDesign.md index b36573e4d3..4dd6a84ef1 100644 --- a/docs/wiki/TestingDesign.md +++ b/docs/wiki/TestingDesign.md @@ -135,37 +135,37 @@ Since also dependency resources are in turn subject to dependencies with each ot 1. Storage Account Upload: An upload job to populate the storage account configured in `parameters.json` with a test script that can be referenced 1. AVD host pool: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by the [AVD application group] resource. 1. Key vault: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. Multiple instances are deployed: - - '_adpq-sxx-az-kv-x-001_': KV with required secrets, keys, certificates and access policies to be leveraged by all resources requiring access to a key vault key, secret and/or certificate, i.e. [application gateway], [azure NetApp file], [azure SQL server], [disk encryption set], [machine learning service], [virtual machine], [virtual machine scale set], [virtual network gateway connection]. - - '_adpq-sxx-az-kv-x-pe_': KV to be leveraged by the [private endpoint] resource. - - '_adpq-sxx-az-kv-x-sqlmi_': KV with required secrets, keys and access policies to be leveraged by the [SQL managed instance] resource. + - '_adp-sxx-az-kv-x-001_': KV with required secrets, keys, certificates and access policies to be leveraged by all resources requiring access to a key vault key, secret and/or certificate, i.e. [application gateway], [azure NetApp file], [azure SQL server], [disk encryption set], [machine learning service], [virtual machine], [virtual machine scale set], [virtual network gateway connection]. + - '_adp-sxx-az-kv-x-pe_': KV to be leveraged by the [private endpoint] resource. + - '_adp-sxx-az-kv-x-sqlmi_': KV with required secrets, keys and access policies to be leveraged by the [SQL managed instance] resource. >**Note**: This resource is deployed and configured only if sqlmi dependency resources are enabled. >**Note**: This resource has a global scope name. 1. Network Security Groups: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by different virtual network subnets. Multiple instances are deployed: - - '_adpq-sxx-az-nsg-x-apgw_': NSG with required network security rules to be leveraged by the [application gateway] subnet. - - '_adpq-sxx-az-nsg-x-ase_': NSG with required network security rules to be leveraged by the [app service environment] subnet. - - '_adpq-sxx-az-nsg-x-bastion_': NSG with required network security rules to be leveraged by the [bastion host] subnet. - - '_adpq-sxx-az-nsg-x-sqlmi_': NSG with required network security rules to be leveraged by the [sql managed instance] subnet. + - '_adp-sxx-az-nsg-x-apgw_': NSG with required network security rules to be leveraged by the [application gateway] subnet. + - '_adp-sxx-az-nsg-x-ase_': NSG with required network security rules to be leveraged by the [app service environment] subnet. + - '_adp-sxx-az-nsg-x-bastion_': NSG with required network security rules to be leveraged by the [bastion host] subnet. + - '_adp-sxx-az-nsg-x-sqlmi_': NSG with required network security rules to be leveraged by the [sql managed instance] subnet. >**Note**: This resource is deployed and configured only if sqlmi dependency resources are enabled. - - '_adpq-sxx-az-nsg-x-001_': default NSG leveraged by all other subnets. + - '_adp-sxx-az-nsg-x-001_': default NSG leveraged by all other subnets. 1. Recovery services vault: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by the [virtual machine] resource when backup is enabled. 1. Application insight: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by the [machine learning service] resource. 1. Automation account: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. This resource is leveraged by the [log analytics workspace] resource. 1. Public IP addresses: This resource supports monitoring, hence it has a dependency on the [storage account], [log analytics workspace] and [event hub] deployed in the group above. Multiple instances are deployed: - - '_adpq-sxx-az-pip-x-apgw_': Leveraged by the [application gateway] resource. - - '_adpq-sxx-az-pip-x-bas_': Leveraged by the [bastion host] resource. - - '_adpq-sxx-az-pip-x-lb_': Leveraged by the [load balancer] resource. + - '_adp-sxx-az-pip-x-apgw_': Leveraged by the [application gateway] resource. + - '_adp-sxx-az-pip-x-bas_': Leveraged by the [bastion host] resource. + - '_adp-sxx-az-pip-x-lb_': Leveraged by the [load balancer] resource. 1. Role assignment: This resource assigns the '_Contributor_' role on the subscription to the [user assigned identity] deployed as part of the group above. This is needed by the [image template] deployment. **Fourth level resources**: This group of resources has a dependency on one or more resources in the groups above. Resources in this group can be deployed in parallel. 1. Virtual Networks: This resource is depending on the route table and network security groups deployed above. Multiple instances are deployed: - - '_adpq-sxx-az-vnet-x-peer01_': Leveraged by the [virtual network peering] resource. - - '_adpq-sxx-az-vnet-x-peer02_': Leveraged by the [virtual network peering] resource. - - '_adpq-sxx-az-vnet-x-azfw_': Leveraged by the [azure firewall] resource. - - '_adpq-sxx-az-vnet-x-aks_': Leveraged by the [azure kubernetes service] resource. - - '_adpq-sxx-az-vnet-x-sqlmi_': Leveraged by the [sql managed instance] resource. + - '_adp-sxx-az-vnet-x-peer01_': Leveraged by the [virtual network peering] resource. + - '_adp-sxx-az-vnet-x-peer02_': Leveraged by the [virtual network peering] resource. + - '_adp-sxx-az-vnet-x-azfw_': Leveraged by the [azure firewall] resource. + - '_adp-sxx-az-vnet-x-aks_': Leveraged by the [azure kubernetes service] resource. + - '_adp-sxx-az-vnet-x-sqlmi_': Leveraged by the [sql managed instance] resource. >**Note**: This resource is deployed and configured only if sqlmi dependency resources are enabled. - - '_adpq-sxx-az-vnet-x-001_': Hosting multiple subnets to be leveraged by [virtual machine], [virtual machine scale set], [service bus], [azure NetApp files], [azure bastion], [private endpoints], [app service environment] and [application gateway] resources. + - '_adp-sxx-az-vnet-x-001_': Hosting multiple subnets to be leveraged by [virtual machine], [virtual machine scale set], [service bus], [azure NetApp files], [azure bastion], [private endpoints], [app service environment] and [application gateway] resources. 1. AVD application group: This resource is leveraged by the [AVD workspace] resource. **Fifth level resources**: This group of resources has a dependency on one or more resources in the groups above. @@ -177,7 +177,7 @@ Since also dependency resources are in turn subject to dependencies with each ot The following secrets, keys and certificates need to be created in the key vaults deployed by the dependency workflow. -- Shared key vault '_adpq-sxx-az-kv-x-001_' +- Shared key vault '_adp-sxx-az-kv-x-001_' 1. Key vault secrets: - _administratorLogin_: For [azure SQL server] . - _administratorLoginPassword_: For [azure SQL server]. @@ -189,7 +189,7 @@ The following secrets, keys and certificates need to be created in the key vault 1. Key vault certificate: - _applicationGatewaySslCertificate_: For [application gateway]. -- SQL Mi key vault '_adpq-sxx-az-kv-x-sqlmi_' +- SQL Mi key vault '_adp-sxx-az-kv-x-sqlmi_' 1. Key vault secrets: - _administratorLogin_: For [SQL managed instance]. - _administratorLoginPassword_: For [SQL managed instance]. diff --git a/docs/wiki/TestingUsage.md b/docs/wiki/TestingUsage.md index 8705a47ab3..8f3ac509ef 100644 --- a/docs/wiki/TestingUsage.md +++ b/docs/wiki/TestingUsage.md @@ -79,7 +79,7 @@ The following scenarios are common to when to use a token value in the parameter ```json "remoteVirtualNetworkId": { - "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-peer01" + "value": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-peer01" } ``` diff --git a/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/parameters.json index 58f4d19ef6..786e69ed5e 100644 --- a/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Authorization/policyAssignments/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-pass-loc-rg" + "value": "adp-sxx-pass-loc-rg" }, "displayName": { "value": "Audit resource location matches resource group location" diff --git a/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json index 00fd27a572..d8953e364f 100644 --- a/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Automation/automationAccounts/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-wd-aut-x-001" + "value": "adp-sxx-wd-aut-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json index 58c270cb11..96834d20be 100644 --- a/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Compute/galleries/parameters/parameters.json @@ -3,12 +3,12 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpqsxxazsigweux001" + "value": "adpsxxazsigweux001" }, "images": { "value": [ { - "name": "adpq-sxx-az-imgd-x-001", + "name": "adp-sxx-az-imgd-x-001", "osType": "Windows", "osState": "Generalized", "publisher": "MicrosoftWindowsServer", diff --git a/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json index 7cf82212be..84dc57111a 100644 --- a/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Compute/virtualMachines/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-vm-001" + "value": "adp-vm-001" }, "vmSize": { "value": "Standard_B1s" @@ -34,7 +34,7 @@ "adminPassword": { "reference": { "keyVault": { - "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adpq-sxx-az-kv-x-001" + "id": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.KeyVault/vaults/adp-sxx-az-kv-x-001" }, "secretName": "adminPassword" } @@ -46,7 +46,7 @@ "ipConfigurations": [ { "name": "ipconfig01", - "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001" + "subnetId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001/subnets/sxx-az-subnet-x-001" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json index 278db1c4b6..3c97f3394b 100644 --- a/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.ContainerRegistry/registries/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpqsxxazacrx001q" + "value": "adpsxxazacrx001q" }, "acrAdminUserEnabled": { "value": false diff --git a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json index 697bc7a95e..639800b058 100644 --- a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/applicationgroups/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-avdag-x-001" + "value": "adp-sxx-az-avdag-x-001" }, "location": { "value": "westeurope" @@ -12,7 +12,7 @@ "value": "RemoteApp" }, "hostpoolName": { - "value": "adpq-sxx-az-avdhp-x-001" + "value": "adp-sxx-az-avdhp-x-001" }, "friendlyName": { "value": "Remote Applications 1" diff --git a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json index 6bb3484d04..d56bed7d7e 100644 --- a/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.DesktopVirtualization/hostpools/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-avdhp-x-001" + "value": "adp-sxx-az-avdhp-x-001" }, "location": { "value": "westeurope" diff --git a/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json index 6bae4acdd5..67e7f877e5 100644 --- a/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.EventHub/namespaces/parameters/parameters.json @@ -3,12 +3,12 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-evhns-x-001" + "value": "adp-sxx-az-evhns-x-001" }, "eventHubs": { "value": [ { - "name": "adpq-sxx-az-evh-x-001", + "name": "adp-sxx-az-evh-x-001", "authorizationRules": [ { "name": "RootManageSharedAccessKey", diff --git a/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json index 416b42825a..834cba3478 100644 --- a/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Insights/actionGroups/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-ag-x-001" + "value": "adp-sxx-az-ag-x-001" }, "groupShortName": { "value": "azagweux001" diff --git a/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json index 6065f7fc0f..fb4bd5d828 100644 --- a/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Insights/components/parameters/parameters.json @@ -3,10 +3,10 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-appi-x-001" + "value": "adp-sxx-az-appi-x-001" }, "appInsightsWorkspaceResourceId": { - "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adpq-sxx-az-law-x-002" + "value": "/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-law-x-002" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json index ef2b70a8dc..6d32bb2116 100644 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-kv-x-001" + "value": "adp-sxx-az-kv-x-001" }, "accessPolicies": { "value": [ @@ -26,7 +26,7 @@ }, { "tenantId": "<>", - "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adpq-sxx-az-msi-x-001 to get secrets + "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adp-sxx-az-msi-x-001 to get secrets "permissions": { "keys": [], "secrets": [ diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json index 4efa643012..86d8b66830 100644 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/pe.parameters.json @@ -3,13 +3,13 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-kv-x-pe" + "value": "adp-sxx-az-kv-x-pe" }, "accessPolicies": { "value": [ { "tenantId": "<>", - "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adpq-sxx-az-msi-x-001 to get secrets + "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adp-sxx-az-msi-x-001 to get secrets "permissions": { "keys": [], "secrets": [ diff --git a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json index f305f8c971..8c586acbcf 100644 --- a/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.KeyVault/vaults/parameters/sqlmi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-kv-x-sqlmi" + "value": "adp-sxx-az-kv-x-sqlmi" }, "accessPolicies": { "value": [ @@ -26,7 +26,7 @@ }, { "tenantId": "<>", - "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adpq-sxx-az-msi-x-001 to get secrets + "objectId": "cf33fea8-b30f-424f-ab73-c48d99e0b222", // adding adp-sxx-az-msi-x-001 to get secrets "permissions": { "keys": [ "Get", diff --git a/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json index d4b58ba633..1c0d857760 100644 --- a/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.ManagedIdentity/userAssignedIdentities/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-msi-x-001" + "value": "adp-sxx-az-msi-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json index daab16df27..5e442ae8f9 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/applicationSecurityGroups/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-asg-x-001" + "value": "adp-sxx-az-asg-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json index 659a12fd87..2837d69904 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/apgw.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-nsg-x-apgw" + "value": "adp-sxx-az-nsg-x-apgw" }, "networkSecurityGroupSecurityRules": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json index a8c9a53836..5551769c72 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/ase.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-nsg-x-ase" + "value": "adp-sxx-az-nsg-x-ase" }, "networkSecurityGroupSecurityRules": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json index 067a2011fe..dc1af7d86e 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/bastion.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-nsg-x-bastion" + "value": "adp-sxx-az-nsg-x-bastion" }, "networkSecurityGroupSecurityRules": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json index 8f11be46bd..c131d6a68c 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-nsg-x-001" + "value": "adp-sxx-az-nsg-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json index c836c4f313..cc2a938972 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkSecurityGroups/parameters/sqlmi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-nsg-x-sqlmi" + "value": "adp-sxx-az-nsg-x-sqlmi" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json index 20c6bf74ae..7a0102fc58 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/networkWatchers/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-nw-x-001" + "value": "adp-sxx-az-nw-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/parameters.json index d97a2d91ab..c230de4417 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/privateDnsZones/parameters/parameters.json @@ -8,7 +8,7 @@ "virtualNetworkLinks": { "value": [ { - "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adpq-sxx-az-vnet-x-001", + "virtualNetworkResourceId": "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-sxx-az-vnet-x-001", "registrationEnabled": false } ] diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json index cd601c0e91..532e4b385f 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/apgw.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-pip-x-apgw" + "value": "adp-sxx-az-pip-x-apgw" }, "skuName": { "value": "Standard" diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json index c2da49984c..beb1542b3e 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/bas.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-pip-x-bas" + "value": "adp-sxx-az-pip-x-bas" }, "skuName": { "value": "Standard" diff --git a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json index 0a8c50420a..1d684f2ff3 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/publicIPAddresses/parameters/lb.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-pip-x-lb" + "value": "adp-sxx-az-pip-x-lb" }, "skuName": { "value": "Standard" diff --git a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json index 722f054322..6e5ccb81ad 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-udr-x-001" + "value": "adp-sxx-az-udr-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json index e9d39a9b3b..0c59507939 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/routeTables/parameters/sqlMi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-udr-x-sqlmi" + "value": "adp-sxx-az-udr-x-sqlmi" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json index 4cdd16a64c..bb91ffcc13 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/1.bastion.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-vnet-x-002" + "value": "adp-sxx-az-vnet-x-002" }, "addressPrefixes": { "value": [ @@ -15,7 +15,7 @@ { "name": "AzureBastionSubnet", // Bastion subnet "addressPrefix": "10.1.5.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-bastion" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-bastion" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json index 56a89d9b20..33368d723d 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/2.vnetpeer01.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-vnet-x-peer01" + "value": "adp-sxx-az-vnet-x-peer01" }, "addressPrefixes": { "value": [ @@ -15,7 +15,7 @@ { "name": "sxx-az-subnet-x-001", "addressPrefix": "10.2.0.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json index 1e3580df16..f15c4559bf 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/3.vnetpeer02.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-vnet-x-peer02" + "value": "adp-sxx-az-vnet-x-peer02" }, "addressPrefixes": { "value": [ @@ -15,7 +15,7 @@ { "name": "sxx-az-subnet-x-001", "addressPrefix": "10.3.0.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json index 0eff8478da..40eac46f7f 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/4.azfw.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-vnet-x-azfw" + "value": "adp-sxx-az-vnet-x-azfw" }, "addressPrefixes": { "value": [ diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json index 298c69d4ea..b8e80a0ed0 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/5.aks.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-vnet-x-aks" + "value": "adp-sxx-az-vnet-x-aks" }, "addressPrefixes": { "value": [ @@ -15,17 +15,17 @@ { "name": "Primary", "addressPrefix": "10.5.0.0/18", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" }, { "name": "Secondary", "addressPrefix": "10.5.64.0/18", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" }, { "name": "Tertiary", "addressPrefix": "10.5.128.0/18", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json index b8c1ae963b..9271a7d8b7 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/6.sqlmi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-vnet-x-sqlmi" + "value": "adp-sxx-az-vnet-x-sqlmi" }, "addressPrefixes": { "value": [ @@ -15,8 +15,8 @@ { "name": "sxx-az-subnet-x-sqlmi", // SQLMi subnet "addressPrefix": "10.6.0.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-sqlmi", - "routeTableName": "adpq-sxx-az-udr-x-sqlmi", + "networkSecurityGroupName": "adp-sxx-az-nsg-x-sqlmi", + "routeTableName": "adp-sxx-az-udr-x-sqlmi", "serviceEndpoints": [], "delegations": [ { diff --git a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json index e82923ab0f..9d21ac6034 100644 --- a/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Network/virtualNetworks/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-vnet-x-001" + "value": "adp-sxx-az-vnet-x-001" }, "addressPrefixes": { "value": [ @@ -19,7 +19,7 @@ { "name": "sxx-az-subnet-x-001", // VM subnet "addressPrefix": "10.0.0.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", "serviceEndpoints": [ "Microsoft.EventHub", "Microsoft.Sql", @@ -30,7 +30,7 @@ { "name": "sxx-az-subnet-x-002", // VMSS subnet "addressPrefix": "10.0.1.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", "serviceEndpoints": [ "Microsoft.EventHub", "Microsoft.Sql", @@ -41,7 +41,7 @@ { "name": "sxx-az-subnet-x-003", // ServiceBus subnet "addressPrefix": "10.0.2.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", "serviceEndpoints": [ "Microsoft.ServiceBus" ] @@ -61,24 +61,24 @@ { "name": "AzureBastionSubnet", // Bastion subnet "addressPrefix": "10.0.5.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-bastion" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-bastion" }, { "name": "sxx-az-subnet-x-005-privateEndpoints", // PE subnet "addressPrefix": "10.0.6.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-001", + "networkSecurityGroupName": "adp-sxx-az-nsg-x-001", "privateEndpointNetworkPolicies": "Disabled", // This property must be set to disabled for subnets that contain private endpoints. It confirms that NSGs rules will not apply to private endpoints (currently not supported). Default Value when not specified is "Enabled". "privateLinkServiceNetworkPolicies": "Enabled" }, { "name": "sxx-az-subnet-x-006", // ASE subnet "addressPrefix": "10.0.7.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-ase" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-ase" }, { "name": "sxx-az-subnet-x-007", // APGW subnet "addressPrefix": "10.0.8.0/24", - "networkSecurityGroupName": "adpq-sxx-az-nsg-x-apgw" + "networkSecurityGroupName": "adp-sxx-az-nsg-x-apgw" } ] } diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json index 386b218a91..728d2b303f 100644 --- a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/appi.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-law-x-002" + "value": "adp-sxx-az-law-x-002" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json index 3522d59d50..cd8acb2eef 100644 --- a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-law-x-001" + "value": "adp-sxx-az-law-x-001" } } } diff --git a/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json index 1f5ffe56cc..7a84003ad2 100644 --- a/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.RecoveryServices/vaults/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpq-sxx-az-rsv-x-001" + "value": "adp-sxx-az-rsv-x-001" }, "diagnosticLogsRetentionInDays": { "value": 7 diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json index 954dc2a7f5..975d8991a3 100644 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/fa.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpqsxxazsaweux002" + "value": "adpsxxazsaweux002" }, "storageAccountKind": { "value": "StorageV2" diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json index 702066fc7f..9c98c9b915 100644 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/law.parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpqsxxazsaweux003" + "value": "adpsxxazsaweux003" }, "storageAccountKind": { "value": "StorageV2" diff --git a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json index e9ffd9ff2f..16d1a68437 100644 --- a/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json +++ b/utilities/pipelines/dependencies/Microsoft.Storage/storageAccounts/parameters/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "adpqsxxazsaweux001" + "value": "adpsxxazsaweux001" }, "storageAccountKind": { "value": "StorageV2" diff --git a/utilities/pipelines/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 b/utilities/pipelines/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 index dd737090f2..2136afbe0a 100644 --- a/utilities/pipelines/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 +++ b/utilities/pipelines/resourceRemoval/helper/Get-ResourceIdsAsFormattedObjectList.ps1 @@ -9,12 +9,12 @@ Format the provide resource IDs into objects of resourceID, name & type Optional. The resource IDs to process .EXAMPLE -Get-ResourceIdsAsFormattedObjectList -ResourceIds @('/subscriptions//resourceGroups/test-analysisServices-parameters.json-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaaspar01') +Get-ResourceIdsAsFormattedObjectList -ResourceIds @('/subscriptions//resourceGroups/test-analysisServices-parameters.json-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaaspar01') Returns an object @{ - resourceId = '/subscriptions//resourceGroups/test-analysisServices-parameters.json-rg/providers/Microsoft.Storage/storageAccounts/adpqsxxazsaaspar01' + resourceId = '/subscriptions//resourceGroups/test-analysisServices-parameters.json-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaaspar01' type = 'Microsoft.Storage/storageAccounts' - name = 'adpqsxxazsaaspar01' + name = 'adpsxxazsaaspar01' } #> function Get-ResourceIdsAsFormattedObjectList { diff --git a/utilities/tools/moduleReadMeSource/resourceUsage-userAssignedIdentities.md b/utilities/tools/moduleReadMeSource/resourceUsage-userAssignedIdentities.md index 3a0a210e5d..4d9cbba34c 100644 --- a/utilities/tools/moduleReadMeSource/resourceUsage-userAssignedIdentities.md +++ b/utilities/tools/moduleReadMeSource/resourceUsage-userAssignedIdentities.md @@ -3,8 +3,8 @@ You can specify multiple user assigned identities to a resource by providing add ```json "userAssignedIdentities": { "value": { - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-001": {}, - "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adpq-sxx-az-msi-x-002": {} + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-001": {}, + "/subscriptions/12345678-1234-1234-1234-123456789012/resourcegroups/validation-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/adp-sxx-az-msi-x-002": {} } }, ``` From d928be7bb98f307ee767224bee7e7b851bdc86cc Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 12:17:22 +0200 Subject: [PATCH 162/260] solutions module --- .github/workflows/platform.dependencies.yml | 2 +- .../solutions/.parameters/parameters.json | 12 ++ .../solutions/deploy.bicep | 118 ++++++++++++++++++ .../solutions/readme.md | 0 .../solutions/version.json | 4 + .../workspaces/parameters/sol.parameters.json | 9 ++ 6 files changed, 144 insertions(+), 1 deletion(-) create mode 100644 arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json create mode 100644 arm/Microsoft.OperationsManagement/solutions/deploy.bicep create mode 100644 arm/Microsoft.OperationsManagement/solutions/readme.md create mode 100644 arm/Microsoft.OperationsManagement/solutions/version.json create mode 100644 utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/sol.parameters.json diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 15a77c9477..400fc2281e 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -254,7 +254,7 @@ jobs: fail-fast: false matrix: parameterFilePaths: - ['appi.parameters.json', 'aut.parameters.json', 'parameters.json'] + ['appi.parameters.json', 'aut.parameters.json', 'sol.parameters.json', 'parameters.json'] steps: - name: 'Checkout' uses: actions/checkout@v2 diff --git a/arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json b/arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json new file mode 100644 index 0000000000..6844bb4688 --- /dev/null +++ b/arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "value": "Updates" + }, + "logAnalyticsWorkspaceName": { + "value": "adp-<>-az-law-sol-001" + } + } +} diff --git a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep new file mode 100644 index 0000000000..70ff1d4a11 --- /dev/null +++ b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep @@ -0,0 +1,118 @@ +@description('Required. Name of the solution.') +param name string + +@description('Required. Name of the Log Analytics workspace where the solution will be deployed/enabled.') +param logAnalyticsWorkspaceName string + +@description('Optional. Location for all resources.') +param location string = resourceGroup().location + +@description('Optional. The product of the deployed solution. For Microsoft published gallery solution it should be OMSGallery. This is case sensitive.') +param product string = 'OMSGallery' + +@description('Optional. The publisher name of the deployed solution. For gallery solution, it is Microsoft.') +param publisher string = 'Microsoft' + +@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +param enableDefaultTelemetry bool = true + +resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' existing = { + name: logAnalyticsWorkspaceName +} + +var solutionName = '${name}(${logAnalyticsWorkspace.name})' + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name, location)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { + name: solutionName + location: location + properties: { + workspaceResourceId: logAnalyticsWorkspace.id + } + plan: { + name: solutionName + promotionCode: '' + product: '${product}/${name}' + publisher: publisher + } +} + +@description('The name of the deployed solution.') +output name string = solution.name + +@description('The resource ID of the deployed solution.') +output resourceId string = solution.id + +@description('The resource group where the solution is deployed.') +output resourceGroupName string = resourceGroup().name + +@description('The location the resource was deployed into.') +output location string = logAnalyticsWorkspace.location + +// resource symbolicname 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { +// name: 'string' +// location: 'string' +// tags: { +// tagName1: 'tagValue1' +// tagName2: 'tagValue2' +// } +// plan: { +// name: 'string' +// product: 'string' +// promotionCode: 'string' +// publisher: 'string' +// } +// properties: { +// containedResources: [ +// 'string' +// ] +// referencedResources: [ +// 'string' +// ] +// workspaceResourceId: 'string' +// } +// } + +// param gallerySolution string +// param logAnalyticsWorkspaceName string +// param location string +// param product string = 'OMSGallery' +// param publisher string = 'Microsoft' + +// resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' existing = { +// name: logAnalyticsWorkspaceName +// } + +// resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { +// name: '${gallerySolution}(${logAnalyticsWorkspace.name})' +// location: location +// properties: { +// workspaceResourceId: logAnalyticsWorkspace.id +// } +// plan: { +// name: '${gallerySolution}(${logAnalyticsWorkspace.name})' +// product: '${product}/${gallerySolution}' +// promotionCode: '' +// publisher: publisher +// } +// } + +// @description('The resource ID of the deployed solution') +// output resourceId string = solution.id + +// @description('The resource group where the solution will be deployed') +// output resourceGroupName string = resourceGroup().name + +// @description('The name of the deployed solution') +// output name string = solution.name diff --git a/arm/Microsoft.OperationsManagement/solutions/readme.md b/arm/Microsoft.OperationsManagement/solutions/readme.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/arm/Microsoft.OperationsManagement/solutions/version.json b/arm/Microsoft.OperationsManagement/solutions/version.json new file mode 100644 index 0000000000..41f66cc990 --- /dev/null +++ b/arm/Microsoft.OperationsManagement/solutions/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.1" +} diff --git a/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/sol.parameters.json b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/sol.parameters.json new file mode 100644 index 0000000000..d8e7e24346 --- /dev/null +++ b/utilities/pipelines/dependencies/Microsoft.OperationalInsights/workspaces/parameters/sol.parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "value": "adp-<>-az-law-sol-001" + } + } +} From 1c96b3199aba050f785bb1a59d8ab4f275c8f5d3 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 12:22:37 +0200 Subject: [PATCH 163/260] rke settings --- global.variables.yml | 2 +- settings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/global.variables.yml b/global.variables.yml index 7fed8d13f9..2897f2078e 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/settings.json b/settings.json index 9198a0f7d0..6146e07c81 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "carml", + "value": "rke", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 40289a338cf11fd8bbad07fde958216e395f2ed7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 12:29:57 +0200 Subject: [PATCH 164/260] workflow --- .../ms.operationsmanagement.solutions.yml | 142 ++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 .github/workflows/ms.operationsmanagement.solutions.yml diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml new file mode 100644 index 0000000000..db74fec086 --- /dev/null +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -0,0 +1,142 @@ +name: 'OperationsManagement: Solutions' + +on: + workflow_dispatch: + inputs: + removeDeployment: + type: boolean + description: 'Remove deployed module' + required: false + default: true + prerelease: + type: boolean + description: 'Publish prerelease module' + required: false + default: false + push: + branches: + - main + paths: + - '.github/actions/templates/**' + - '.github/workflows/ms.operationsmanagement.solutions.yml' + - 'arm/Microsoft.OperationsManagement/solutions/**' + - 'arm/.global/global.module.tests.ps1' + - '!*/**/readme.md' + - 'utilities/pipelines/**' + - '!utilities/pipelines/dependencies/**' + +env: + variablesPath: 'global.variables.yml' + modulePath: 'arm/Microsoft.OperationsManagement/solutions' + workflowPath: '.github/workflows/ms.operationsmanagement.solutions.yml' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + +jobs: + ########################### + # Initialize pipeline # + ########################### + job_initialize_pipeline: + runs-on: ubuntu-20.04 + name: 'Initialize pipeline' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Set input parameters to output variables' + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + - name: 'Get parameter file paths' + id: get-parameter-file-paths + uses: ./.github/actions/templates/getParameterFiles + with: + modulePath: '${{ env.modulePath }}' + outputs: + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + + ######################### + # Static validation # + ######################### + job_module_pester_validation: + runs-on: ubuntu-20.04 + name: 'Static validation' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' + + ############################# + # Deployment validation # + ############################# + job_module_deploy_validation: + runs-on: ubuntu-20.04 + name: 'Deployment validation' + needs: + - job_initialize_pipeline + - job_module_pester_validation + strategy: + fail-fast: false + matrix: + parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} + - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + location: '${{ env.location }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + + ################## + # Publishing # + ################## + job_publish_module: + name: 'Publishing' + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' + runs-on: ubuntu-20.04 + needs: + - job_module_deploy_validation + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} + - name: 'Publishing' + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + templateSpecsRGName: '${{ env.templateSpecsRGName }}' + templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' + templateSpecsDescription: '${{ env.templateSpecsDescription }}' + templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' + bicepRegistryName: '${{ env.bicepRegistryName }}' + bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' + bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' + bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' From 89768907b496711b62b1bfd30543ba424a2108e3 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 12:41:21 +0200 Subject: [PATCH 165/260] skip validation --- .github/workflows/ms.operationsmanagement.solutions.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index db74fec086..be58dc9621 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -72,10 +72,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' + # - name: 'Run tests' + # uses: ./.github/actions/templates/validateModulePester + # with: + # modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # From df46d20d3955a8e8fa3dc9e6b469e79823475e0c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 13:10:12 +0200 Subject: [PATCH 166/260] law and automation account --- arm/Microsoft.Automation/automationAccounts/deploy.bicep | 5 ++++- .../workspaces/deploy.bicep | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/arm/Microsoft.Automation/automationAccounts/deploy.bicep b/arm/Microsoft.Automation/automationAccounts/deploy.bicep index 596bc84a0e..7304c079cf 100644 --- a/arm/Microsoft.Automation/automationAccounts/deploy.bicep +++ b/arm/Microsoft.Automation/automationAccounts/deploy.bicep @@ -269,12 +269,15 @@ module automationAccount_linkedService '../../Microsoft.OperationalInsights/work scope: resourceGroup(!empty(linkedWorkspaceResourceId) ? split(linkedWorkspaceResourceId, '/')[2] : subscription().subscriptionId, !empty(linkedWorkspaceResourceId) ? split(linkedWorkspaceResourceId, '/')[4] : resourceGroup().name) } -module automationAccount_solutions '.bicep/nested_solution.bicep' = [for (gallerySolution, index) in gallerySolutions: if (!empty(linkedWorkspaceResourceId)) { +module automationAccount_solutions '../../Microsoft.OperationsManagement/solutions/deploy.bicep' = [for (gallerySolution, index) in gallerySolutions: if (!empty(linkedWorkspaceResourceId)) { name: '${uniqueString(deployment().name, location)}-AutoAccount-Solution-${index}' params: { name: gallerySolution location: location logAnalyticsWorkspaceName: last(split(linkedWorkspaceResourceId, '/')) + product: contains(gallerySolution, 'product') ? gallerySolution.product : 'OMSGallery' + publisher: contains(gallerySolution, 'publisher') ? gallerySolution.publisher : 'Microsoft' + enableDefaultTelemetry: enableDefaultTelemetry } // This is to support solution to law in different subscription and resource group than the automation account. // The current scope is used by default if no linked service is intended to be created. diff --git a/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep b/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep index 1ee9049636..1a9e13b578 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep +++ b/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep @@ -235,14 +235,15 @@ module logAnalyticsWorkspace_dataSources 'dataSources/deploy.bicep' = [for (data } }] -module logAnalyticsWorkspace_solutions '.bicep/nested_solutions.bicep' = [for (gallerySolution, index) in gallerySolutions: if (!empty(gallerySolutions)) { +module logAnalyticsWorkspace_solutions '../../Microsoft.OperationsManagement/solutions/deploy.bicep' = [for (gallerySolution, index) in gallerySolutions: if (!empty(gallerySolutions)) { name: '${uniqueString(deployment().name, location)}-LAW-Solution-${index}' params: { - gallerySolution: gallerySolution.name + name: gallerySolution.name location: location logAnalyticsWorkspaceName: logAnalyticsWorkspace.name - product: gallerySolution.product - publisher: gallerySolution.publisher + product: contains(gallerySolution, 'product') ? gallerySolution.product : 'OMSGallery' + publisher: contains(gallerySolution, 'publisher') ? gallerySolution.publisher : 'Microsoft' + enableDefaultTelemetry: enableDefaultTelemetry } }] From f4eb7128d686a349b39b5965ab22a7c1719cfc22 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 13:14:49 +0200 Subject: [PATCH 167/260] readme --- .../solutions/readme.md | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/arm/Microsoft.OperationsManagement/solutions/readme.md b/arm/Microsoft.OperationsManagement/solutions/readme.md index e69de29bb2..cf7afdaffc 100644 --- a/arm/Microsoft.OperationsManagement/solutions/readme.md +++ b/arm/Microsoft.OperationsManagement/solutions/readme.md @@ -0,0 +1,84 @@ +# OperationsManagement Solutions `[Microsoft.OperationsManagement/solutions]` + +This module deploys OperationsManagement Solutions. + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Deployment examples](#Deployment-examples) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.OperationsManagement/solutions` | [2015-11-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.OperationsManagement/2015-11-01-preview/solutions) | + +## Parameters + +**Required parameters** +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `logAnalyticsWorkspaceName` | string | Name of the Log Analytics workspace where the solution will be deployed/enabled. | +| `name` | string | Name of the solution. | + +**Optional parameters** +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | +| `location` | string | `[resourceGroup().location]` | Location for all resources. | +| `product` | string | `'OMSGallery'` | The product of the deployed solution. For Microsoft published gallery solution it should be OMSGallery. This is case sensitive. | +| `publisher` | string | `'Microsoft'` | The publisher name of the deployed solution. For gallery solution, it is Microsoft. | + + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `location` | string | The location the resource was deployed into. | +| `name` | string | The name of the deployed solution. | +| `resourceGroupName` | string | The resource group where the solution is deployed. | +| `resourceId` | string | The resource ID of the deployed solution. | + +## Deployment examples + +

Example 1

+ +
+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "value": "Updates" + }, + "logAnalyticsWorkspaceName": { + "value": "adp-<>-az-law-sol-001" + } + } +} + +``` + +
+ +
+ +via Bicep module + +```bicep +module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { + name: '${uniqueString(deployment().name)}-solutions' + params: { + name: 'Updates' + logAnalyticsWorkspaceName: 'adp-<>-az-law-sol-001' + } +``` + +
+

From 964358bf02070609547e7b3bdf9b7f1816f3e680 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 13:18:34 +0200 Subject: [PATCH 168/260] law and automation account skip pester --- .github/workflows/ms.automation.automationaccounts.yml | 8 ++++---- .github/workflows/ms.operationalinsights.workspaces.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index e2a3cc2bc9..b0736ff965 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -73,10 +73,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' + # - name: 'Run tests' + # uses: ./.github/actions/templates/validateModulePester + # with: + # modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 9ddfc177f5..9d5f0a9814 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -72,10 +72,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' + # - name: 'Run tests' + # uses: ./.github/actions/templates/validateModulePester + # with: + # modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # From d60d13de93c7a2a9783fb9a3e1f3e898f92f8ba6 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 13:21:58 +0200 Subject: [PATCH 169/260] ado --- .../ms.operationsmanagement.solutions.yml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml diff --git a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml new file mode 100644 index 0000000000..2a57dac61d --- /dev/null +++ b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml @@ -0,0 +1,54 @@ +name: 'OperationsManagement - Solutions' + +parameters: + - name: removeDeployment + displayName: Remove deployed module + type: boolean + default: true + - name: prerelease + displayName: Publish prerelease module + type: boolean + default: false + +pr: none + +trigger: + batch: true + branches: + include: + - main + paths: + include: + - '/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml' + - '/.azuredevops/pipelineTemplates/module.*.yml' + - '/arm/Microsoft.OperationsManagement/solutions/*' + - '/arm/.global/global.module.tests.ps1' + exclude: + - '/**/*.md' + +variables: + - template: '../../global.variables.yml' + - group: 'PLATFORM_VARIABLES' + - name: modulePath + value: '/arm/Microsoft.OperationsManagement/solutions' + +stages: + - stage: Validation + displayName: Static validation + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml + + - stage: Deployment + displayName: Deployment validation + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + deploymentBlocks: + - path: $(modulePath)/.parameters/parameters.json + + - stage: Publishing + displayName: Publishing + condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml From 307319078b253285f26387aa841aa9f1a89946b6 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 13:51:46 +0200 Subject: [PATCH 170/260] enable pester --- .github/workflows/ms.automation.automationaccounts.yml | 8 ++++---- .github/workflows/ms.operationalinsights.workspaces.yml | 8 ++++---- .github/workflows/ms.operationsmanagement.solutions.yml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index b0736ff965..e2a3cc2bc9 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -73,10 +73,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: 'Run tests' - # uses: ./.github/actions/templates/validateModulePester - # with: - # modulePath: '${{ env.modulePath }}' + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 9d5f0a9814..9ddfc177f5 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -72,10 +72,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: 'Run tests' - # uses: ./.github/actions/templates/validateModulePester - # with: - # modulePath: '${{ env.modulePath }}' + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index be58dc9621..db74fec086 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -72,10 +72,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: 'Run tests' - # uses: ./.github/actions/templates/validateModulePester - # with: - # modulePath: '${{ env.modulePath }}' + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # From b41c970268bde55d5d80cf9550f28d30434cc1fe Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 14:04:51 +0200 Subject: [PATCH 171/260] fix static val location --- .../.bicep/nested_solution.bicep | 43 -------------- .../workspaces/.bicep/nested_solutions.bicep | 32 ---------- .../solutions/.parameters/min.parameters.json | 12 ++++ .../solutions/.parameters/parameters.json | 8 ++- .../solutions/deploy.bicep | 59 +------------------ .../solutions/readme.md | 48 +++++++++++++++ 6 files changed, 68 insertions(+), 134 deletions(-) delete mode 100644 arm/Microsoft.Automation/automationAccounts/.bicep/nested_solution.bicep delete mode 100644 arm/Microsoft.OperationalInsights/workspaces/.bicep/nested_solutions.bicep create mode 100644 arm/Microsoft.OperationsManagement/solutions/.parameters/min.parameters.json diff --git a/arm/Microsoft.Automation/automationAccounts/.bicep/nested_solution.bicep b/arm/Microsoft.Automation/automationAccounts/.bicep/nested_solution.bicep deleted file mode 100644 index b6cbf586ea..0000000000 --- a/arm/Microsoft.Automation/automationAccounts/.bicep/nested_solution.bicep +++ /dev/null @@ -1,43 +0,0 @@ -@description('Required. Name of the solution') -param name string - -@description('Required. Name of the Log Analytics workspace') -param logAnalyticsWorkspaceName string - -@description('Optional. Location for all resources.') -param location string = resourceGroup().location - -@description('Optional. The product of the deployed solution. For gallery solution, it is OMSGallery.') -param product string = 'OMSGallery' - -@description('Optional. The publisher name of the deployed solution. For gallery solution, it is Microsoft.') -param publisher string = 'Microsoft' - -resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' existing = { - name: logAnalyticsWorkspaceName -} - -var solutionName = '${name}(${logAnalyticsWorkspace.name})' - -resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { - name: solutionName - location: location - properties: { - workspaceResourceId: logAnalyticsWorkspace.id - } - plan: { - name: solutionName - promotionCode: '' - product: '${product}/${name}' - publisher: publisher - } -} - -@description('The name of the deployed solution') -output name string = solution.name - -@description('The resource ID of the deployed solution') -output resourceId string = solution.id - -@description('The resource group where the solution is deployed') -output resourceGroupName string = resourceGroup().name diff --git a/arm/Microsoft.OperationalInsights/workspaces/.bicep/nested_solutions.bicep b/arm/Microsoft.OperationalInsights/workspaces/.bicep/nested_solutions.bicep deleted file mode 100644 index 341438497c..0000000000 --- a/arm/Microsoft.OperationalInsights/workspaces/.bicep/nested_solutions.bicep +++ /dev/null @@ -1,32 +0,0 @@ -param gallerySolution string -param logAnalyticsWorkspaceName string -param location string -param product string = 'OMSGallery' -param publisher string = 'Microsoft' - -resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' existing = { - name: logAnalyticsWorkspaceName -} - -resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { - name: '${gallerySolution}(${logAnalyticsWorkspace.name})' - location: location - properties: { - workspaceResourceId: logAnalyticsWorkspace.id - } - plan: { - name: '${gallerySolution}(${logAnalyticsWorkspace.name})' - product: '${product}/${gallerySolution}' - promotionCode: '' - publisher: publisher - } -} - -@description('The resource ID of the deployed solution') -output resourceId string = solution.id - -@description('The resource group where the solution will be deployed') -output resourceGroupName string = resourceGroup().name - -@description('The name of the deployed solution') -output name string = solution.name diff --git a/arm/Microsoft.OperationsManagement/solutions/.parameters/min.parameters.json b/arm/Microsoft.OperationsManagement/solutions/.parameters/min.parameters.json new file mode 100644 index 0000000000..6844bb4688 --- /dev/null +++ b/arm/Microsoft.OperationsManagement/solutions/.parameters/min.parameters.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "value": "Updates" + }, + "logAnalyticsWorkspaceName": { + "value": "adp-<>-az-law-sol-001" + } + } +} diff --git a/arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json b/arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json index 6844bb4688..c7dcb66400 100644 --- a/arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json +++ b/arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json @@ -3,10 +3,16 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "Updates" + "value": "AzureAutomation" }, "logAnalyticsWorkspaceName": { "value": "adp-<>-az-law-sol-001" + }, + "product": { + "value": "OMSGallery" + }, + "publisher": { + "value": "Microsoft" } } } diff --git a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep index 70ff1d4a11..4a5298e65a 100644 --- a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep +++ b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep @@ -58,61 +58,4 @@ output resourceId string = solution.id output resourceGroupName string = resourceGroup().name @description('The location the resource was deployed into.') -output location string = logAnalyticsWorkspace.location - -// resource symbolicname 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { -// name: 'string' -// location: 'string' -// tags: { -// tagName1: 'tagValue1' -// tagName2: 'tagValue2' -// } -// plan: { -// name: 'string' -// product: 'string' -// promotionCode: 'string' -// publisher: 'string' -// } -// properties: { -// containedResources: [ -// 'string' -// ] -// referencedResources: [ -// 'string' -// ] -// workspaceResourceId: 'string' -// } -// } - -// param gallerySolution string -// param logAnalyticsWorkspaceName string -// param location string -// param product string = 'OMSGallery' -// param publisher string = 'Microsoft' - -// resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' existing = { -// name: logAnalyticsWorkspaceName -// } - -// resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { -// name: '${gallerySolution}(${logAnalyticsWorkspace.name})' -// location: location -// properties: { -// workspaceResourceId: logAnalyticsWorkspace.id -// } -// plan: { -// name: '${gallerySolution}(${logAnalyticsWorkspace.name})' -// product: '${product}/${gallerySolution}' -// promotionCode: '' -// publisher: publisher -// } -// } - -// @description('The resource ID of the deployed solution') -// output resourceId string = solution.id - -// @description('The resource group where the solution will be deployed') -// output resourceGroupName string = resourceGroup().name - -// @description('The name of the deployed solution') -// output name string = solution.name +output location string = solution.location diff --git a/arm/Microsoft.OperationsManagement/solutions/readme.md b/arm/Microsoft.OperationsManagement/solutions/readme.md index cf7afdaffc..e811889681 100644 --- a/arm/Microsoft.OperationsManagement/solutions/readme.md +++ b/arm/Microsoft.OperationsManagement/solutions/readme.md @@ -82,3 +82,51 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = {

+ +

Example 2

+ +
+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "value": "AzureAutomation" + }, + "logAnalyticsWorkspaceName": { + "value": "adp-<>-az-law-sol-001" + }, + "product": { + "value": "OMSGallery" + }, + "publisher": { + "value": "Microsoft" + } + } +} + +``` + +
+ +
+ +via Bicep module + +```bicep +module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { + name: '${uniqueString(deployment().name)}-solutions' + params: { + name: 'AzureAutomation' + logAnalyticsWorkspaceName: 'adp-<>-az-law-sol-001' + product: 'OMSGallery' + publisher: 'Microsoft' + } +``` + +
+

From d900fb3d9372d121a5e0e01a434ee1714fbbc3f2 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 14:25:03 +0200 Subject: [PATCH 172/260] carml tokens --- .../solutions/deploy.bicep | 12 ++++++------ global.variables.yml | 2 +- settings.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep index 4a5298e65a..6a810b2fb2 100644 --- a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep +++ b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep @@ -16,12 +16,6 @@ param publisher string = 'Microsoft' @description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') param enableDefaultTelemetry bool = true -resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' existing = { - name: logAnalyticsWorkspaceName -} - -var solutionName = '${name}(${logAnalyticsWorkspace.name})' - resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name, location)}' properties: { @@ -34,6 +28,12 @@ resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (ena } } +resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' existing = { + name: logAnalyticsWorkspaceName +} + +var solutionName = '${name}(${logAnalyticsWorkspace.name})' + resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { name: solutionName location: location diff --git a/global.variables.yml b/global.variables.yml index 2897f2078e..7fed8d13f9 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/settings.json b/settings.json index 6146e07c81..9198a0f7d0 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "rke", + "value": "carml", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 9c198ba011b8b15a4b1a80b092d395cbd4b0afa4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 14:37:20 +0200 Subject: [PATCH 173/260] fix input --- .../automationAccounts/deploy.bicep | 2 +- .../workspaces/deploy.bicep | 2 +- .../workspaces/readme.md | 98 +++++++++---------- 3 files changed, 51 insertions(+), 51 deletions(-) diff --git a/arm/Microsoft.Automation/automationAccounts/deploy.bicep b/arm/Microsoft.Automation/automationAccounts/deploy.bicep index 7304c079cf..ac0f58bac8 100644 --- a/arm/Microsoft.Automation/automationAccounts/deploy.bicep +++ b/arm/Microsoft.Automation/automationAccounts/deploy.bicep @@ -272,7 +272,7 @@ module automationAccount_linkedService '../../Microsoft.OperationalInsights/work module automationAccount_solutions '../../Microsoft.OperationsManagement/solutions/deploy.bicep' = [for (gallerySolution, index) in gallerySolutions: if (!empty(linkedWorkspaceResourceId)) { name: '${uniqueString(deployment().name, location)}-AutoAccount-Solution-${index}' params: { - name: gallerySolution + name: gallerySolution.name location: location logAnalyticsWorkspaceName: last(split(linkedWorkspaceResourceId, '/')) product: contains(gallerySolution, 'product') ? gallerySolution.product : 'OMSGallery' diff --git a/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep b/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep index 1a9e13b578..3777f50cfb 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep +++ b/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep @@ -25,7 +25,7 @@ param savedSearches array = [] @description('Optional. LAW data sources to configure.') param dataSources array = [] -@description('Optional. LAW gallerySolutions from the gallery.') +@description('Optional. List of gallerySolutions to be created in the log analytics workspace.') param gallerySolutions array = [] @description('Optional. Number of days data will be retained for.') diff --git a/arm/Microsoft.OperationalInsights/workspaces/readme.md b/arm/Microsoft.OperationalInsights/workspaces/readme.md index 41aa525520..7fa1ff3952 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/readme.md +++ b/arm/Microsoft.OperationalInsights/workspaces/readme.md @@ -45,7 +45,7 @@ This template deploys a log analytics workspace. | `diagnosticStorageAccountId` | string | `''` | | Resource ID of the diagnostic storage account. | | `diagnosticWorkspaceId` | string | `''` | | Resource ID of a log analytics workspace. | | `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via the Customer Usage Attribution ID (GUID). | -| `gallerySolutions` | array | `[]` | | LAW gallerySolutions from the gallery. | +| `gallerySolutions` | array | `[]` | | List of gallerySolutions to be created in the log analytics workspace. | | `linkedServices` | _[linkedServices](linkedServices/readme.md)_ array | `[]` | | List of services to be linked. | | `location` | string | `[resourceGroup().location]` | | Location for all resources. | | `lock` | string | `''` | `[, CanNotDelete, ReadOnly]` | Specify the type of lock. | @@ -70,122 +70,122 @@ This template deploys a log analytics workspace. "value": [ { "name": "AgentHealthAssessment", - "product": "OMSGallery/AgentHealthAssessment", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "AlertManagement", - "product": "OMSGallery/AlertManagement", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "AntiMalware", - "product": "OMSGallery/AntiMalware", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "AzureActivity", - "product": "OMSGallery/AzureActivity", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "AzureAutomation", - "product": "OMSGallery/AzureAutomation", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "AzureCdnCoreAnalytics", - "product": "OMSGallery/AzureCdnCoreAnalytics", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "AzureDataFactoryAnalytics", - "product": "OMSGallery/AzureDataFactoryAnalytics", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "AzureNSGAnalytics", - "product": "OMSGallery/AzureNSGAnalytics", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "AzureSQLAnalytics", - "product": "OMSGallery/AzureSQLAnalytics", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "ChangeTracking", - "product": "OMSGallery/ChangeTracking", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "Containers", - "product": "OMSGallery/Containers", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "InfrastructureInsights", - "product": "OMSGallery/InfrastructureInsights", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "KeyVaultAnalytics", - "product": "OMSGallery/KeyVaultAnalytics", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "LogicAppsManagement", - "product": "OMSGallery/LogicAppsManagement", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "NetworkMonitoring", - "product": "OMSGallery/NetworkMonitoring", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "Security", - "product": "OMSGallery/Security", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "SecurityCenterFree", - "product": "OMSGallery/SecurityCenterFree", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "ServiceFabric", - "product": "OMSGallery/ServiceFabric", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "ServiceMap", - "product": "OMSGallery/ServiceMap", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "SQLAssessment", - "product": "OMSGallery/SQLAssessment", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "Updates", - "product": "OMSGallery/Updates", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "VMInsights", - "product": "OMSGallery/VMInsights", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "WireData2", - "product": "OMSGallery/WireData2", + "product": "OMSGallery", "publisher": "Microsoft" }, { "name": "WaaSUpdateInsights", - "product": "OMSGallery/WaaSUpdateInsights", + "product": "OMSGallery", "publisher": "Microsoft" } ] @@ -202,122 +202,122 @@ This template deploys a log analytics workspace. gallerySolutions: [ { name: 'AgentHealthAssessment' - product: 'OMSGallery/AgentHealthAssessment' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'AlertManagement' - product: 'OMSGallery/AlertManagement' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'AntiMalware' - product: 'OMSGallery/AntiMalware' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'AzureActivity' - product: 'OMSGallery/AzureActivity' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'AzureAutomation' - product: 'OMSGallery/AzureAutomation' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'AzureCdnCoreAnalytics' - product: 'OMSGallery/AzureCdnCoreAnalytics' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'AzureDataFactoryAnalytics' - product: 'OMSGallery/AzureDataFactoryAnalytics' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'AzureNSGAnalytics' - product: 'OMSGallery/AzureNSGAnalytics' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'AzureSQLAnalytics' - product: 'OMSGallery/AzureSQLAnalytics' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'ChangeTracking' - product: 'OMSGallery/ChangeTracking' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'Containers' - product: 'OMSGallery/Containers' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'InfrastructureInsights' - product: 'OMSGallery/InfrastructureInsights' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'KeyVaultAnalytics' - product: 'OMSGallery/KeyVaultAnalytics' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'LogicAppsManagement' - product: 'OMSGallery/LogicAppsManagement' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'NetworkMonitoring' - product: 'OMSGallery/NetworkMonitoring' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'Security' - product: 'OMSGallery/Security' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'SecurityCenterFree' - product: 'OMSGallery/SecurityCenterFree' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'ServiceFabric' - product: 'OMSGallery/ServiceFabric' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'ServiceMap' - product: 'OMSGallery/ServiceMap' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'SQLAssessment' - product: 'OMSGallery/SQLAssessment' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'Updates' - product: 'OMSGallery/Updates' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'VMInsights' - product: 'OMSGallery/VMInsights' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'WireData2' - product: 'OMSGallery/WireData2' + product: 'OMSGallery' publisher: 'Microsoft' } { name: 'WaaSUpdateInsights' - product: 'OMSGallery/WaaSUpdateInsights' + product: 'OMSGallery' publisher: 'Microsoft' } ] From 555b9eab1159b841e14705e57742941619f0df9a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 14:40:39 +0200 Subject: [PATCH 174/260] rke --- settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.json b/settings.json index 9198a0f7d0..6146e07c81 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "carml", + "value": "rke", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 27651f44a67e086e109943cba10426b720a89992 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 14:46:55 +0200 Subject: [PATCH 175/260] carml --- settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.json b/settings.json index 6146e07c81..9198a0f7d0 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "rke", + "value": "carml", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 07303eb10a26574811743b9cd80e258037a685bb Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 14:58:47 +0200 Subject: [PATCH 176/260] disabling telemetry --- arm/Microsoft.Automation/automationAccounts/deploy.bicep | 2 +- arm/Microsoft.OperationalInsights/workspaces/deploy.bicep | 2 +- settings.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arm/Microsoft.Automation/automationAccounts/deploy.bicep b/arm/Microsoft.Automation/automationAccounts/deploy.bicep index ac0f58bac8..dff2be6052 100644 --- a/arm/Microsoft.Automation/automationAccounts/deploy.bicep +++ b/arm/Microsoft.Automation/automationAccounts/deploy.bicep @@ -277,7 +277,7 @@ module automationAccount_solutions '../../Microsoft.OperationsManagement/solutio logAnalyticsWorkspaceName: last(split(linkedWorkspaceResourceId, '/')) product: contains(gallerySolution, 'product') ? gallerySolution.product : 'OMSGallery' publisher: contains(gallerySolution, 'publisher') ? gallerySolution.publisher : 'Microsoft' - enableDefaultTelemetry: enableDefaultTelemetry + enableDefaultTelemetry: enableChildTelemetry } // This is to support solution to law in different subscription and resource group than the automation account. // The current scope is used by default if no linked service is intended to be created. diff --git a/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep b/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep index 3777f50cfb..42b8ba6cc1 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep +++ b/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep @@ -243,7 +243,7 @@ module logAnalyticsWorkspace_solutions '../../Microsoft.OperationsManagement/sol logAnalyticsWorkspaceName: logAnalyticsWorkspace.name product: contains(gallerySolution, 'product') ? gallerySolution.product : 'OMSGallery' publisher: contains(gallerySolution, 'publisher') ? gallerySolution.publisher : 'Microsoft' - enableDefaultTelemetry: enableDefaultTelemetry + enableDefaultTelemetry: enableChildTelemetry } }] diff --git a/settings.json b/settings.json index 9198a0f7d0..6146e07c81 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "carml", + "value": "rke", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 20760e1b3f7f93599fa1fc85baddb3e146fa369b Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 15:22:50 +0200 Subject: [PATCH 177/260] gallery param --- .../automationAccounts/.parameters/parameters.json | 6 +++++- .../automationAccounts/readme.md | 12 ++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json b/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json index 7cd7405fd4..4b1dc95b56 100644 --- a/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json +++ b/arm/Microsoft.Automation/automationAccounts/.parameters/parameters.json @@ -84,7 +84,11 @@ }, "gallerySolutions": { "value": [ - "Updates" + { + "name": "Updates", + "product": "OMSGallery", + "publisher": "Microsoft" + } ] }, "softwareUpdateConfigurations": { diff --git a/arm/Microsoft.Automation/automationAccounts/readme.md b/arm/Microsoft.Automation/automationAccounts/readme.md index d5afbe6103..dedda461e6 100644 --- a/arm/Microsoft.Automation/automationAccounts/readme.md +++ b/arm/Microsoft.Automation/automationAccounts/readme.md @@ -538,7 +538,11 @@ module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bice }, "gallerySolutions": { "value": [ - "Updates" + { + "name": "Updates", + "product": "OMSGallery", + "publisher": "Microsoft" + } ] }, "softwareUpdateConfigurations": { @@ -725,7 +729,11 @@ module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bice ] linkedWorkspaceResourceId: '/subscriptions/<>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-<>-az-law-aut-001' gallerySolutions: [ - 'Updates' + { + name: 'Updates' + product: 'OMSGallery' + publisher: 'Microsoft' + } ] softwareUpdateConfigurations: [ { From 17b13cb399ea135c772486650ecd1e9ab29282ff Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 15:34:02 +0200 Subject: [PATCH 178/260] telemetry --- arm/Microsoft.Automation/automationAccounts/deploy.bicep | 4 ++-- settings.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arm/Microsoft.Automation/automationAccounts/deploy.bicep b/arm/Microsoft.Automation/automationAccounts/deploy.bicep index dff2be6052..a41e5c6888 100644 --- a/arm/Microsoft.Automation/automationAccounts/deploy.bicep +++ b/arm/Microsoft.Automation/automationAccounts/deploy.bicep @@ -260,7 +260,7 @@ module automationAccount_linkedService '../../Microsoft.OperationalInsights/work params: { name: 'automation' logAnalyticsWorkspaceName: last(split(linkedWorkspaceResourceId, '/')) - enableDefaultTelemetry: enableDefaultTelemetry + enableDefaultTelemetry: enableChildTelemetry resourceId: automationAccount.id tags: tags } @@ -365,7 +365,7 @@ module automationAccount_privateEndpoints '../../Microsoft.Network/privateEndpoi name: contains(privateEndpoint, 'name') ? privateEndpoint.name : 'pe-${last(split(automationAccount.id, '/'))}-${privateEndpoint.service}-${index}' serviceResourceId: automationAccount.id subnetResourceId: privateEndpoint.subnetResourceId - enableDefaultTelemetry: enableDefaultTelemetry + enableDefaultTelemetry: enableChildTelemetry location: reference(split(privateEndpoint.subnetResourceId, '/subnets/')[0], '2020-06-01', 'Full').location lock: contains(privateEndpoint, 'lock') ? privateEndpoint.lock : lock privateDnsZoneGroups: contains(privateEndpoint, 'privateDnsZoneGroups') ? privateEndpoint.privateDnsZoneGroups : [] diff --git a/settings.json b/settings.json index 6146e07c81..9198a0f7d0 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "rke", + "value": "carml", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 664742350cefd358c207e37279e67965dd7e73cf Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 15:50:31 +0200 Subject: [PATCH 179/260] readme note --- arm/Microsoft.OperationalInsights/workspaces/readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arm/Microsoft.OperationalInsights/workspaces/readme.md b/arm/Microsoft.OperationalInsights/workspaces/readme.md index 7fa1ff3952..c87fd0c3ff 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/readme.md +++ b/arm/Microsoft.OperationalInsights/workspaces/readme.md @@ -61,6 +61,12 @@ This template deploys a log analytics workspace. ### Parameter Usage: `gallerySolutions` +For Microsoft published gallery solutions: +- The `name` should be in the format of `solutionType(workspaceName)` +- The `product` should be in the format of `OMSGallery/{solutionType}`. + +This is handed over to the cross referenced `solution` module logic which will build the target name and product in the right format. +

Parameter JSON format From b2f5b57b3199bee8d34c8962732e619847058f10 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 20:06:06 +0200 Subject: [PATCH 180/260] enableReferencedModulesTelemetry --- arm/Microsoft.Automation/automationAccounts/deploy.bicep | 2 +- arm/Microsoft.OperationalInsights/workspaces/deploy.bicep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arm/Microsoft.Automation/automationAccounts/deploy.bicep b/arm/Microsoft.Automation/automationAccounts/deploy.bicep index 445fc28208..e9f0e43f90 100644 --- a/arm/Microsoft.Automation/automationAccounts/deploy.bicep +++ b/arm/Microsoft.Automation/automationAccounts/deploy.bicep @@ -277,7 +277,7 @@ module automationAccount_solutions '../../Microsoft.OperationsManagement/solutio logAnalyticsWorkspaceName: last(split(linkedWorkspaceResourceId, '/')) product: contains(gallerySolution, 'product') ? gallerySolution.product : 'OMSGallery' publisher: contains(gallerySolution, 'publisher') ? gallerySolution.publisher : 'Microsoft' - enableDefaultTelemetry: enableChildTelemetry + enableDefaultTelemetry: enableReferencedModulesTelemetry } // This is to support solution to law in different subscription and resource group than the automation account. // The current scope is used by default if no linked service is intended to be created. diff --git a/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep b/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep index e0073a66e6..6c4f19a79d 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep +++ b/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep @@ -243,7 +243,7 @@ module logAnalyticsWorkspace_solutions '../../Microsoft.OperationsManagement/sol logAnalyticsWorkspaceName: logAnalyticsWorkspace.name product: contains(gallerySolution, 'product') ? gallerySolution.product : 'OMSGallery' publisher: contains(gallerySolution, 'publisher') ? gallerySolution.publisher : 'Microsoft' - enableDefaultTelemetry: enableChildTelemetry + enableDefaultTelemetry: enableReferencedModulesTelemetry } }] From d80e5fb76b39a9a3bbe17564fa2170de16b96a6e Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 20:08:06 +0200 Subject: [PATCH 181/260] ado pipeline trigger --- .../modulePipelines/ms.operationsmanagement.solutions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml index 2a57dac61d..834ade46f9 100644 --- a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml +++ b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml @@ -20,7 +20,7 @@ trigger: paths: include: - '/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml' - - '/.azuredevops/pipelineTemplates/module.*.yml' + - '/.azuredevops/pipelineTemplates/*.yml' - '/arm/Microsoft.OperationsManagement/solutions/*' - '/arm/.global/global.module.tests.ps1' exclude: From 097577e5cea8b2c5c69b39c464ba4addc48998ea Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 20:47:41 +0200 Subject: [PATCH 182/260] ado pipeline min par --- .../modulePipelines/ms.operationsmanagement.solutions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml index 834ade46f9..fe230cfca9 100644 --- a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml +++ b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml @@ -45,6 +45,7 @@ stages: parameters: removeDeployment: '${{ parameters.removeDeployment }}' deploymentBlocks: + - path: $(modulePath)/.parameters/min.parameters.json - path: $(modulePath)/.parameters/parameters.json - stage: Publishing From e4b85e3767907611f42ea94520016a345bc9698f Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 20:53:59 +0200 Subject: [PATCH 183/260] third party --- arm/Microsoft.OperationsManagement/solutions/deploy.bicep | 6 ++++-- settings.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep index 6a810b2fb2..69ac620137 100644 --- a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep +++ b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep @@ -32,7 +32,9 @@ resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08 name: logAnalyticsWorkspaceName } -var solutionName = '${name}(${logAnalyticsWorkspace.name})' +var solutionName = publisher == 'Microsoft' ? '${name}(${logAnalyticsWorkspace.name})' : name + +var solutionProduct = publisher == 'Microsoft' ? 'OMSGallery/${name}' : product resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' = { name: solutionName @@ -43,7 +45,7 @@ resource solution 'Microsoft.OperationsManagement/solutions@2015-11-01-preview' plan: { name: solutionName promotionCode: '' - product: '${product}/${name}' + product: solutionProduct publisher: publisher } } diff --git a/settings.json b/settings.json index 9198a0f7d0..6146e07c81 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "carml", + "value": "rke", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From cf2a042be8bf13d477ded02bb98a5a0ce3002406 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 20:55:02 +0200 Subject: [PATCH 184/260] third party param --- .../solutions/.parameters/test.parameters.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arm/Microsoft.OperationsManagement/solutions/.parameters/test.parameters.json diff --git a/arm/Microsoft.OperationsManagement/solutions/.parameters/test.parameters.json b/arm/Microsoft.OperationsManagement/solutions/.parameters/test.parameters.json new file mode 100644 index 0000000000..05ebfd457b --- /dev/null +++ b/arm/Microsoft.OperationsManagement/solutions/.parameters/test.parameters.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "value": "Test" + }, + "logAnalyticsWorkspaceName": { + "value": "adp-<>-az-law-sol-001" + }, + "product": { + "value": "testProduct" + }, + "publisher": { + "value": "testPublisher" + } + } +} From 676fe523f822269300176d4ade96f462f390772b Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 20:57:38 +0200 Subject: [PATCH 185/260] disable test --- .github/workflows/ms.operationsmanagement.solutions.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index db74fec086..be58dc9621 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -72,10 +72,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' + # - name: 'Run tests' + # uses: ./.github/actions/templates/validateModulePester + # with: + # modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # From 0dd6f95b66028c3b4bd0567f4894eec33c3b0d70 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 21:18:27 +0200 Subject: [PATCH 186/260] test third party --- .../ms.operationsmanagement.solutions.yml | 1 + .../ms.operationsmanagement.solutions.yml | 8 +-- ....parameters.json => nonms.parameters.json} | 6 +-- .../solutions/deploy.bicep | 6 +-- .../solutions/readme.md | 54 +++++++++++++++++-- 5 files changed, 62 insertions(+), 13 deletions(-) rename arm/Microsoft.OperationsManagement/solutions/.parameters/{test.parameters.json => nonms.parameters.json} (72%) diff --git a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml index fe230cfca9..5dc2588d47 100644 --- a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml +++ b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml @@ -46,6 +46,7 @@ stages: removeDeployment: '${{ parameters.removeDeployment }}' deploymentBlocks: - path: $(modulePath)/.parameters/min.parameters.json + - path: $(modulePath)/.parameters/nonms.parameters.json - path: $(modulePath)/.parameters/parameters.json - stage: Publishing diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index be58dc9621..db74fec086 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -72,10 +72,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: 'Run tests' - # uses: ./.github/actions/templates/validateModulePester - # with: - # modulePath: '${{ env.modulePath }}' + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # diff --git a/arm/Microsoft.OperationsManagement/solutions/.parameters/test.parameters.json b/arm/Microsoft.OperationsManagement/solutions/.parameters/nonms.parameters.json similarity index 72% rename from arm/Microsoft.OperationsManagement/solutions/.parameters/test.parameters.json rename to arm/Microsoft.OperationsManagement/solutions/.parameters/nonms.parameters.json index 05ebfd457b..a040bf8d2f 100644 --- a/arm/Microsoft.OperationsManagement/solutions/.parameters/test.parameters.json +++ b/arm/Microsoft.OperationsManagement/solutions/.parameters/nonms.parameters.json @@ -3,16 +3,16 @@ "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "Test" + "value": "nonmsTestSolution" }, "logAnalyticsWorkspaceName": { "value": "adp-<>-az-law-sol-001" }, "product": { - "value": "testProduct" + "value": "nonmsTestSolutionProduct" }, "publisher": { - "value": "testPublisher" + "value": "nonmsTestSolutionPublisher" } } } diff --git a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep index 69ac620137..3438041ddd 100644 --- a/arm/Microsoft.OperationsManagement/solutions/deploy.bicep +++ b/arm/Microsoft.OperationsManagement/solutions/deploy.bicep @@ -1,4 +1,4 @@ -@description('Required. Name of the solution.') +@description('Required. Name of the solution. For Microsoft published gallery solution the target solution resource name will be composed as `{name}({logAnalyticsWorkspaceName})`.') param name string @description('Required. Name of the Log Analytics workspace where the solution will be deployed/enabled.') @@ -7,10 +7,10 @@ param logAnalyticsWorkspaceName string @description('Optional. Location for all resources.') param location string = resourceGroup().location -@description('Optional. The product of the deployed solution. For Microsoft published gallery solution it should be OMSGallery. This is case sensitive.') +@description('Optional. The product of the deployed solution. For Microsoft published gallery solution it should be `OMSGallery` and the target solution resource product will be composed as `OMSGallery/{name}`. For third party solution, it can be anything. This is case sensitive.') param product string = 'OMSGallery' -@description('Optional. The publisher name of the deployed solution. For gallery solution, it is Microsoft.') +@description('Optional. The publisher name of the deployed solution. For Microsoft published gallery solution, it is `Microsoft`.') param publisher string = 'Microsoft' @description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') diff --git a/arm/Microsoft.OperationsManagement/solutions/readme.md b/arm/Microsoft.OperationsManagement/solutions/readme.md index e811889681..9ab3a6f332 100644 --- a/arm/Microsoft.OperationsManagement/solutions/readme.md +++ b/arm/Microsoft.OperationsManagement/solutions/readme.md @@ -21,15 +21,15 @@ This module deploys OperationsManagement Solutions. | Parameter Name | Type | Description | | :-- | :-- | :-- | | `logAnalyticsWorkspaceName` | string | Name of the Log Analytics workspace where the solution will be deployed/enabled. | -| `name` | string | Name of the solution. | +| `name` | string | Name of the solution. For Microsoft published gallery solution the target solution resource name will be composed as `{name}({logAnalyticsWorkspaceName})`. | **Optional parameters** | Parameter Name | Type | Default Value | Description | | :-- | :-- | :-- | :-- | | `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | | `location` | string | `[resourceGroup().location]` | Location for all resources. | -| `product` | string | `'OMSGallery'` | The product of the deployed solution. For Microsoft published gallery solution it should be OMSGallery. This is case sensitive. | -| `publisher` | string | `'Microsoft'` | The publisher name of the deployed solution. For gallery solution, it is Microsoft. | +| `product` | string | `'OMSGallery'` | The product of the deployed solution. For Microsoft published gallery solution it should be `OMSGallery` and the target solution resource product will be composed as `OMSGallery/{name}`. For third party solution, it can be anything. This is case sensitive. | +| `publisher` | string | `'Microsoft'` | The publisher name of the deployed solution. For Microsoft published gallery solution, it is `Microsoft`. | ## Outputs @@ -89,6 +89,54 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { via JSON Parameter file +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "value": "nonmsTestSolution" + }, + "logAnalyticsWorkspaceName": { + "value": "adp-<>-az-law-sol-001" + }, + "product": { + "value": "nonmsTestSolutionProduct" + }, + "publisher": { + "value": "nonmsTestSolutionPublisher" + } + } +} + +``` + +
+ +
+ +via Bicep module + +```bicep +module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { + name: '${uniqueString(deployment().name)}-solutions' + params: { + name: 'nonmsTestSolution' + logAnalyticsWorkspaceName: 'adp-<>-az-law-sol-001' + product: 'nonmsTestSolutionProduct' + publisher: 'nonmsTestSolutionPublisher' + } +``` + +
+

+ +

Example 3

+ +
+ +via JSON Parameter file + ```json { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", From d13455134cc5d48328a8fcd1af2b1601b082e011 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 21:23:49 +0200 Subject: [PATCH 187/260] workspace readme --- arm/Microsoft.OperationalInsights/workspaces/readme.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arm/Microsoft.OperationalInsights/workspaces/readme.md b/arm/Microsoft.OperationalInsights/workspaces/readme.md index c87fd0c3ff..ca794e10bd 100644 --- a/arm/Microsoft.OperationalInsights/workspaces/readme.md +++ b/arm/Microsoft.OperationalInsights/workspaces/readme.md @@ -61,11 +61,7 @@ This template deploys a log analytics workspace. ### Parameter Usage: `gallerySolutions` -For Microsoft published gallery solutions: -- The `name` should be in the format of `solutionType(workspaceName)` -- The `product` should be in the format of `OMSGallery/{solutionType}`. - -This is handed over to the cross referenced `solution` module logic which will build the target name and product in the right format. +Ref cross-referenced _[solutions](../../Microsoft.OperationsManagement/solutions/readme.md)_
From bec0582f43902ee19634abc23578b87922d1a8c7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Wed, 8 Jun 2022 21:25:36 +0200 Subject: [PATCH 188/260] carml --- settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.json b/settings.json index 6146e07c81..9198a0f7d0 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "rke", + "value": "carml", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From c2526cbb56202b43e867d2a44361968393d3c9f7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Jun 2022 09:50:03 +0200 Subject: [PATCH 189/260] rke --- .../modulePipelines/ms.operationsmanagement.solutions.yml | 2 +- .../.parameters/{parameters.json => ms.parameters.json} | 0 settings.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename arm/Microsoft.OperationsManagement/solutions/.parameters/{parameters.json => ms.parameters.json} (100%) diff --git a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml index 5dc2588d47..483f0184d5 100644 --- a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml +++ b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml @@ -47,7 +47,7 @@ stages: deploymentBlocks: - path: $(modulePath)/.parameters/min.parameters.json - path: $(modulePath)/.parameters/nonms.parameters.json - - path: $(modulePath)/.parameters/parameters.json + - path: $(modulePath)/.parameters/ms.parameters.json - stage: Publishing displayName: Publishing diff --git a/arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json b/arm/Microsoft.OperationsManagement/solutions/.parameters/ms.parameters.json similarity index 100% rename from arm/Microsoft.OperationsManagement/solutions/.parameters/parameters.json rename to arm/Microsoft.OperationsManagement/solutions/.parameters/ms.parameters.json diff --git a/settings.json b/settings.json index 9198a0f7d0..6146e07c81 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "carml", + "value": "rke", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From fe38662c2eace2d586d73fedcc691967edd6ded2 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Jun 2022 09:56:10 +0200 Subject: [PATCH 190/260] acr --- global.variables.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global.variables.yml b/global.variables.yml index 7fed8d13f9..2897f2078e 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to From 2ba6715efdd93a8d3761fa32296d6e705e014885 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Jun 2022 10:17:17 +0200 Subject: [PATCH 191/260] readme --- .../solutions/readme.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arm/Microsoft.OperationsManagement/solutions/readme.md b/arm/Microsoft.OperationsManagement/solutions/readme.md index 9ab3a6f332..421b0fcfc8 100644 --- a/arm/Microsoft.OperationsManagement/solutions/readme.md +++ b/arm/Microsoft.OperationsManagement/solutions/readme.md @@ -95,16 +95,16 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "nonmsTestSolution" + "value": "AzureAutomation" }, "logAnalyticsWorkspaceName": { "value": "adp-<>-az-law-sol-001" }, "product": { - "value": "nonmsTestSolutionProduct" + "value": "OMSGallery" }, "publisher": { - "value": "nonmsTestSolutionPublisher" + "value": "Microsoft" } } } @@ -121,10 +121,10 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { name: '${uniqueString(deployment().name)}-solutions' params: { - name: 'nonmsTestSolution' + name: 'AzureAutomation' logAnalyticsWorkspaceName: 'adp-<>-az-law-sol-001' - product: 'nonmsTestSolutionProduct' - publisher: 'nonmsTestSolutionPublisher' + product: 'OMSGallery' + publisher: 'Microsoft' } ``` @@ -143,16 +143,16 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { "contentVersion": "1.0.0.0", "parameters": { "name": { - "value": "AzureAutomation" + "value": "nonmsTestSolution" }, "logAnalyticsWorkspaceName": { "value": "adp-<>-az-law-sol-001" }, "product": { - "value": "OMSGallery" + "value": "nonmsTestSolutionProduct" }, "publisher": { - "value": "Microsoft" + "value": "nonmsTestSolutionPublisher" } } } @@ -169,10 +169,10 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { name: '${uniqueString(deployment().name)}-solutions' params: { - name: 'AzureAutomation' + name: 'nonmsTestSolution' logAnalyticsWorkspaceName: 'adp-<>-az-law-sol-001' - product: 'OMSGallery' - publisher: 'Microsoft' + product: 'nonmsTestSolutionProduct' + publisher: 'nonmsTestSolutionPublisher' } ``` From 55dd628932fd77dd15f99abbba455a207f14224d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Jun 2022 11:01:57 +0200 Subject: [PATCH 192/260] carml --- global.variables.yml | 2 +- settings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/global.variables.yml b/global.variables.yml index 2897f2078e..7fed8d13f9 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/settings.json b/settings.json index 6146e07c81..9198a0f7d0 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "rke", + "value": "carml", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From ea2541328b737db5c7da06b3103f903fb799dbc3 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 16 Jun 2022 19:31:49 +0200 Subject: [PATCH 193/260] lock 0.1 --- .github/workflows/ms.authorization.locks.yml | 145 ++++++++++++++++++ .../locks/.parameters/parameters.json | 9 ++ .../locks/deploy.bicep | 48 ++++++ arm/Microsoft.Authorization/locks/readme.md | 80 ++++++++++ .../locks/resourceGroup/deploy.bicep | 41 +++++ .../locks/resourceGroup/readme.md | 0 .../locks/resourceGroup/version.json | 4 + .../locks/version.json | 4 + 8 files changed, 331 insertions(+) create mode 100644 .github/workflows/ms.authorization.locks.yml create mode 100644 arm/Microsoft.Authorization/locks/.parameters/parameters.json create mode 100644 arm/Microsoft.Authorization/locks/deploy.bicep create mode 100644 arm/Microsoft.Authorization/locks/readme.md create mode 100644 arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep create mode 100644 arm/Microsoft.Authorization/locks/resourceGroup/readme.md create mode 100644 arm/Microsoft.Authorization/locks/resourceGroup/version.json create mode 100644 arm/Microsoft.Authorization/locks/version.json diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml new file mode 100644 index 0000000000..49c6070b64 --- /dev/null +++ b/.github/workflows/ms.authorization.locks.yml @@ -0,0 +1,145 @@ +name: 'Authorization: Locks' + +on: + workflow_dispatch: + inputs: + removeDeployment: + type: boolean + description: 'Remove deployed module' + required: false + default: true + prerelease: + type: boolean + description: 'Publish prerelease module' + required: false + default: false + push: + branches: + - main + paths: + - '.github/actions/templates/**' + - '.github/workflows/ms.authorization.locks.yml' + - 'arm/Microsoft.Authorization/locks/**' + - 'arm/.global/global.module.tests.ps1' + - '!*/**/readme.md' + - 'utilities/pipelines/**' + - '!utilities/pipelines/dependencies/**' + +env: + variablesPath: 'global.variables.yml' + modulePath: 'arm/Microsoft.Authorization/locks' + workflowPath: '.github/workflows/ms.authorization.locks.yml' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + +jobs: + ########################### + # Initialize pipeline # + ########################### + job_initialize_pipeline: + runs-on: ubuntu-20.04 + name: 'Initialize pipeline' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Set input parameters to output variables' + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + - name: 'Get parameter file paths' + id: get-parameter-file-paths + uses: ./.github/actions/templates/getParameterFiles + with: + modulePath: '${{ env.modulePath }}' + outputs: + removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + + ######################### + # Static validation # + ######################### + job_module_pester_validation: + runs-on: ubuntu-20.04 + name: 'Static validation' + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' + + ############################# + # Deployment validation # + ############################# + job_module_deploy_validation: + runs-on: ubuntu-20.04 + name: 'Deployment validation' + needs: + - job_initialize_pipeline + - job_module_pester_validation + strategy: + fail-fast: false + matrix: + parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} + # ------------------- # + ## Deploy & Remove ## + # ------------------- # + - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + location: '${{ env.location }}' + resourceGroupName: '${{ env.resourceGroupName }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + + ################## + # Publishing # + ################## + job_publish_module: + name: 'Publishing' + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' + runs-on: ubuntu-20.04 + needs: + - job_module_deploy_validation + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} + - name: 'Publishing' + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ env.modulePath }}/deploy.bicep' + templateSpecsRGName: '${{ env.templateSpecsRGName }}' + templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' + templateSpecsDescription: '${{ env.templateSpecsDescription }}' + templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' + bicepRegistryName: '${{ env.bicepRegistryName }}' + bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' + bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' + bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' diff --git a/arm/Microsoft.Authorization/locks/.parameters/parameters.json b/arm/Microsoft.Authorization/locks/.parameters/parameters.json new file mode 100644 index 0000000000..978c6963b7 --- /dev/null +++ b/arm/Microsoft.Authorization/locks/.parameters/parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "level": { + "value": "CanNotDelete" + } + } +} diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep new file mode 100644 index 0000000000..a6becf200f --- /dev/null +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -0,0 +1,48 @@ +@allowed([ + 'CanNotDelete' + 'ReadOnly' +]) +@description('Required. Set lock level.') +param level string + +@description('Optional. The decription attached to the lock.') +param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' + +@sys.description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +param enableDefaultTelemetry bool = true + +@sys.description('Optional. Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group.') +param resourceGroupName string = '' + +@sys.description('Optional. Subscription ID of the subscription to assign the lock to.') +param subscriptionId string = '' + +var enableReferencedModulesTelemetry = false + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(resourceGroupName) && !empty(subscriptionId)) { + name: '${uniqueString(deployment().name)}-Lock-RG-Module' + scope: resourceGroup(subscriptionId, resourceGroupName) + params: { + level: level + notes: notes + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +} + +@sys.description('The GUID of the Role Assignment.') +output name string = lock_rg.outputs.name + +@sys.description('The resource ID of the Role Assignment.') +output resourceId string = lock_rg.outputs.resourceId diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md new file mode 100644 index 0000000000..3ebf52e174 --- /dev/null +++ b/arm/Microsoft.Authorization/locks/readme.md @@ -0,0 +1,80 @@ +# Authorization Locks `[Microsoft.Authorization/locks]` + +This module deploys Authorization Locks. +// TODO: Replace Resource and fill in description + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Deployment examples](#Deployment-examples) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.Authorization/locks` | [2017-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2017-04-01/locks) | + +## Parameters + +**Required parameters** +| Parameter Name | Type | Allowed Values | Description | +| :-- | :-- | :-- | :-- | +| `level` | string | `[CanNotDelete, ReadOnly]` | Set lock level. | + +**Optional parameters** +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | +| `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | + + +### Parameter Usage: `` + +// TODO: Fill in Parameter usage + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the lock. | +| `resourceId` | string | The resource ID of the lock. | + +## Deployment examples + +

Example 1

+ +
+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "level": { + "value": "CanNotDelete" + } + } +} + +``` + +
+ +
+ +via Bicep module + +```bicep +module locks './Microsoft.Authorization/locks/deploy.bicep' = { + name: '${uniqueString(deployment().name)}-locks' + params: { + level: 'CanNotDelete' + } +``` + +
+

diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep b/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep new file mode 100644 index 0000000000..11385357d3 --- /dev/null +++ b/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep @@ -0,0 +1,41 @@ +@description('Optional. The name of the lock.') +param name string = '${level}-lock' + +@allowed([ + 'CanNotDelete' + 'ReadOnly' +]) +@description('Required. Set lock level.') +param level string + +@description('Optional. The decription attached to the lock.') +param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' + +@sys.description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +param enableDefaultTelemetry bool = true + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +resource lock 'Microsoft.Authorization/locks@2017-04-01' = { + name: name + properties: { + level: level + notes: notes + } +} + +@description('The resource ID of the lock.') +output resourceId string = lock.id + +@description('The name of the lock.') +output name string = lock.name diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/readme.md b/arm/Microsoft.Authorization/locks/resourceGroup/readme.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/version.json b/arm/Microsoft.Authorization/locks/resourceGroup/version.json new file mode 100644 index 0000000000..56f8d9ca40 --- /dev/null +++ b/arm/Microsoft.Authorization/locks/resourceGroup/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.4" +} diff --git a/arm/Microsoft.Authorization/locks/version.json b/arm/Microsoft.Authorization/locks/version.json new file mode 100644 index 0000000000..41f66cc990 --- /dev/null +++ b/arm/Microsoft.Authorization/locks/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.1" +} From ca0fdad19e98832a080c809262c9dcf817c05354 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 16 Jun 2022 19:41:13 +0200 Subject: [PATCH 194/260] rke --- .../.parameters/{parameters.json => rg.parameters.json} | 6 ++++++ settings.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) rename arm/Microsoft.Authorization/locks/.parameters/{parameters.json => rg.parameters.json} (59%) diff --git a/arm/Microsoft.Authorization/locks/.parameters/parameters.json b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json similarity index 59% rename from arm/Microsoft.Authorization/locks/.parameters/parameters.json rename to arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json index 978c6963b7..f5705f1801 100644 --- a/arm/Microsoft.Authorization/locks/.parameters/parameters.json +++ b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json @@ -4,6 +4,12 @@ "parameters": { "level": { "value": "CanNotDelete" + }, + "resourceGroupName": { + "value": "testrg03" + }, + "subscriptionId": { + "value": "<>" } } } diff --git a/settings.json b/settings.json index 9198a0f7d0..6146e07c81 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "carml", + "value": "rke", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From aea153f62ae95e09255fb25326ac3dc870b9b4de Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 16 Jun 2022 19:45:08 +0200 Subject: [PATCH 195/260] skip pester --- .github/workflows/ms.authorization.locks.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 49c6070b64..08cf3a5abe 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -72,10 +72,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' + # - name: 'Run tests' + # uses: ./.github/actions/templates/validateModulePester + # with: + # modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # From 24dad16dd3569f613c03fb3e9626c4c05bebf5d5 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 12:22:37 +0200 Subject: [PATCH 196/260] testrg02 --- .../locks/.parameters/rg.parameters.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json index f5705f1801..68eeef21ee 100644 --- a/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json +++ b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json @@ -6,7 +6,7 @@ "value": "CanNotDelete" }, "resourceGroupName": { - "value": "testrg03" + "value": "testrg02" }, "subscriptionId": { "value": "<>" From 30dc763607b36cb395faf5933b01662574d3af33 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 12:31:01 +0200 Subject: [PATCH 197/260] test from rg module --- arm/Microsoft.Resources/resourceGroups/deploy.bicep | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arm/Microsoft.Resources/resourceGroups/deploy.bicep b/arm/Microsoft.Resources/resourceGroups/deploy.bicep index d833f6e1cc..e32c1d3529 100644 --- a/arm/Microsoft.Resources/resourceGroups/deploy.bicep +++ b/arm/Microsoft.Resources/resourceGroups/deploy.bicep @@ -43,7 +43,8 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2019-05-01' = { properties: {} } -module resourceGroup_lock '.bicep/nested_lock.bicep' = if (!empty(lock)) { +// module resourceGroup_lock '.bicep/nested_lock.bicep' = if (!empty(lock)) { +module resourceGroup_lock '../../Microsoft.Authorization/locks/resourceGroup/deploy.bicep' = if (!empty(lock)) { name: '${uniqueString(deployment().name, location)}-${lock}-Lock' params: { level: any(lock) From 664dd38f1994732fa081c115c6032e4492d45d91 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 13:12:36 +0200 Subject: [PATCH 198/260] publish --- .../locks/.parameters/rg.parameters.json | 2 +- arm/Microsoft.Authorization/locks/deploy.bicep | 10 +++++----- .../locks/resourceGroup/deploy.bicep | 9 ++++++--- global.variables.yml | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json index 68eeef21ee..5c8156186b 100644 --- a/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json +++ b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json @@ -6,7 +6,7 @@ "value": "CanNotDelete" }, "resourceGroupName": { - "value": "testrg02" + "value": "validation-rg" }, "subscriptionId": { "value": "<>" diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep index a6becf200f..847b1e24a9 100644 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -8,13 +8,13 @@ param level string @description('Optional. The decription attached to the lock.') param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' -@sys.description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') param enableDefaultTelemetry bool = true -@sys.description('Optional. Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group.') +@description('Optional. Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group.') param resourceGroupName string = '' -@sys.description('Optional. Subscription ID of the subscription to assign the lock to.') +@description('Optional. Subscription ID of the subscription to assign the lock to.') param subscriptionId string = '' var enableReferencedModulesTelemetry = false @@ -41,8 +41,8 @@ module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(resourceGroupName) && ! } } -@sys.description('The GUID of the Role Assignment.') +@description('The name of the lock.') output name string = lock_rg.outputs.name -@sys.description('The resource ID of the Role Assignment.') +@description('The resource ID of the lock.') output resourceId string = lock_rg.outputs.resourceId diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep b/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep index 11385357d3..a5a8a23866 100644 --- a/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep @@ -11,7 +11,7 @@ param level string @description('Optional. The decription attached to the lock.') param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' -@sys.description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') param enableDefaultTelemetry bool = true resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { @@ -34,8 +34,11 @@ resource lock 'Microsoft.Authorization/locks@2017-04-01' = { } } +@description('The name of the lock.') +output name string = lock.name + @description('The resource ID of the lock.') output resourceId string = lock.id -@description('The name of the lock.') -output name string = lock.name +@description('The name of the resource group the lock was applied to.') +output resourceGroupName string = resourceGroup().name diff --git a/global.variables.yml b/global.variables.yml index 7fed8d13f9..2897f2078e 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to From 0c2c36c7563d73448cb8b8d334996d3eea9205df Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 13:15:59 +0200 Subject: [PATCH 199/260] validation --- .github/workflows/ms.authorization.locks.yml | 8 ++-- arm/Microsoft.Authorization/locks/readme.md | 18 +++++---- .../locks/resourceGroup/readme.md | 37 +++++++++++++++++++ 3 files changed, 52 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 08cf3a5abe..49c6070b64 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -72,10 +72,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - # - name: 'Run tests' - # uses: ./.github/actions/templates/validateModulePester - # with: - # modulePath: '${{ env.modulePath }}' + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ env.modulePath }}' ############################# # Deployment validation # diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md index 3ebf52e174..82d9b0c864 100644 --- a/arm/Microsoft.Authorization/locks/readme.md +++ b/arm/Microsoft.Authorization/locks/readme.md @@ -1,7 +1,6 @@ # Authorization Locks `[Microsoft.Authorization/locks]` This module deploys Authorization Locks. -// TODO: Replace Resource and fill in description ## Navigation @@ -26,13 +25,10 @@ This module deploys Authorization Locks. **Optional parameters** | Parameter Name | Type | Default Value | Description | | :-- | :-- | :-- | :-- | -| `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | | `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | - - -### Parameter Usage: `` - -// TODO: Fill in Parameter usage +| `resourceGroupName` | string | `''` | Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group. | +| `subscriptionId` | string | `''` | Subscription ID of the subscription to assign the lock to. | ## Outputs @@ -56,6 +52,12 @@ This module deploys Authorization Locks. "parameters": { "level": { "value": "CanNotDelete" + }, + "resourceGroupName": { + "value": "validation-rg" + }, + "subscriptionId": { + "value": "<>" } } } @@ -73,6 +75,8 @@ module locks './Microsoft.Authorization/locks/deploy.bicep' = { name: '${uniqueString(deployment().name)}-locks' params: { level: 'CanNotDelete' + resourceGroupName: 'validation-rg' + subscriptionId: '<>' } ``` diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/readme.md b/arm/Microsoft.Authorization/locks/resourceGroup/readme.md index e69de29bb2..b0c71484a8 100644 --- a/arm/Microsoft.Authorization/locks/resourceGroup/readme.md +++ b/arm/Microsoft.Authorization/locks/resourceGroup/readme.md @@ -0,0 +1,37 @@ +# Authorization Locks on Resource Group level `[Microsoft.Authorization/locks/resourceGroup]` + +This module deploys Authorization Locks on Resource Group level. + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.Authorization/locks` | [2017-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2017-04-01/locks) | + +## Parameters + +**Required parameters** +| Parameter Name | Type | Allowed Values | Description | +| :-- | :-- | :-- | :-- | +| `level` | string | `[CanNotDelete, ReadOnly]` | Set lock level. | + +**Optional parameters** +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | +| `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | +| `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the lock. | +| `resourceGroupName` | string | The name of the resource group the lock was applied to. | +| `resourceId` | string | The resource ID of the lock. | From 2ca53d678dea53132bf7d2df04bf5b2234eab295 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 13:21:00 +0200 Subject: [PATCH 200/260] validation new line --- arm/Microsoft.Authorization/locks/readme.md | 1 + arm/Microsoft.Authorization/locks/resourceGroup/readme.md | 1 + 2 files changed, 2 insertions(+) diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md index 82d9b0c864..3afed3df7b 100644 --- a/arm/Microsoft.Authorization/locks/readme.md +++ b/arm/Microsoft.Authorization/locks/readme.md @@ -30,6 +30,7 @@ This module deploys Authorization Locks. | `resourceGroupName` | string | `''` | Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group. | | `subscriptionId` | string | `''` | Subscription ID of the subscription to assign the lock to. | + ## Outputs | Output Name | Type | Description | diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/readme.md b/arm/Microsoft.Authorization/locks/resourceGroup/readme.md index b0c71484a8..c1e4e67f62 100644 --- a/arm/Microsoft.Authorization/locks/resourceGroup/readme.md +++ b/arm/Microsoft.Authorization/locks/resourceGroup/readme.md @@ -28,6 +28,7 @@ This module deploys Authorization Locks on Resource Group level. | `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | | `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | + ## Outputs | Output Name | Type | Description | From 67154362bf1adaf6680f1f796d027e7fbffb53bd Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 13:26:13 +0200 Subject: [PATCH 201/260] ado --- .../ms.authorization.locks.yml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .azuredevops/modulePipelines/ms.authorization.locks.yml diff --git a/.azuredevops/modulePipelines/ms.authorization.locks.yml b/.azuredevops/modulePipelines/ms.authorization.locks.yml new file mode 100644 index 0000000000..796262ea91 --- /dev/null +++ b/.azuredevops/modulePipelines/ms.authorization.locks.yml @@ -0,0 +1,55 @@ +name: 'Authorization - Locks' + +parameters: + - name: removeDeployment + displayName: Remove deployed module + type: boolean + default: true + - name: prerelease + displayName: Publish prerelease module + type: boolean + default: false + +pr: none + +trigger: + batch: true + branches: + include: + - main + paths: + include: + - '/.azuredevops/modulePipelines/ms.authorization.locks.yml' + - '/.azuredevops/pipelineTemplates/*.yml' + - '/arm/Microsoft.Authorization/locks/*' + - '/arm/.global/global.module.tests.ps1' + exclude: + - '/**/*.md' + +variables: + - template: '../../global.variables.yml' + - group: 'PLATFORM_VARIABLES' + - name: modulePath + value: '/arm/Microsoft.Authorization/locks' + +stages: + - stage: Validation + displayName: Static validation + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml + + - stage: Deployment + displayName: Deployment validation + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + deploymentBlocks: + - path: $(modulePath)/.parameters/rg.parameters.json + templateFilePath: $(modulePath)/deploy.bicep + + - stage: Publishing + displayName: Publishing + condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml From 424c684ae3308b58f72604d0f88a9bc2feded1a5 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 13:30:05 +0200 Subject: [PATCH 202/260] scope --- arm/Microsoft.Authorization/locks/deploy.bicep | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep index 847b1e24a9..cdbc8c0edf 100644 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -1,3 +1,5 @@ +targetScope = 'subscription' + @allowed([ 'CanNotDelete' 'ReadOnly' From 7d504f341c4989a889b82cbd3eeccd040819a7d5 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 14:47:20 +0200 Subject: [PATCH 203/260] location --- arm/Microsoft.Authorization/locks/deploy.bicep | 8 ++++++-- arm/Microsoft.Authorization/locks/readme.md | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep index cdbc8c0edf..7f0014306d 100644 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -19,10 +19,14 @@ param resourceGroupName string = '' @description('Optional. Subscription ID of the subscription to assign the lock to.') param subscriptionId string = '' +@sys.description('Optional. Location for all resources.') +param location string = deployment().location + var enableReferencedModulesTelemetry = false resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { - name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name, location)}' + location: location properties: { mode: 'Incremental' template: { @@ -34,7 +38,7 @@ resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (ena } module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(resourceGroupName) && !empty(subscriptionId)) { - name: '${uniqueString(deployment().name)}-Lock-RG-Module' + name: '${uniqueString(deployment().name, location)}-Lock-RG-Module' scope: resourceGroup(subscriptionId, resourceGroupName) params: { level: level diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md index 3afed3df7b..db45879b04 100644 --- a/arm/Microsoft.Authorization/locks/readme.md +++ b/arm/Microsoft.Authorization/locks/readme.md @@ -26,6 +26,7 @@ This module deploys Authorization Locks. | Parameter Name | Type | Default Value | Description | | :-- | :-- | :-- | :-- | | `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | +| `location` | string | `[deployment().location]` | Location for all resources. | | `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | | `resourceGroupName` | string | `''` | Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group. | | `subscriptionId` | string | `''` | Subscription ID of the subscription to assign the lock to. | From f6aca2a3c76bcfb283a832e37c6b7984a66f60a7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 17:05:33 +0200 Subject: [PATCH 204/260] update lock name --- .../locks/deploy.bicep | 1 + .../locks/resourceGroup/version.json | 2 +- .../resourceGroups/.bicep/nested_lock.bicep | 26 ------------------- .../resourceGroups/deploy.bicep | 1 - 4 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 arm/Microsoft.Resources/resourceGroups/.bicep/nested_lock.bicep diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep index 7f0014306d..b6a096aa7b 100644 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -41,6 +41,7 @@ module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(resourceGroupName) && ! name: '${uniqueString(deployment().name, location)}-Lock-RG-Module' scope: resourceGroup(subscriptionId, resourceGroupName) params: { + name: '${resourceGroupName}-${level}-lock' level: level notes: notes enableDefaultTelemetry: enableReferencedModulesTelemetry diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/version.json b/arm/Microsoft.Authorization/locks/resourceGroup/version.json index 56f8d9ca40..41f66cc990 100644 --- a/arm/Microsoft.Authorization/locks/resourceGroup/version.json +++ b/arm/Microsoft.Authorization/locks/resourceGroup/version.json @@ -1,4 +1,4 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.4" + "version": "0.1" } diff --git a/arm/Microsoft.Resources/resourceGroups/.bicep/nested_lock.bicep b/arm/Microsoft.Resources/resourceGroups/.bicep/nested_lock.bicep deleted file mode 100644 index 96d0f4c23b..0000000000 --- a/arm/Microsoft.Resources/resourceGroups/.bicep/nested_lock.bicep +++ /dev/null @@ -1,26 +0,0 @@ -@description('Optional. The name of the lock.') -param name string = '${level}-lock' - -@allowed([ - 'CanNotDelete' - 'ReadOnly' -]) -@description('Required. Set lock level.') -param level string - -@description('Optional. The decription attached to the lock.') -param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' - -resource lock 'Microsoft.Authorization/locks@2017-04-01' = { - name: name - properties: { - level: level - notes: notes - } -} - -@description('The resource ID of the lock.') -output resourceId string = lock.id - -@description('The name of the lock.') -output name string = lock.name diff --git a/arm/Microsoft.Resources/resourceGroups/deploy.bicep b/arm/Microsoft.Resources/resourceGroups/deploy.bicep index e32c1d3529..e5f23ab7e8 100644 --- a/arm/Microsoft.Resources/resourceGroups/deploy.bicep +++ b/arm/Microsoft.Resources/resourceGroups/deploy.bicep @@ -43,7 +43,6 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2019-05-01' = { properties: {} } -// module resourceGroup_lock '.bicep/nested_lock.bicep' = if (!empty(lock)) { module resourceGroup_lock '../../Microsoft.Authorization/locks/resourceGroup/deploy.bicep' = if (!empty(lock)) { name: '${uniqueString(deployment().name, location)}-${lock}-Lock' params: { From 41ce2e09e8d75c661550830d5620b541072a4ffe Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 17:51:08 +0200 Subject: [PATCH 205/260] carml --- global.variables.yml | 2 +- settings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/global.variables.yml b/global.variables.yml index 2897f2078e..7fed8d13f9 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/settings.json b/settings.json index 6146e07c81..9198a0f7d0 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "rke", + "value": "carml", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 8ddab8a8a80caa4e3622fc8d6a478513852b1d19 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 19:35:35 +0200 Subject: [PATCH 206/260] lock rg dependencies --- .azuredevops/platformPipelines/platform.dependencies.yml | 3 +++ .github/workflows/platform.dependencies.yml | 1 - .../locks/.parameters/rg.parameters.json | 2 +- global.variables.yml | 2 +- settings.json | 2 +- .../resourceGroups/parameters/locks.parameters.json | 9 +++++++++ 6 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/locks.parameters.json diff --git a/.azuredevops/platformPipelines/platform.dependencies.yml b/.azuredevops/platformPipelines/platform.dependencies.yml index 2d7edbd607..33013e95ea 100644 --- a/.azuredevops/platformPipelines/platform.dependencies.yml +++ b/.azuredevops/platformPipelines/platform.dependencies.yml @@ -47,6 +47,9 @@ stages: - path: $(dependencyPath)/$(resourceType)/parameters/validation.parameters.json templateFilePath: $(templateFilePath) displayName: Validation Resource Group + - path: $(dependencyPath)/$(resourceType)/parameters/locks.parameters.json + templateFilePath: $(templateFilePath) + displayName: Locks Resource Group - stage: deploy_ppg displayName: Deploy proximity placement group diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index 400fc2281e..c8c08453ad 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -49,7 +49,6 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: 'Deploy module' uses: ./.github/actions/templates/validateModuleDeployment with: diff --git a/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json index 5c8156186b..dc4870ce99 100644 --- a/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json +++ b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json @@ -6,7 +6,7 @@ "value": "CanNotDelete" }, "resourceGroupName": { - "value": "validation-rg" + "value": "adp-<>-az-locks-rg-001" }, "subscriptionId": { "value": "<>" diff --git a/global.variables.yml b/global.variables.yml index 7fed8d13f9..2897f2078e 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/settings.json b/settings.json index 9198a0f7d0..6146e07c81 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "carml", + "value": "rke", "metadata": { "description": "A 3-5 character length string, included in the resources names" } diff --git a/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/locks.parameters.json b/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/locks.parameters.json new file mode 100644 index 0000000000..6d067839b3 --- /dev/null +++ b/utilities/pipelines/dependencies/Microsoft.Resources/resourceGroups/parameters/locks.parameters.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "name": { + "value": "adp-<>-az-locks-rg-001" + } + } +} From b928ec3fa0e74177e9cac1cd69e4b4fdd542d38e Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 19:41:28 +0200 Subject: [PATCH 207/260] lock rg dependencies in pipeline --- .github/workflows/platform.dependencies.yml | 2 +- arm/Microsoft.Authorization/locks/readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/platform.dependencies.yml b/.github/workflows/platform.dependencies.yml index c8c08453ad..1754c3c32c 100644 --- a/.github/workflows/platform.dependencies.yml +++ b/.github/workflows/platform.dependencies.yml @@ -43,7 +43,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ['validation.parameters.json'] + parameterFilePaths: ['validation.parameters.json', 'locks.parameters.json'] steps: - name: 'Checkout' uses: actions/checkout@v2 diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md index db45879b04..9154cfc788 100644 --- a/arm/Microsoft.Authorization/locks/readme.md +++ b/arm/Microsoft.Authorization/locks/readme.md @@ -56,7 +56,7 @@ This module deploys Authorization Locks. "value": "CanNotDelete" }, "resourceGroupName": { - "value": "validation-rg" + "value": "adp-<>-az-locks-rg-001" }, "subscriptionId": { "value": "<>" @@ -77,7 +77,7 @@ module locks './Microsoft.Authorization/locks/deploy.bicep' = { name: '${uniqueString(deployment().name)}-locks' params: { level: 'CanNotDelete' - resourceGroupName: 'validation-rg' + resourceGroupName: 'adp-<>-az-locks-rg-001' subscriptionId: '<>' } ``` From f90c407d6c3522e2abec4c5c4691c9b21e9e55e1 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 17 Jun 2022 20:11:12 +0200 Subject: [PATCH 208/260] carml --- global.variables.yml | 2 +- settings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/global.variables.yml b/global.variables.yml index 2897f2078e..7fed8d13f9 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/settings.json b/settings.json index 6146e07c81..9198a0f7d0 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "rke", + "value": "carml", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 1c7e30858862a41eff6fb1754d6cd47c61b00a0f Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 20 Jun 2022 13:01:21 +0200 Subject: [PATCH 209/260] subscription lock --- .../locks/resourceGroup/deploy.bicep | 2 + .../locks/subscription/deploy.bicep | 43 +++++++++++++++++++ .../locks/subscription/readme.md | 37 ++++++++++++++++ .../locks/subscription/version.json | 4 ++ global.variables.yml | 2 +- settings.json | 2 +- 6 files changed, 88 insertions(+), 2 deletions(-) create mode 100644 arm/Microsoft.Authorization/locks/subscription/deploy.bicep create mode 100644 arm/Microsoft.Authorization/locks/subscription/readme.md create mode 100644 arm/Microsoft.Authorization/locks/subscription/version.json diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep b/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep index a5a8a23866..00c3566ce0 100644 --- a/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep @@ -1,3 +1,5 @@ +targetScope = 'resourceGroup' + @description('Optional. The name of the lock.') param name string = '${level}-lock' diff --git a/arm/Microsoft.Authorization/locks/subscription/deploy.bicep b/arm/Microsoft.Authorization/locks/subscription/deploy.bicep new file mode 100644 index 0000000000..18e74635be --- /dev/null +++ b/arm/Microsoft.Authorization/locks/subscription/deploy.bicep @@ -0,0 +1,43 @@ +targetScope = 'subscription' + +@description('Optional. The name of the lock.') +param name string = '${level}-lock' + +@allowed([ + 'CanNotDelete' + 'ReadOnly' +]) +@description('Required. Set lock level.') +param level string + +@description('Optional. The decription attached to the lock.') +param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' + +@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +param enableDefaultTelemetry bool = true + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +resource lock 'Microsoft.Authorization/locks@2017-04-01' = { + name: name + properties: { + level: level + notes: notes + } +} + +@description('The name of the lock.') +output name string = lock.name + +@description('The resource ID of the lock.') +output resourceId string = lock.id diff --git a/arm/Microsoft.Authorization/locks/subscription/readme.md b/arm/Microsoft.Authorization/locks/subscription/readme.md new file mode 100644 index 0000000000..bcc9ea3664 --- /dev/null +++ b/arm/Microsoft.Authorization/locks/subscription/readme.md @@ -0,0 +1,37 @@ +# Authorization Locks on Subscription level `[Microsoft.Authorization/locks/subscription]` + +This module deploys Authorization Locks on Subscription level. + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.Authorization/locks` | [2017-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2017-04-01/locks) | + +## Parameters + +**Required parameters** +| Parameter Name | Type | Allowed Values | Description | +| :-- | :-- | :-- | :-- | +| `level` | string | `[CanNotDelete, ReadOnly]` | Set lock level. | + +**Optional parameters** +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | +| `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | +| `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | + + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the lock. | +| `resourceId` | string | The resource ID of the lock. | diff --git a/arm/Microsoft.Authorization/locks/subscription/version.json b/arm/Microsoft.Authorization/locks/subscription/version.json new file mode 100644 index 0000000000..41f66cc990 --- /dev/null +++ b/arm/Microsoft.Authorization/locks/subscription/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.1" +} diff --git a/global.variables.yml b/global.variables.yml index 7fed8d13f9..2897f2078e 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/settings.json b/settings.json index 9198a0f7d0..6146e07c81 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "carml", + "value": "rke", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 6de4305fee5d936627ce4cdde598db9752a39242 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 20 Jun 2022 13:42:18 +0200 Subject: [PATCH 210/260] sub locks --- .../locks/.parameters/sub.parameters.json | 12 +++++ .../locks/deploy.bicep | 29 +++++++++--- arm/Microsoft.Authorization/locks/readme.md | 44 ++++++++++++++++++- global.variables.yml | 2 +- settings.json | 2 +- 5 files changed, 80 insertions(+), 9 deletions(-) create mode 100644 arm/Microsoft.Authorization/locks/.parameters/sub.parameters.json diff --git a/arm/Microsoft.Authorization/locks/.parameters/sub.parameters.json b/arm/Microsoft.Authorization/locks/.parameters/sub.parameters.json new file mode 100644 index 0000000000..e7cb931bd8 --- /dev/null +++ b/arm/Microsoft.Authorization/locks/.parameters/sub.parameters.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "level": { + "value": "CanNotDelete" + }, + "subscriptionId": { + "value": "<>" + } + } +} diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep index b6a096aa7b..49b2c708b6 100644 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -1,5 +1,8 @@ targetScope = 'subscription' +@description('Optional. The name of the lock.') +param name string = '${level}-lock' + @allowed([ 'CanNotDelete' 'ReadOnly' @@ -16,8 +19,8 @@ param enableDefaultTelemetry bool = true @description('Optional. Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group.') param resourceGroupName string = '' -@description('Optional. Subscription ID of the subscription to assign the lock to.') -param subscriptionId string = '' +@description('Optional. Subscription ID of the subscription to assign the lock to. If not provided, will use the current scope for deployment. If no resource group name is provided, the module deploys at subscription level, therefore assigns the provided locks to the subscription.') +param subscriptionId string = subscription().id @sys.description('Optional. Location for all resources.') param location string = deployment().location @@ -37,11 +40,22 @@ resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (ena } } -module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(resourceGroupName) && !empty(subscriptionId)) { +module lock_sub 'subscription/deploy.bicep' = if (!empty(subscriptionId) && empty(resourceGroupName)) { + name: '${uniqueString(deployment().name, location)}-Lock-Sub-Module' + scope: subscription(subscriptionId) + params: { + name: name + level: level + notes: notes + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +} + +module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(subscriptionId) && !empty(resourceGroupName)) { name: '${uniqueString(deployment().name, location)}-Lock-RG-Module' scope: resourceGroup(subscriptionId, resourceGroupName) params: { - name: '${resourceGroupName}-${level}-lock' + name: name level: level notes: notes enableDefaultTelemetry: enableReferencedModulesTelemetry @@ -49,7 +63,10 @@ module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(resourceGroupName) && ! } @description('The name of the lock.') -output name string = lock_rg.outputs.name +output name string = empty(resourceGroupName) ? lock_sub.outputs.name : lock_rg.outputs.name @description('The resource ID of the lock.') -output resourceId string = lock_rg.outputs.resourceId +output resourceId string = empty(resourceGroupName) ? lock_sub.outputs.resourceId : lock_rg.outputs.resourceId + +@sys.description('The scope this lock applies to.') +output scope string = empty(resourceGroupName) ? subscription().id : any(resourceGroup(resourceGroupName)) diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md index 9154cfc788..a69fe1ae21 100644 --- a/arm/Microsoft.Authorization/locks/readme.md +++ b/arm/Microsoft.Authorization/locks/readme.md @@ -27,9 +27,10 @@ This module deploys Authorization Locks. | :-- | :-- | :-- | :-- | | `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | | `location` | string | `[deployment().location]` | Location for all resources. | +| `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | | `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | | `resourceGroupName` | string | `''` | Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group. | -| `subscriptionId` | string | `''` | Subscription ID of the subscription to assign the lock to. | +| `subscriptionId` | string | `[subscription().id]` | Subscription ID of the subscription to assign the lock to. If not provided, will use the current scope for deployment. If no resource group name is provided, the module deploys at subscription level, therefore assigns the provided locks to the subscription. | ## Outputs @@ -38,6 +39,7 @@ This module deploys Authorization Locks. | :-- | :-- | :-- | | `name` | string | The name of the lock. | | `resourceId` | string | The resource ID of the lock. | +| `scope` | string | The scope this lock applies to. | ## Deployment examples @@ -84,3 +86,43 @@ module locks './Microsoft.Authorization/locks/deploy.bicep' = {

+ +

Example 2

+ +
+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "level": { + "value": "CanNotDelete" + }, + "subscriptionId": { + "value": "<>" + } + } +} + +``` + +
+ +
+ +via Bicep module + +```bicep +module locks './Microsoft.Authorization/locks/deploy.bicep' = { + name: '${uniqueString(deployment().name)}-locks' + params: { + level: 'CanNotDelete' + subscriptionId: '<>' + } +``` + +
+

diff --git a/global.variables.yml b/global.variables.yml index 2897f2078e..7fed8d13f9 100644 --- a/global.variables.yml +++ b/global.variables.yml @@ -24,7 +24,7 @@ variables: ###################################### bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to diff --git a/settings.json b/settings.json index 6146e07c81..9198a0f7d0 100644 --- a/settings.json +++ b/settings.json @@ -5,7 +5,7 @@ "localTokens": [ { "name": "namePrefix", - "value": "rke", + "value": "carml", "metadata": { "description": "A 3-5 character length string, included in the resources names" } From 808f5940fa04b325b490855ad76188750013ee8d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 20 Jun 2022 14:14:58 +0200 Subject: [PATCH 211/260] no name --- arm/Microsoft.Authorization/locks/deploy.bicep | 7 ++----- arm/Microsoft.Authorization/locks/readme.md | 1 - .../locks/subscription/deploy.bicep | 3 +++ arm/Microsoft.Authorization/locks/subscription/readme.md | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep index 49b2c708b6..d716d9b106 100644 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -1,8 +1,5 @@ targetScope = 'subscription' -@description('Optional. The name of the lock.') -param name string = '${level}-lock' - @allowed([ 'CanNotDelete' 'ReadOnly' @@ -44,7 +41,7 @@ module lock_sub 'subscription/deploy.bicep' = if (!empty(subscriptionId) && empt name: '${uniqueString(deployment().name, location)}-Lock-Sub-Module' scope: subscription(subscriptionId) params: { - name: name + name: '${subscription().displayName}-${level}-lock' level: level notes: notes enableDefaultTelemetry: enableReferencedModulesTelemetry @@ -55,7 +52,7 @@ module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(subscriptionId) && !emp name: '${uniqueString(deployment().name, location)}-Lock-RG-Module' scope: resourceGroup(subscriptionId, resourceGroupName) params: { - name: name + name: '${resourceGroupName}-${level}-lock' level: level notes: notes enableDefaultTelemetry: enableReferencedModulesTelemetry diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md index a69fe1ae21..ce2cf878fd 100644 --- a/arm/Microsoft.Authorization/locks/readme.md +++ b/arm/Microsoft.Authorization/locks/readme.md @@ -27,7 +27,6 @@ This module deploys Authorization Locks. | :-- | :-- | :-- | :-- | | `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | | `location` | string | `[deployment().location]` | Location for all resources. | -| `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | | `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | | `resourceGroupName` | string | `''` | Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group. | | `subscriptionId` | string | `[subscription().id]` | Subscription ID of the subscription to assign the lock to. If not provided, will use the current scope for deployment. If no resource group name is provided, the module deploys at subscription level, therefore assigns the provided locks to the subscription. | diff --git a/arm/Microsoft.Authorization/locks/subscription/deploy.bicep b/arm/Microsoft.Authorization/locks/subscription/deploy.bicep index 18e74635be..f184869649 100644 --- a/arm/Microsoft.Authorization/locks/subscription/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/subscription/deploy.bicep @@ -41,3 +41,6 @@ output name string = lock.name @description('The resource ID of the lock.') output resourceId string = lock.id + +@description('The subscription the lock was deployed into.') +output subscriptionName string = subscription().displayName diff --git a/arm/Microsoft.Authorization/locks/subscription/readme.md b/arm/Microsoft.Authorization/locks/subscription/readme.md index bcc9ea3664..cf74d949f1 100644 --- a/arm/Microsoft.Authorization/locks/subscription/readme.md +++ b/arm/Microsoft.Authorization/locks/subscription/readme.md @@ -35,3 +35,4 @@ This module deploys Authorization Locks on Subscription level. | :-- | :-- | :-- | | `name` | string | The name of the lock. | | `resourceId` | string | The resource ID of the lock. | +| `subscriptionName` | string | The subscription the lock was deployed into. | From 1b407aaaad53f8724c45f3fc5e1bfaf5d83a3baf Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 20 Jun 2022 14:43:56 +0200 Subject: [PATCH 212/260] disable sub level lock deployment --- .../locks/.parameters/sub.parameters.json | 12 ------ .../locks/deploy.bicep | 29 ++++++++------ arm/Microsoft.Authorization/locks/readme.md | 40 ------------------- 3 files changed, 16 insertions(+), 65 deletions(-) delete mode 100644 arm/Microsoft.Authorization/locks/.parameters/sub.parameters.json diff --git a/arm/Microsoft.Authorization/locks/.parameters/sub.parameters.json b/arm/Microsoft.Authorization/locks/.parameters/sub.parameters.json deleted file mode 100644 index e7cb931bd8..0000000000 --- a/arm/Microsoft.Authorization/locks/.parameters/sub.parameters.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "level": { - "value": "CanNotDelete" - }, - "subscriptionId": { - "value": "<>" - } - } -} diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep index d716d9b106..5404c1224a 100644 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -37,16 +37,16 @@ resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (ena } } -module lock_sub 'subscription/deploy.bicep' = if (!empty(subscriptionId) && empty(resourceGroupName)) { - name: '${uniqueString(deployment().name, location)}-Lock-Sub-Module' - scope: subscription(subscriptionId) - params: { - name: '${subscription().displayName}-${level}-lock' - level: level - notes: notes - enableDefaultTelemetry: enableReferencedModulesTelemetry - } -} +// module lock_sub 'subscription/deploy.bicep' = if (!empty(subscriptionId) && empty(resourceGroupName)) { +// name: '${uniqueString(deployment().name, location)}-Lock-Sub-Module' +// scope: subscription(subscriptionId) +// params: { +// name: '${subscription().displayName}-${level}-lock' +// level: level +// notes: notes +// enableDefaultTelemetry: enableReferencedModulesTelemetry +// } +// } module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(subscriptionId) && !empty(resourceGroupName)) { name: '${uniqueString(deployment().name, location)}-Lock-RG-Module' @@ -60,10 +60,13 @@ module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(subscriptionId) && !emp } @description('The name of the lock.') -output name string = empty(resourceGroupName) ? lock_sub.outputs.name : lock_rg.outputs.name +// output name string = empty(resourceGroupName) ? lock_sub.outputs.name : lock_rg.outputs.name +output name string = lock_rg.outputs.name @description('The resource ID of the lock.') -output resourceId string = empty(resourceGroupName) ? lock_sub.outputs.resourceId : lock_rg.outputs.resourceId +// output resourceId string = empty(resourceGroupName) ? lock_sub.outputs.resourceId : lock_rg.outputs.resourceId +output resourceId string = lock_rg.outputs.resourceId @sys.description('The scope this lock applies to.') -output scope string = empty(resourceGroupName) ? subscription().id : any(resourceGroup(resourceGroupName)) +// output scope string = empty(resourceGroupName) ? subscription().id : any(resourceGroup(resourceGroupName)) +output scope string = any(resourceGroup(resourceGroupName)) diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md index ce2cf878fd..fe2172de6b 100644 --- a/arm/Microsoft.Authorization/locks/readme.md +++ b/arm/Microsoft.Authorization/locks/readme.md @@ -85,43 +85,3 @@ module locks './Microsoft.Authorization/locks/deploy.bicep' = {

- -

Example 2

- -
- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "level": { - "value": "CanNotDelete" - }, - "subscriptionId": { - "value": "<>" - } - } -} - -``` - -
- -
- -via Bicep module - -```bicep -module locks './Microsoft.Authorization/locks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-locks' - params: { - level: 'CanNotDelete' - subscriptionId: '<>' - } -``` - -
-

From 6ce1398c2791d9a88aa70079c3db0d4acf5e3267 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 20 Jun 2022 16:08:11 +0200 Subject: [PATCH 213/260] enable sub level lock deployment --- .../locks/deploy.bicep | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep index 5404c1224a..d716d9b106 100644 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ b/arm/Microsoft.Authorization/locks/deploy.bicep @@ -37,16 +37,16 @@ resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (ena } } -// module lock_sub 'subscription/deploy.bicep' = if (!empty(subscriptionId) && empty(resourceGroupName)) { -// name: '${uniqueString(deployment().name, location)}-Lock-Sub-Module' -// scope: subscription(subscriptionId) -// params: { -// name: '${subscription().displayName}-${level}-lock' -// level: level -// notes: notes -// enableDefaultTelemetry: enableReferencedModulesTelemetry -// } -// } +module lock_sub 'subscription/deploy.bicep' = if (!empty(subscriptionId) && empty(resourceGroupName)) { + name: '${uniqueString(deployment().name, location)}-Lock-Sub-Module' + scope: subscription(subscriptionId) + params: { + name: '${subscription().displayName}-${level}-lock' + level: level + notes: notes + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +} module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(subscriptionId) && !empty(resourceGroupName)) { name: '${uniqueString(deployment().name, location)}-Lock-RG-Module' @@ -60,13 +60,10 @@ module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(subscriptionId) && !emp } @description('The name of the lock.') -// output name string = empty(resourceGroupName) ? lock_sub.outputs.name : lock_rg.outputs.name -output name string = lock_rg.outputs.name +output name string = empty(resourceGroupName) ? lock_sub.outputs.name : lock_rg.outputs.name @description('The resource ID of the lock.') -// output resourceId string = empty(resourceGroupName) ? lock_sub.outputs.resourceId : lock_rg.outputs.resourceId -output resourceId string = lock_rg.outputs.resourceId +output resourceId string = empty(resourceGroupName) ? lock_sub.outputs.resourceId : lock_rg.outputs.resourceId @sys.description('The scope this lock applies to.') -// output scope string = empty(resourceGroupName) ? subscription().id : any(resourceGroup(resourceGroupName)) -output scope string = any(resourceGroup(resourceGroupName)) +output scope string = empty(resourceGroupName) ? subscription().id : any(resourceGroup(resourceGroupName)) From 14b5ec5fe142a067739d2df37a672dd8ee9bcbd1 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 25 Nov 2022 18:55:21 +0100 Subject: [PATCH 214/260] linter trigger --- .github/workflows/linter.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 893e25c519..f43db21184 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -1,6 +1,10 @@ name: '.Platform: Linter' -on: [pull_request] +on: + workflow_dispatch: + pull_request: + branches: + - main jobs: build: From 697cdfd1a8e504e041e9a4db1130a02b7494c569 Mon Sep 17 00:00:00 2001 From: Erika Gressi <56914614+eriqua@users.noreply.github.com> Date: Mon, 12 Dec 2022 10:34:46 +0100 Subject: [PATCH 215/260] Update platform.assignIssueToProject.yml --- .github/workflows/platform.assignIssueToProject.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform.assignIssueToProject.yml b/.github/workflows/platform.assignIssueToProject.yml index 5f8452ad05..439d76727b 100644 --- a/.github/workflows/platform.assignIssueToProject.yml +++ b/.github/workflows/platform.assignIssueToProject.yml @@ -21,7 +21,7 @@ jobs: if: | contains(github.event.issue.labels.*.name, 'bug') with: - project: https://github.com/Azure/ResourceModules/projects/4 + project: https://github.com/users/eriqua/projects/1 column_name: 'Needs triage' - name: Add Issues to Backlog Board uses: srggrs/assign-one-project-github-action@1.2.1 From b3502c220b6fc845f0ee92a995a0ea0d4c785eda Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 16 Jan 2023 20:05:24 +0100 Subject: [PATCH 216/260] remove arm --- .../locks/.parameters/rg.parameters.json | 15 ---- .../locks/deploy.bicep | 69 --------------- arm/Microsoft.Authorization/locks/readme.md | 87 ------------------- .../locks/resourceGroup/deploy.bicep | 46 ---------- .../locks/resourceGroup/readme.md | 38 -------- .../locks/resourceGroup/version.json | 4 - .../locks/subscription/deploy.bicep | 46 ---------- .../locks/subscription/readme.md | 38 -------- .../locks/subscription/version.json | 4 - .../locks/version.json | 4 - 10 files changed, 351 deletions(-) delete mode 100644 arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json delete mode 100644 arm/Microsoft.Authorization/locks/deploy.bicep delete mode 100644 arm/Microsoft.Authorization/locks/readme.md delete mode 100644 arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep delete mode 100644 arm/Microsoft.Authorization/locks/resourceGroup/readme.md delete mode 100644 arm/Microsoft.Authorization/locks/resourceGroup/version.json delete mode 100644 arm/Microsoft.Authorization/locks/subscription/deploy.bicep delete mode 100644 arm/Microsoft.Authorization/locks/subscription/readme.md delete mode 100644 arm/Microsoft.Authorization/locks/subscription/version.json delete mode 100644 arm/Microsoft.Authorization/locks/version.json diff --git a/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json b/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json deleted file mode 100644 index dc4870ce99..0000000000 --- a/arm/Microsoft.Authorization/locks/.parameters/rg.parameters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "level": { - "value": "CanNotDelete" - }, - "resourceGroupName": { - "value": "adp-<>-az-locks-rg-001" - }, - "subscriptionId": { - "value": "<>" - } - } -} diff --git a/arm/Microsoft.Authorization/locks/deploy.bicep b/arm/Microsoft.Authorization/locks/deploy.bicep deleted file mode 100644 index d716d9b106..0000000000 --- a/arm/Microsoft.Authorization/locks/deploy.bicep +++ /dev/null @@ -1,69 +0,0 @@ -targetScope = 'subscription' - -@allowed([ - 'CanNotDelete' - 'ReadOnly' -]) -@description('Required. Set lock level.') -param level string - -@description('Optional. The decription attached to the lock.') -param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' - -@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') -param enableDefaultTelemetry bool = true - -@description('Optional. Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group.') -param resourceGroupName string = '' - -@description('Optional. Subscription ID of the subscription to assign the lock to. If not provided, will use the current scope for deployment. If no resource group name is provided, the module deploys at subscription level, therefore assigns the provided locks to the subscription.') -param subscriptionId string = subscription().id - -@sys.description('Optional. Location for all resources.') -param location string = deployment().location - -var enableReferencedModulesTelemetry = false - -resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { - name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name, location)}' - location: location - properties: { - mode: 'Incremental' - template: { - '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' - contentVersion: '1.0.0.0' - resources: [] - } - } -} - -module lock_sub 'subscription/deploy.bicep' = if (!empty(subscriptionId) && empty(resourceGroupName)) { - name: '${uniqueString(deployment().name, location)}-Lock-Sub-Module' - scope: subscription(subscriptionId) - params: { - name: '${subscription().displayName}-${level}-lock' - level: level - notes: notes - enableDefaultTelemetry: enableReferencedModulesTelemetry - } -} - -module lock_rg 'resourceGroup/deploy.bicep' = if (!empty(subscriptionId) && !empty(resourceGroupName)) { - name: '${uniqueString(deployment().name, location)}-Lock-RG-Module' - scope: resourceGroup(subscriptionId, resourceGroupName) - params: { - name: '${resourceGroupName}-${level}-lock' - level: level - notes: notes - enableDefaultTelemetry: enableReferencedModulesTelemetry - } -} - -@description('The name of the lock.') -output name string = empty(resourceGroupName) ? lock_sub.outputs.name : lock_rg.outputs.name - -@description('The resource ID of the lock.') -output resourceId string = empty(resourceGroupName) ? lock_sub.outputs.resourceId : lock_rg.outputs.resourceId - -@sys.description('The scope this lock applies to.') -output scope string = empty(resourceGroupName) ? subscription().id : any(resourceGroup(resourceGroupName)) diff --git a/arm/Microsoft.Authorization/locks/readme.md b/arm/Microsoft.Authorization/locks/readme.md deleted file mode 100644 index fe2172de6b..0000000000 --- a/arm/Microsoft.Authorization/locks/readme.md +++ /dev/null @@ -1,87 +0,0 @@ -# Authorization Locks `[Microsoft.Authorization/locks]` - -This module deploys Authorization Locks. - -## Navigation - -- [Resource Types](#Resource-Types) -- [Parameters](#Parameters) -- [Outputs](#Outputs) -- [Deployment examples](#Deployment-examples) - -## Resource Types - -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.Authorization/locks` | [2017-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2017-04-01/locks) | - -## Parameters - -**Required parameters** -| Parameter Name | Type | Allowed Values | Description | -| :-- | :-- | :-- | :-- | -| `level` | string | `[CanNotDelete, ReadOnly]` | Set lock level. | - -**Optional parameters** -| Parameter Name | Type | Default Value | Description | -| :-- | :-- | :-- | :-- | -| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | -| `location` | string | `[deployment().location]` | Location for all resources. | -| `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | -| `resourceGroupName` | string | `''` | Name of the Resource Group to assign the lock to. If Resource Group name is provided, and Subscription ID is provided, the module deploys at resource group level, therefore assigns the provided lock to the resource group. | -| `subscriptionId` | string | `[subscription().id]` | Subscription ID of the subscription to assign the lock to. If not provided, will use the current scope for deployment. If no resource group name is provided, the module deploys at subscription level, therefore assigns the provided locks to the subscription. | - - -## Outputs - -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the lock. | -| `resourceId` | string | The resource ID of the lock. | -| `scope` | string | The scope this lock applies to. | - -## Deployment examples - -

Example 1

- -
- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "level": { - "value": "CanNotDelete" - }, - "resourceGroupName": { - "value": "adp-<>-az-locks-rg-001" - }, - "subscriptionId": { - "value": "<>" - } - } -} - -``` - -
- -
- -via Bicep module - -```bicep -module locks './Microsoft.Authorization/locks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-locks' - params: { - level: 'CanNotDelete' - resourceGroupName: 'adp-<>-az-locks-rg-001' - subscriptionId: '<>' - } -``` - -
-

diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep b/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep deleted file mode 100644 index 00c3566ce0..0000000000 --- a/arm/Microsoft.Authorization/locks/resourceGroup/deploy.bicep +++ /dev/null @@ -1,46 +0,0 @@ -targetScope = 'resourceGroup' - -@description('Optional. The name of the lock.') -param name string = '${level}-lock' - -@allowed([ - 'CanNotDelete' - 'ReadOnly' -]) -@description('Required. Set lock level.') -param level string - -@description('Optional. The decription attached to the lock.') -param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' - -@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') -param enableDefaultTelemetry bool = true - -resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { - name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' - properties: { - mode: 'Incremental' - template: { - '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' - contentVersion: '1.0.0.0' - resources: [] - } - } -} - -resource lock 'Microsoft.Authorization/locks@2017-04-01' = { - name: name - properties: { - level: level - notes: notes - } -} - -@description('The name of the lock.') -output name string = lock.name - -@description('The resource ID of the lock.') -output resourceId string = lock.id - -@description('The name of the resource group the lock was applied to.') -output resourceGroupName string = resourceGroup().name diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/readme.md b/arm/Microsoft.Authorization/locks/resourceGroup/readme.md deleted file mode 100644 index c1e4e67f62..0000000000 --- a/arm/Microsoft.Authorization/locks/resourceGroup/readme.md +++ /dev/null @@ -1,38 +0,0 @@ -# Authorization Locks on Resource Group level `[Microsoft.Authorization/locks/resourceGroup]` - -This module deploys Authorization Locks on Resource Group level. - -## Navigation - -- [Resource Types](#Resource-Types) -- [Parameters](#Parameters) -- [Outputs](#Outputs) - -## Resource Types - -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.Authorization/locks` | [2017-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2017-04-01/locks) | - -## Parameters - -**Required parameters** -| Parameter Name | Type | Allowed Values | Description | -| :-- | :-- | :-- | :-- | -| `level` | string | `[CanNotDelete, ReadOnly]` | Set lock level. | - -**Optional parameters** -| Parameter Name | Type | Default Value | Description | -| :-- | :-- | :-- | :-- | -| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | -| `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | -| `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | - - -## Outputs - -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the lock. | -| `resourceGroupName` | string | The name of the resource group the lock was applied to. | -| `resourceId` | string | The resource ID of the lock. | diff --git a/arm/Microsoft.Authorization/locks/resourceGroup/version.json b/arm/Microsoft.Authorization/locks/resourceGroup/version.json deleted file mode 100644 index 41f66cc990..0000000000 --- a/arm/Microsoft.Authorization/locks/resourceGroup/version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.1" -} diff --git a/arm/Microsoft.Authorization/locks/subscription/deploy.bicep b/arm/Microsoft.Authorization/locks/subscription/deploy.bicep deleted file mode 100644 index f184869649..0000000000 --- a/arm/Microsoft.Authorization/locks/subscription/deploy.bicep +++ /dev/null @@ -1,46 +0,0 @@ -targetScope = 'subscription' - -@description('Optional. The name of the lock.') -param name string = '${level}-lock' - -@allowed([ - 'CanNotDelete' - 'ReadOnly' -]) -@description('Required. Set lock level.') -param level string - -@description('Optional. The decription attached to the lock.') -param notes string = level == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' - -@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') -param enableDefaultTelemetry bool = true - -resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { - name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' - properties: { - mode: 'Incremental' - template: { - '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' - contentVersion: '1.0.0.0' - resources: [] - } - } -} - -resource lock 'Microsoft.Authorization/locks@2017-04-01' = { - name: name - properties: { - level: level - notes: notes - } -} - -@description('The name of the lock.') -output name string = lock.name - -@description('The resource ID of the lock.') -output resourceId string = lock.id - -@description('The subscription the lock was deployed into.') -output subscriptionName string = subscription().displayName diff --git a/arm/Microsoft.Authorization/locks/subscription/readme.md b/arm/Microsoft.Authorization/locks/subscription/readme.md deleted file mode 100644 index cf74d949f1..0000000000 --- a/arm/Microsoft.Authorization/locks/subscription/readme.md +++ /dev/null @@ -1,38 +0,0 @@ -# Authorization Locks on Subscription level `[Microsoft.Authorization/locks/subscription]` - -This module deploys Authorization Locks on Subscription level. - -## Navigation - -- [Resource Types](#Resource-Types) -- [Parameters](#Parameters) -- [Outputs](#Outputs) - -## Resource Types - -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.Authorization/locks` | [2017-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2017-04-01/locks) | - -## Parameters - -**Required parameters** -| Parameter Name | Type | Allowed Values | Description | -| :-- | :-- | :-- | :-- | -| `level` | string | `[CanNotDelete, ReadOnly]` | Set lock level. | - -**Optional parameters** -| Parameter Name | Type | Default Value | Description | -| :-- | :-- | :-- | :-- | -| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | -| `name` | string | `[format('{0}-lock', parameters('level'))]` | The name of the lock. | -| `notes` | string | `[if(equals(parameters('level'), 'CanNotDelete'), 'Cannot delete resource or child resources.', 'Cannot modify the resource or child resources.')]` | The decription attached to the lock. | - - -## Outputs - -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the lock. | -| `resourceId` | string | The resource ID of the lock. | -| `subscriptionName` | string | The subscription the lock was deployed into. | diff --git a/arm/Microsoft.Authorization/locks/subscription/version.json b/arm/Microsoft.Authorization/locks/subscription/version.json deleted file mode 100644 index 41f66cc990..0000000000 --- a/arm/Microsoft.Authorization/locks/subscription/version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.1" -} diff --git a/arm/Microsoft.Authorization/locks/version.json b/arm/Microsoft.Authorization/locks/version.json deleted file mode 100644 index 41f66cc990..0000000000 --- a/arm/Microsoft.Authorization/locks/version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.1" -} From f90b4ffe896ebeb16114e7c29f4687e459227f14 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 15:21:18 +0100 Subject: [PATCH 217/260] settings --- ...desktopvirtualization.hostpools.caller.yml | 148 ---------------- ...sktopvirtualization.hostpools.template.yml | 162 ------------------ settings.yml | 4 +- 3 files changed, 2 insertions(+), 312 deletions(-) delete mode 100644 .github/workflows/ms.desktopvirtualization.hostpools.caller.yml delete mode 100644 .github/workflows/ms.desktopvirtualization.hostpools.template.yml diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.caller.yml b/.github/workflows/ms.desktopvirtualization.hostpools.caller.yml deleted file mode 100644 index 555f40c312..0000000000 --- a/.github/workflows/ms.desktopvirtualization.hostpools.caller.yml +++ /dev/null @@ -1,148 +0,0 @@ -name: 'DesktopVirtualization: HostPools' - -on: - workflow_dispatch: - inputs: - removeDeployment: - type: boolean - description: 'Remove deployed module' - required: false - default: true - prerelease: - type: boolean - description: 'Publish prerelease module' - required: false - default: false - push: - branches: - - main - paths: - - '.github/actions/templates/**' - - '.github/workflows/ms.desktopvirtualization.hostpools.yml' - - 'modules/Microsoft.DesktopVirtualization/hostpools/**' - - 'utilities/pipelines/**' - - '!utilities/pipelines/deploymentRemoval/**' - - '!*/**/readme.md' - -env: - variablesPath: 'settings.yml' - modulePath: 'modules/Microsoft.DesktopVirtualization/hostpools' - workflowPath: '.github/workflows/ms.desktopvirtualization.hostpools.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' - -concurrency: - group: ${{ github.workflow }} - -jobs: - ########################### - # Initialize pipeline # - ########################### - job_initialize_pipeline: - runs-on: ubuntu-20.04 - name: 'Initialize pipeline' - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: 'Set input parameters to output variables' - id: get-workflow-param - uses: ./.github/actions/templates/getWorkflowInput - with: - workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' - id: get-module-test-file-paths - uses: ./.github/actions/templates/getModuleTestFiles - with: - modulePath: '${{ env.modulePath }}' - outputs: - workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} - moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} - - ######################### - # Static validation # - ######################### - job_module_pester_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deployment validation' - needs: - - job_initialize_pipeline - - job_module_pester_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.template.yml b/.github/workflows/ms.desktopvirtualization.hostpools.template.yml deleted file mode 100644 index b138a645d5..0000000000 --- a/.github/workflows/ms.desktopvirtualization.hostpools.template.yml +++ /dev/null @@ -1,162 +0,0 @@ -name: 'Validate and Publish' - -on: - workflow_call: - inputs: - removeDeployment: - type: boolean - description: 'Remove deployed module' - required: false - default: true - prerelease: - type: boolean - description: 'Publish prerelease module' - required: false - default: false - -# on: -# workflow_dispatch: -# inputs: -# removeDeployment: -# type: boolean -# description: 'Remove deployed module' -# required: false -# default: true -# prerelease: -# type: boolean -# description: 'Publish prerelease module' -# required: false -# default: false -# push: -# branches: -# - main -# paths: -# - '.github/actions/templates/**' -# - '.github/workflows/ms.desktopvirtualization.hostpools.yml' -# - 'modules/Microsoft.DesktopVirtualization/hostpools/**' -# - 'utilities/pipelines/**' -# - '!utilities/pipelines/deploymentRemoval/**' -# - '!*/**/readme.md' - -env: - variablesPath: 'settings.yml' - modulePath: 'modules/Microsoft.DesktopVirtualization/hostpools' - workflowPath: '.github/workflows/ms.desktopvirtualization.hostpools.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' - -concurrency: - group: ${{ github.workflow }} - -jobs: - ########################### - # Initialize pipeline # - ########################### - job_initialize_pipeline: - runs-on: ubuntu-20.04 - name: 'Initialize pipeline' - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: 'Set input parameters to output variables' - id: get-workflow-param - uses: ./.github/actions/templates/getWorkflowInput - with: - workflowPath: '${{ env.workflowPath}}' - - name: 'Get parameter file paths' - id: get-module-test-file-paths - uses: ./.github/actions/templates/getModuleTestFiles - with: - modulePath: '${{ env.modulePath }}' - outputs: - workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} - moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} - - ######################### - # Static validation # - ######################### - job_module_pester_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deployment validation' - needs: - - job_initialize_pipeline - - job_module_pester_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/settings.yml b/settings.yml index 429b307358..b3cceaea72 100644 --- a/settings.yml +++ b/settings.yml @@ -13,7 +13,7 @@ variables: # the 'localToken_' prefix will be removed from the key name when the pipelines run. # e.g. if you have a token in your parameter file as <>, then the token defined in this file looks like "localToken_customKey": 'value' - localToken_namePrefix: '' # A 3-5 character length unique string, included in the resources names (e.g. 'cntso'). Used for local module testing and pipelines. + localToken_namePrefix: 'rke' # A 3-5 character length unique string, included in the resources names (e.g. 'cntso'). Used for local module testing and pipelines. # this determines the starting prefix and ending suffix of the token in your file. tokenPrefix: '<<' @@ -68,7 +68,7 @@ variables: # ------------------------------- # bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to From ba694a68d2dfbebcb29651b7f3cbf384ce2e6215 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 16:11:19 +0100 Subject: [PATCH 218/260] template static --- .../ms.resources.resourcegroups_backup.yml | 147 --------------- .github/workflows/template.module.yml | 173 +++++++++--------- 2 files changed, 85 insertions(+), 235 deletions(-) delete mode 100644 .github/workflows/ms.resources.resourcegroups_backup.yml diff --git a/.github/workflows/ms.resources.resourcegroups_backup.yml b/.github/workflows/ms.resources.resourcegroups_backup.yml deleted file mode 100644 index 4f4b007227..0000000000 --- a/.github/workflows/ms.resources.resourcegroups_backup.yml +++ /dev/null @@ -1,147 +0,0 @@ -name: 'Resources: ResourceGroups' - -on: - workflow_dispatch: - inputs: - removeDeployment: - type: boolean - description: 'Remove deployed module' - required: false - default: 'true' - versioningOption: - type: choice - description: 'The mode to handle the version increments [major|minor|patch]' - required: false - default: 'patch' - options: - - major - - minor - - patch - customVersion: - description: 'Custom version to apply. Used only if higher than latest' - required: false - default: '0.0.1' - # push: - # branches: - # - main - # paths: - # - '.github/actions/templates/**' - # - '.github/workflows/ms.resources.resourcegroups.yml' - # - 'arm/Microsoft.Resources/resourceGroups/**' - # - '!*/**/readme.md' - # - 'utilities/pipelines/**' - # - '!utilities/pipelines/dependencies/**' - -env: - modulePath: 'arm/Microsoft.Resources/resourceGroups' - workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' - -jobs: - ############################ - # SET INPUT PARAMETERS # - ############################ - job_set_workflow_param: - runs-on: ubuntu-20.04 - name: 'Set input parameters to output variables' - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Set input parameters' - id: get-workflow-param - uses: ./.github/actions/templates/getWorkflowInput - with: - workflowPath: '${{ env.workflowPath}}' - outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} - customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - - #################### - # Pester Tests # - #################### - job_module_pester_validation: - runs-on: ubuntu-20.04 - name: 'Pester tests' - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - - #################### - # Deployment tests # - #################### - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deployment tests' - needs: - - job_set_workflow_param - - job_module_pester_validation - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - - ############### - # PUBLISH # - ############### - job_publish_module: - name: 'Publish module' - if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - runs-on: ubuntu-20.04 - needs: - - job_set_workflow_param - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Publish module' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index ffa28d8e0d..199bb63088 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -3,120 +3,117 @@ name: '.Template: Module Pipeline' on: workflow_call: inputs: - modulePath: - type: string - description: 'Relative path to the module folder' - required: true removeDeployment: type: string description: 'Remove deployed module' required: true - versioningOption: + prerelease: + type: boolean + description: 'Publish prerelease module' + required: false + default: false + modulePath: type: string - description: 'The mode to handle the version increments [major|minor|patch]' + description: 'Relative path to the module folder' required: true - customVersion: + moduleTestFilePaths: type: string - description: 'Custom version to apply. Used only if higher than latest' - required: true - secrets: - AZURE_CREDENTIALS: - required: true - ARM_SUBSCRIPTION_ID: - required: true - ARM_MGMTGROUP_ID: - required: true - ARM_TENANT_ID: - required: true - DEPLOYMENT_SP_ID: + description: 'Relative path to the module folder' required: true env: + variablesPath: 'settings.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' + +concurrency: + group: ${{ github.workflow }} jobs: - #################### - # Pester Tests # - #################### + ######################### + # Static validation # + ######################### job_module_pester_validation: runs-on: ubuntu-20.04 - name: 'Pester tests' + name: 'Static validation' steps: - name: 'Checkout' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} - name: 'Run tests' uses: ./.github/actions/templates/validateModulePester with: modulePath: '${{ inputs.modulePath }}' + moduleTestFilePath: '${{ env.moduleTestFilePath }}' - #################### - # Deployment tests # - #################### - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deployment tests' - needs: - - job_module_pester_validation - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' - parameterFilePath: '${{ inputs.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ inputs.removeDeployment }}' + # ############################# + # # Deployment validation # + # ############################# + # job_module_deploy_validation: + # runs-on: ubuntu-20.04 + # name: 'Deployment validation' + # needs: + # - job_module_pester_validation + # strategy: + # fail-fast: false + # matrix: + # moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v3 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: ./.github/actions/templates/setEnvironmentVariables + # with: + # variablesPath: ${{ env.variablesPath }} + # - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' + # location: '${{ env.location }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ inputs.removeDeployment }}' - ############### - # Publish # - ############### - job_publish_module: - name: 'Publish module' - if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Publish module' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' - versioningOption: '${{ inputs.versioningOption }}' - customVersion: '${{ inputs.customVersion }}' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + # ################## + # # Publishing # + # ################## + # job_publish_module: + # name: 'Publishing' + # if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' + # # if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) + # runs-on: ubuntu-20.04 + # needs: + # - job_module_deploy_validation + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v3 + # with: + # fetch-depth: 0 + # - name: Set environment variables + # uses: ./.github/actions/templates/setEnvironmentVariables + # with: + # variablesPath: ${{ env.variablesPath }} + # - name: 'Publishing' + # uses: ./.github/actions/templates/publishModule + # with: + # templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' + # templateSpecsRGName: '${{ env.templateSpecsRGName }}' + # templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' + # templateSpecsDescription: '${{ env.templateSpecsDescription }}' + # templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' + # bicepRegistryName: '${{ env.bicepRegistryName }}' + # bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' + # bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' + # bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + # publishLatest: '${{ env.publishLatest }}' From 0f908f0e8b213a40898fe7baee845dc74ec361f2 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 16:17:41 +0100 Subject: [PATCH 219/260] draft caller --- .../workflows/ms.resources.resourcegroups.yml | 19 ++++++------------- .github/workflows/template.module.yml | 3 --- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 0bfa81e0eb..089452a74f 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -60,9 +60,9 @@ jobs: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: '${{ steps.get-workflow-param.outputs.removeDeployment }}' - versioningOption: '${{ steps.get-workflow-param.outputs.versioningOption }}' - customVersion: '${{ steps.get-workflow-param.outputs.customVersion }}' - modulePath: '${{ env.modulePath}}' + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + ############################## # Call reusable workflow # @@ -73,13 +73,6 @@ jobs: - job_set_workflow_param uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main with: - modulePath: '${{ needs.job_set_workflow_param.outputs.modulePath }}' - removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' - secrets: - AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + modulePath: '${{ env.modulePath}}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + moduleTestFilePaths: '${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 199bb63088..e678a91299 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -29,9 +29,6 @@ env: ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' -concurrency: - group: ${{ github.workflow }} - jobs: ######################### From 066fa2d2c02827e653980aa63cd7031aa0e9a1ac Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 21:03:27 +0100 Subject: [PATCH 220/260] caller --- .../workflows/ms.resources.resourcegroups.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 089452a74f..11562b3c87 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -16,6 +16,7 @@ on: push: branches: - main + - reus-wkf-donotdelete paths: - '.github/workflows/ms.resources.resourcegroups.yml' - 'modules/Microsoft.Resources/resourceGroups/**' @@ -24,14 +25,14 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' + # variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/resourceGroups' workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' + # AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + # ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + # ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + # TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} @@ -70,8 +71,9 @@ jobs: call-workflow-passing-data: name: 'Template' needs: - - job_set_workflow_param - uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main + - job_initialize_pipeline + # uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main + uses: ./.github/workflows/template.module.yml with: modulePath: '${{ env.modulePath}}' removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' From 691096754c15e6566c83ae1bb47572d7580228f2 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 21:05:33 +0100 Subject: [PATCH 221/260] caller env --- .github/workflows/ms.resources.resourcegroups.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 11562b3c87..50fa1ee206 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -63,6 +63,7 @@ jobs: removeDeployment: '${{ steps.get-workflow-param.outputs.removeDeployment }}' workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath}}' ############################## @@ -75,6 +76,6 @@ jobs: # uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main uses: ./.github/workflows/template.module.yml with: - modulePath: '${{ env.modulePath}}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' moduleTestFilePaths: '${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }}' From f90fd65ef2fa5ee85430cc198c24204b2772361a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 21:07:39 +0100 Subject: [PATCH 222/260] caller moduleTestFilePaths --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 50fa1ee206..e3073f023d 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -78,4 +78,4 @@ jobs: with: modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - moduleTestFilePaths: '${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' From 1ef49c905a1fe999615abe255e5e362418a7dad3 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 23:29:28 +0100 Subject: [PATCH 223/260] env secrets --- .github/actions/templates/validateModulePester/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/templates/validateModulePester/action.yml b/.github/actions/templates/validateModulePester/action.yml index 3bcd7eb3f6..488a87f6d4 100644 --- a/.github/actions/templates/validateModulePester/action.yml +++ b/.github/actions/templates/validateModulePester/action.yml @@ -60,7 +60,7 @@ runs: - name: Azure Login uses: Azure/login@v1 with: - creds: ${{ env.AZURE_CREDENTIALS }} + creds: ${{ secrets.AZURE_CREDENTIALS }} enable-AzPSSession: true # [Module Pester Test] task(s) From bc144b1bf0aec4efa9fe6310f14f05b8e72b5785 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 23:29:51 +0100 Subject: [PATCH 224/260] env secrets --- .../templates/validateModulePester/action.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/templates/validateModulePester/action.yml b/.github/actions/templates/validateModulePester/action.yml index 488a87f6d4..455d53dfeb 100644 --- a/.github/actions/templates/validateModulePester/action.yml +++ b/.github/actions/templates/validateModulePester/action.yml @@ -99,17 +99,17 @@ runs: TokenSuffix = $GlobalVariablesObject | Select-Object -ExpandProperty tokenSuffix } - if (-not [String]::IsNullOrEmpty('${{ env.ARM_SUBSCRIPTION_ID }}')) { - $tokenConfiguration.Tokens['subscriptionId'] = '${{ env.ARM_SUBSCRIPTION_ID }}' + if (-not [String]::IsNullOrEmpty('${{ secrets.ARM_SUBSCRIPTION_ID }}')) { + $tokenConfiguration.Tokens['subscriptionId'] = '${{ secrets.ARM_SUBSCRIPTION_ID }}' } - if (-not [String]::IsNullOrEmpty('${{ env.ARM_MGMTGROUP_ID }}')) { - $tokenConfiguration.Tokens['managementGroupId'] = '${{ env.ARM_MGMTGROUP_ID }}' + if (-not [String]::IsNullOrEmpty('${{ secrets.ARM_MGMTGROUP_ID }}')) { + $tokenConfiguration.Tokens['managementGroupId'] = '${{ secrets.ARM_MGMTGROUP_ID }}' } - if (-not [String]::IsNullOrEmpty('${{ env.DEPLOYMENT_SP_ID }}')) { + if (-not [String]::IsNullOrEmpty('${{ secrets.DEPLOYMENT_SP_ID }}')) { $tokenConfiguration.Tokens['deploymentSpId'] = $servicePrincipalObjectId } - if (-not [String]::IsNullOrEmpty('${{ env.ARM_TENANT_ID }}')) { - $tokenConfiguration.Tokens['tenantId'] = '${{ env.ARM_TENANT_ID }}' + if (-not [String]::IsNullOrEmpty('${{ secrets.ARM_TENANT_ID }}')) { + $tokenConfiguration.Tokens['tenantId'] = '${{ secrets.ARM_TENANT_ID }}' } # Set and print test output path @@ -126,7 +126,7 @@ runs: $testContainerData = @{ moduleFolderPaths = $moduleFolderPaths tokenConfiguration = $tokenConfiguration - allowPreviewVersionsInAPITests = [System.Convert]::ToBoolean('${{ env.allowPreviewVersionsInAPITests }}') + allowPreviewVersionsInAPITests = [System.Convert]::ToBoolean('${{ secrets.allowPreviewVersionsInAPITests }}') } Write-Verbose 'Invoke test with' -Verbose From 0c7b61fe6d54eddaed96442a232b289b5753cce8 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 23:32:12 +0100 Subject: [PATCH 225/260] prerelease --- .github/workflows/ms.resources.resourcegroups.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index e3073f023d..29f084f2b5 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -79,3 +79,4 @@ jobs: modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + prerelease: false From 17fa094fdd7997b2c04bf12ed93d6b00c4e4d810 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 23:39:23 +0100 Subject: [PATCH 226/260] env --- .../templates/validateModulePester/action.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/templates/validateModulePester/action.yml b/.github/actions/templates/validateModulePester/action.yml index 455d53dfeb..3bcd7eb3f6 100644 --- a/.github/actions/templates/validateModulePester/action.yml +++ b/.github/actions/templates/validateModulePester/action.yml @@ -60,7 +60,7 @@ runs: - name: Azure Login uses: Azure/login@v1 with: - creds: ${{ secrets.AZURE_CREDENTIALS }} + creds: ${{ env.AZURE_CREDENTIALS }} enable-AzPSSession: true # [Module Pester Test] task(s) @@ -99,17 +99,17 @@ runs: TokenSuffix = $GlobalVariablesObject | Select-Object -ExpandProperty tokenSuffix } - if (-not [String]::IsNullOrEmpty('${{ secrets.ARM_SUBSCRIPTION_ID }}')) { - $tokenConfiguration.Tokens['subscriptionId'] = '${{ secrets.ARM_SUBSCRIPTION_ID }}' + if (-not [String]::IsNullOrEmpty('${{ env.ARM_SUBSCRIPTION_ID }}')) { + $tokenConfiguration.Tokens['subscriptionId'] = '${{ env.ARM_SUBSCRIPTION_ID }}' } - if (-not [String]::IsNullOrEmpty('${{ secrets.ARM_MGMTGROUP_ID }}')) { - $tokenConfiguration.Tokens['managementGroupId'] = '${{ secrets.ARM_MGMTGROUP_ID }}' + if (-not [String]::IsNullOrEmpty('${{ env.ARM_MGMTGROUP_ID }}')) { + $tokenConfiguration.Tokens['managementGroupId'] = '${{ env.ARM_MGMTGROUP_ID }}' } - if (-not [String]::IsNullOrEmpty('${{ secrets.DEPLOYMENT_SP_ID }}')) { + if (-not [String]::IsNullOrEmpty('${{ env.DEPLOYMENT_SP_ID }}')) { $tokenConfiguration.Tokens['deploymentSpId'] = $servicePrincipalObjectId } - if (-not [String]::IsNullOrEmpty('${{ secrets.ARM_TENANT_ID }}')) { - $tokenConfiguration.Tokens['tenantId'] = '${{ secrets.ARM_TENANT_ID }}' + if (-not [String]::IsNullOrEmpty('${{ env.ARM_TENANT_ID }}')) { + $tokenConfiguration.Tokens['tenantId'] = '${{ env.ARM_TENANT_ID }}' } # Set and print test output path @@ -126,7 +126,7 @@ runs: $testContainerData = @{ moduleFolderPaths = $moduleFolderPaths tokenConfiguration = $tokenConfiguration - allowPreviewVersionsInAPITests = [System.Convert]::ToBoolean('${{ secrets.allowPreviewVersionsInAPITests }}') + allowPreviewVersionsInAPITests = [System.Convert]::ToBoolean('${{ env.allowPreviewVersionsInAPITests }}') } Write-Verbose 'Invoke test with' -Verbose From 863caaaba6e1990c9a11ba5cd6f468230116a386 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 23:39:46 +0100 Subject: [PATCH 227/260] prerelease --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 29f084f2b5..ae29c97b1d 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -79,4 +79,4 @@ jobs: modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' - prerelease: false + # prerelease: false From 431ae8845190ae74877ad87b157ab110b39c3f14 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sat, 28 Jan 2023 23:51:36 +0100 Subject: [PATCH 228/260] prerelease --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index ae29c97b1d..29f084f2b5 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -79,4 +79,4 @@ jobs: modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' - # prerelease: false + prerelease: false From d6ee4d18c5a9b87ea02322cfe2da323034aa19d5 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sun, 29 Jan 2023 20:57:11 +0100 Subject: [PATCH 229/260] pass secrets --- .github/workflows/ms.resources.resourcegroups.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 29f084f2b5..7017948eaa 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -80,3 +80,9 @@ jobs: removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' prerelease: false + secrets: + AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' From 2bedddb23edf00a25a9d395352a8aa3a68f9c461 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sun, 29 Jan 2023 21:00:48 +0100 Subject: [PATCH 230/260] pass secrets templ --- .../workflows/ms.resources.resourcegroups.yml | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 7017948eaa..44b64a9b98 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -13,6 +13,18 @@ on: description: 'Publish prerelease module' required: false default: false + secrets: + AZURE_CREDENTIALS: + required: true + ARM_SUBSCRIPTION_ID: + required: true + ARM_MGMTGROUP_ID: + required: true + ARM_TENANT_ID: + required: true + TOKEN_NAMEPREFIX: + required: true + push: branches: - main @@ -28,11 +40,11 @@ env: # variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/resourceGroups' workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' - # AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - # ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - # ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - # TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' + AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} From eef8621c81c782b15c6a629ce0861e01588d5c3c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sun, 29 Jan 2023 21:02:53 +0100 Subject: [PATCH 231/260] pass secrets template --- .../workflows/ms.resources.resourcegroups.yml | 22 +++++-------------- .github/workflows/template.module.yml | 11 ++++++++++ 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 44b64a9b98..7017948eaa 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -13,18 +13,6 @@ on: description: 'Publish prerelease module' required: false default: false - secrets: - AZURE_CREDENTIALS: - required: true - ARM_SUBSCRIPTION_ID: - required: true - ARM_MGMTGROUP_ID: - required: true - ARM_TENANT_ID: - required: true - TOKEN_NAMEPREFIX: - required: true - push: branches: - main @@ -40,11 +28,11 @@ env: # variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/resourceGroups' workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' + # AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + # ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + # ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + # TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index e678a91299..375d693500 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -20,6 +20,17 @@ on: type: string description: 'Relative path to the module folder' required: true + secrets: + AZURE_CREDENTIALS: + required: true + ARM_SUBSCRIPTION_ID: + required: true + ARM_MGMTGROUP_ID: + required: true + ARM_TENANT_ID: + required: true + TOKEN_NAMEPREFIX: + required: true env: variablesPath: 'settings.yml' From 46446b868c05d164a0863e195043561512b8cb9b Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sun, 29 Jan 2023 21:06:31 +0100 Subject: [PATCH 232/260] deployment template --- .github/workflows/template.module.yml | 58 +++++++++++++-------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 375d693500..8331e0e8bd 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -63,35 +63,35 @@ jobs: modulePath: '${{ inputs.modulePath }}' moduleTestFilePath: '${{ env.moduleTestFilePath }}' - # ############################# - # # Deployment validation # - # ############################# - # job_module_deploy_validation: - # runs-on: ubuntu-20.04 - # name: 'Deployment validation' - # needs: - # - job_module_pester_validation - # strategy: - # fail-fast: false - # matrix: - # moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v3 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: ./.github/actions/templates/setEnvironmentVariables - # with: - # variablesPath: ${{ env.variablesPath }} - # - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' - # location: '${{ env.location }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ inputs.removeDeployment }}' + ############################# + # Deployment validation # + ############################# + job_module_deploy_validation: + runs-on: ubuntu-20.04 + name: 'Deployment validation' + needs: + - job_module_pester_validation + strategy: + fail-fast: false + matrix: + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + steps: + - name: 'Checkout' + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} + - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' + location: '${{ env.location }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ inputs.removeDeployment }}' # ################## # # Publishing # From 427da5bc017dbeb7f0935f2e3eadbe7c6965198d Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sun, 29 Jan 2023 21:08:19 +0100 Subject: [PATCH 233/260] deployment template --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 7017948eaa..d1fe97ec15 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -79,7 +79,7 @@ jobs: modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' - prerelease: false + # prerelease: false secrets: AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' From ee4e9ee53bbd445cede4c2ee9b3194e777ae1714 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 30 Jan 2023 12:27:37 +0100 Subject: [PATCH 234/260] inherit secrets --- .../workflows/ms.resources.resourcegroups.yml | 12 +++++----- .github/workflows/template.module.yml | 22 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index d1fe97ec15..0dcc9af7f9 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -80,9 +80,9 @@ jobs: removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' # prerelease: false - secrets: - AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' + secrets: inherit + # AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' + # ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' + # ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' + # TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 8331e0e8bd..405e966ae1 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -20,17 +20,17 @@ on: type: string description: 'Relative path to the module folder' required: true - secrets: - AZURE_CREDENTIALS: - required: true - ARM_SUBSCRIPTION_ID: - required: true - ARM_MGMTGROUP_ID: - required: true - ARM_TENANT_ID: - required: true - TOKEN_NAMEPREFIX: - required: true + # secrets: + # AZURE_CREDENTIALS: + # required: true + # ARM_SUBSCRIPTION_ID: + # required: true + # ARM_MGMTGROUP_ID: + # required: true + # ARM_TENANT_ID: + # required: true + # TOKEN_NAMEPREFIX: + # required: true env: variablesPath: 'settings.yml' From 4ecceed3ed2b1424c2bd5ac32aa2ad950c1ee3ed Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 30 Jan 2023 22:00:41 +0100 Subject: [PATCH 235/260] up template --- .../workflows/ms.resources.resourcegroups.yml | 5 ++-- .github/workflows/template.module.yml | 23 ++++++++----------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 69519c46ed..ca37d1635f 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -70,10 +70,9 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: '${{ steps.get-workflow-param.outputs.removeDeployment }}' workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} - modulePath: '${{ env.modulePath}}' + modulePath: '${{ env.modulePath }}' ############################## @@ -87,7 +86,7 @@ jobs: uses: ./.github/workflows/template.module.yml with: modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' # prerelease: false secrets: inherit diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 405e966ae1..bd0e5f05cc 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -3,15 +3,10 @@ name: '.Template: Module Pipeline' on: workflow_call: inputs: - removeDeployment: + workflowInput: type: string - description: 'Remove deployed module' + description: 'Input from the workflow caller in Json format' required: true - prerelease: - type: boolean - description: 'Publish prerelease module' - required: false - default: false modulePath: type: string description: 'Relative path to the module folder' @@ -57,11 +52,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ inputs.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' + # - name: 'Run tests' + # uses: ./.github/actions/templates/validateModulePester + # with: + # modulePath: '${{ inputs.modulePath }}' + # moduleTestFilePath: '${{ env.moduleTestFilePath }}' ############################# # Deployment validation # @@ -74,7 +69,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(inputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -91,7 +86,7 @@ jobs: location: '${{ env.location }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ inputs.removeDeployment }}' + removeDeployment: '${{ fromJson(inputs.workflowInput).removeDeployment }}' # ################## # # Publishing # From f578c21ebbb5e9c947c1603c4a834209355877c0 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 30 Jan 2023 22:02:46 +0100 Subject: [PATCH 236/260] up caller --- .github/workflows/ms.resources.resourcegroups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index ca37d1635f..75663befb8 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -35,7 +35,7 @@ on: - '!*/**/readme.md' env: - # variablesPath: 'settings.yml' + # # variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/resourceGroups' workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' # AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} From cbb8074a51f495aec353d339c80ec051f92ea6f7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 30 Jan 2023 22:09:11 +0100 Subject: [PATCH 237/260] publish --- .github/workflows/template.module.yml | 79 +++++++++++++-------------- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index bd0e5f05cc..c29689869a 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -79,44 +79,43 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ fromJson(inputs.workflowInput).removeDeployment }}' + # - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' + # uses: ./.github/actions/templates/validateModuleDeployment + # with: + # templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' + # location: '${{ env.location }}' + # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + # removeDeployment: '${{ fromJson(inputs.workflowInput).removeDeployment }}' - # ################## - # # Publishing # - # ################## - # job_publish_module: - # name: 'Publishing' - # if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - # # if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - # runs-on: ubuntu-20.04 - # needs: - # - job_module_deploy_validation - # steps: - # - name: 'Checkout' - # uses: actions/checkout@v3 - # with: - # fetch-depth: 0 - # - name: Set environment variables - # uses: ./.github/actions/templates/setEnvironmentVariables - # with: - # variablesPath: ${{ env.variablesPath }} - # - name: 'Publishing' - # uses: ./.github/actions/templates/publishModule - # with: - # templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' - # templateSpecsRGName: '${{ env.templateSpecsRGName }}' - # templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - # templateSpecsDescription: '${{ env.templateSpecsDescription }}' - # templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - # bicepRegistryName: '${{ env.bicepRegistryName }}' - # bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - # bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - # bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - # publishLatest: '${{ env.publishLatest }}' + ################## + # Publishing # + ################## + job_publish_module: + name: 'Publishing' + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || fromJson(inputs.workflowInput).prerelease == 'true' + runs-on: ubuntu-20.04 + needs: + - job_module_deploy_validation + steps: + - name: 'Checkout' + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} + - name: 'Publishing' + uses: ./.github/actions/templates/publishModule + with: + templateFilePath: '${{ inputs.modulePath }}/deploy.bicep' + templateSpecsRGName: '${{ env.templateSpecsRGName }}' + templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' + templateSpecsDescription: '${{ env.templateSpecsDescription }}' + templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' + bicepRegistryName: '${{ env.bicepRegistryName }}' + bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' + bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' + bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + publishLatest: '${{ env.publishLatest }}' From c3ae9c43d421c538b98711d45efc4cfcfad80923 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 30 Jan 2023 22:09:40 +0100 Subject: [PATCH 238/260] publish prerelease --- .github/workflows/ms.resources.resourcegroups.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 75663befb8..d673dbc385 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -22,7 +22,7 @@ on: type: boolean description: 'Publish prerelease module' required: false - default: false + default: true push: branches: - main @@ -82,7 +82,6 @@ jobs: name: 'Template' needs: - job_initialize_pipeline - # uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main uses: ./.github/workflows/template.module.yml with: modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' From c54bbfe7ccfacae6d85aa66f20f07321299f16e0 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 31 Jan 2023 20:10:16 +0100 Subject: [PATCH 239/260] add skip job input --- .../workflows/ms.resources.resourcegroups.yml | 20 ++----- .github/workflows/template.module.yml | 53 ++++++++----------- 2 files changed, 27 insertions(+), 46 deletions(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index d673dbc385..123279afa6 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -22,7 +22,7 @@ on: type: boolean description: 'Publish prerelease module' required: false - default: true + default: false push: branches: - main @@ -35,14 +35,8 @@ on: - '!*/**/readme.md' env: - # # variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/resourceGroups' workflowPath: '.github/workflows/ms.resources.resourcegroups.yml' - # AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - # ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - # ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - # TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} @@ -79,18 +73,12 @@ jobs: # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Template' + name: 'Module' needs: - - job_initialize_pipeline + - job_initialize_pipeline uses: ./.github/workflows/template.module.yml with: - modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' - # prerelease: false + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - # AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' - # ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - # ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - # TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index c29689869a..634471cc3d 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -7,25 +7,14 @@ on: type: string description: 'Input from the workflow caller in Json format' required: true - modulePath: + moduleTestFilePaths: type: string - description: 'Relative path to the module folder' + description: 'List of relative path to the module test files in Json format' required: true - moduleTestFilePaths: + modulePath: type: string description: 'Relative path to the module folder' required: true - # secrets: - # AZURE_CREDENTIALS: - # required: true - # ARM_SUBSCRIPTION_ID: - # required: true - # ARM_MGMTGROUP_ID: - # required: true - # ARM_TENANT_ID: - # required: true - # TOKEN_NAMEPREFIX: - # required: true env: variablesPath: 'settings.yml' @@ -36,13 +25,13 @@ env: TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' jobs: - ######################### # Static validation # ######################### - job_module_pester_validation: + job_module_static_validation: runs-on: ubuntu-20.04 name: 'Static validation' + if: (fromJson(inputs.workflowInput)).staticValidation == 'true' steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -52,11 +41,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - # - name: 'Run tests' - # uses: ./.github/actions/templates/validateModulePester - # with: - # modulePath: '${{ inputs.modulePath }}' - # moduleTestFilePath: '${{ env.moduleTestFilePath }}' + - name: 'Run tests' + uses: ./.github/actions/templates/validateModulePester + with: + modulePath: '${{ inputs.modulePath }}' + moduleTestFilePath: '${{ env.moduleTestFilePath }}' ############################# # Deployment validation # @@ -64,8 +53,12 @@ jobs: job_module_deploy_validation: runs-on: ubuntu-20.04 name: 'Deployment validation' + if: | + !cancelled() && + (fromJson(inputs.workflowInput)).deploymentValidation == 'true' && + needs.job_module_static_validation.conclusion != 'failed' needs: - - job_module_pester_validation + - job_module_static_validation strategy: fail-fast: false matrix: @@ -79,14 +72,14 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - # - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - # uses: ./.github/actions/templates/validateModuleDeployment - # with: - # templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' - # location: '${{ env.location }}' - # subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - # managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - # removeDeployment: '${{ fromJson(inputs.workflowInput).removeDeployment }}' + - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' + uses: ./.github/actions/templates/validateModuleDeployment + with: + templateFilePath: '${{ inputs.modulePath }}/${{ matrix.moduleTestFilePaths }}' + location: '${{ env.location }}' + subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' + managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' + removeDeployment: '${{ fromJson(inputs.workflowInput).removeDeployment }}' ################## # Publishing # From b1db6290e73ed943a074ccaae3fc5ecf8a1bcae8 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 31 Jan 2023 20:21:09 +0100 Subject: [PATCH 240/260] add network --- .../workflows/ms.network.virtualnetworks.yml | 35 +++++++------------ 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 28c0fdcef8..ff67dacc12 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -26,6 +26,7 @@ on: push: branches: - main + - reus-wkf-donotdelete paths: - '.github/workflows/ms.network.virtualnetworks.yml' - 'modules/Microsoft.Network/virtualNetworks/**' @@ -34,14 +35,8 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/virtualNetworks' workflowPath: '.github/workflows/ms.network.virtualnetworks.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} @@ -69,27 +64,21 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: '${{ steps.get-workflow-param.outputs.removeDeployment }}' - versioningOption: '${{ steps.get-workflow-param.outputs.versioningOption }}' - customVersion: '${{ steps.get-workflow-param.outputs.customVersion }}' - modulePath: '${{ env.modulePath}}' + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' + ############################## # Call reusable workflow # ############################## call-workflow-passing-data: - name: 'Template' + name: 'Module' needs: - - job_set_workflow_param - uses: eriqua/ResourceModules/.github/workflows/template.module.yml@main + - job_initialize_pipeline + uses: ./.github/workflows/template.module.yml with: - modulePath: '${{ needs.job_set_workflow_param.outputs.modulePath }}' - removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' - secrets: - AZURE_CREDENTIALS: '${{ secrets.AZURE_CREDENTIALS }}' - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit From 7b7e22549fa5fd4ef98611465df41be84afd3693 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 31 Jan 2023 20:29:32 +0100 Subject: [PATCH 241/260] trigger path for template --- .github/workflows/ms.network.virtualnetworks.yml | 1 + .github/workflows/ms.resources.resourcegroups.yml | 1 + .github/workflows/template.module.yml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index ff67dacc12..b7658bf6e1 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -28,6 +28,7 @@ on: - main - reus-wkf-donotdelete paths: + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.virtualnetworks.yml' - 'modules/Microsoft.Network/virtualNetworks/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 123279afa6..bb1ad100c8 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -28,6 +28,7 @@ on: - main - reus-wkf-donotdelete paths: + - '.github/workflows/template.module.yml' - '.github/workflows/ms.resources.resourcegroups.yml' - 'modules/Microsoft.Resources/resourceGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 634471cc3d..daf75134e5 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -56,7 +56,7 @@ jobs: if: | !cancelled() && (fromJson(inputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.conclusion != 'failed' + needs.job_module_static_validation.result != 'failure' needs: - job_module_static_validation strategy: From 3c30cb5ee39224bcb3daefcdfe1ed0526dc6d829 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 31 Jan 2023 20:33:30 +0100 Subject: [PATCH 242/260] trigger path for template actions --- .github/workflows/ms.network.virtualnetworks.yml | 1 + .github/workflows/ms.resources.resourcegroups.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index b7658bf6e1..7743c7e033 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -28,6 +28,7 @@ on: - main - reus-wkf-donotdelete paths: + - '.github/actions/templates/**' - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.virtualnetworks.yml' - 'modules/Microsoft.Network/virtualNetworks/**' diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index bb1ad100c8..08f32ef534 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -28,6 +28,7 @@ on: - main - reus-wkf-donotdelete paths: + - '.github/actions/templates/**' - '.github/workflows/template.module.yml' - '.github/workflows/ms.resources.resourcegroups.yml' - 'modules/Microsoft.Resources/resourceGroups/**' From 8723745145cba74e6b424332ec5ac1810484dd85 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Tue, 31 Jan 2023 20:46:26 +0100 Subject: [PATCH 243/260] revert settings and temp trigger --- .../workflows/ms.network.virtualnetworks.yml | 1 - .../ms.network.virtualnetworks_backup.yml | 147 ------------------ .../workflows/ms.resources.resourcegroups.yml | 1 - settings.yml | 4 +- 4 files changed, 2 insertions(+), 151 deletions(-) delete mode 100644 .github/workflows/ms.network.virtualnetworks_backup.yml diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 7743c7e033..cdf6ea3bcc 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -26,7 +26,6 @@ on: push: branches: - main - - reus-wkf-donotdelete paths: - '.github/actions/templates/**' - '.github/workflows/template.module.yml' diff --git a/.github/workflows/ms.network.virtualnetworks_backup.yml b/.github/workflows/ms.network.virtualnetworks_backup.yml deleted file mode 100644 index dbc18436cb..0000000000 --- a/.github/workflows/ms.network.virtualnetworks_backup.yml +++ /dev/null @@ -1,147 +0,0 @@ -name: 'Network: VirtualNetworks' - -on: - workflow_dispatch: - inputs: - removeDeployment: - type: boolean - description: 'Remove deployed module' - required: false - default: 'true' - versioningOption: - type: choice - description: 'The mode to handle the version increments [major|minor|patch]' - required: false - default: 'patch' - options: - - major - - minor - - patch - customVersion: - description: 'Custom version to apply. Used only if higher than latest' - required: false - default: '0.0.1' - # push: - # branches: - # - main - # paths: - # - '.github/actions/templates/**' - # - '.github/workflows/ms.network.virtualnetworks.yml' - # - 'arm/Microsoft.Network/virtualNetworks/**' - # - '!*/**/readme.md' - # - 'utilities/pipelines/**' - # - '!utilities/pipelines/dependencies/**' - -env: - modulePath: 'arm/Microsoft.Network/virtualNetworks' - workflowPath: '.github/workflows/ms.network.virtualnetworks.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - DEPLOYMENT_SP_ID: '${{ secrets.DEPLOYMENT_SP_ID }}' - -jobs: - ############################ - # SET INPUT PARAMETERS # - ############################ - job_set_workflow_param: - runs-on: ubuntu-20.04 - name: 'Set input parameters to output variables' - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Set input parameters' - id: get-workflow-param - uses: ./.github/actions/templates/getWorkflowInput - with: - workflowPath: '${{ env.workflowPath}}' - outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - versioningOption: ${{ steps.get-workflow-param.outputs.versioningOption }} - customVersion: ${{ steps.get-workflow-param.outputs.customVersion }} - - #################### - # Pester Tests # - #################### - job_module_pester_validation: - runs-on: ubuntu-20.04 - name: 'Pester tests' - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - - #################### - # Deployment tests # - #################### - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deployment tests' - needs: - - job_set_workflow_param - - job_module_pester_validation - strategy: - fail-fast: false - matrix: - parameterFilePaths: ['parameters.json', 'vnetPeering.parameters.json'] - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/.parameters/${{ matrix.parameterFilePaths }}' - location: '${{ env.defaultLocation }}' - resourceGroupName: '${{ env.resourceGroupName }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_set_workflow_param.outputs.removeDeployment }}' - - ############### - # PUBLISH # - ############### - job_publish_module: - name: 'Publish module' - if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) - runs-on: ubuntu-20.04 - needs: - - job_set_workflow_param - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set environment variables - uses: deep-mm/set-variables@v1.0 - with: - variableFileName: 'global.variables' - - name: 'Publish module' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - versioningOption: '${{ needs.job_set_workflow_param.outputs.versioningOption }}' - customVersion: '${{ needs.job_set_workflow_param.outputs.customVersion }}' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 08f32ef534..c41b1082b3 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -26,7 +26,6 @@ on: push: branches: - main - - reus-wkf-donotdelete paths: - '.github/actions/templates/**' - '.github/workflows/template.module.yml' diff --git a/settings.yml b/settings.yml index b3cceaea72..429b307358 100644 --- a/settings.yml +++ b/settings.yml @@ -13,7 +13,7 @@ variables: # the 'localToken_' prefix will be removed from the key name when the pipelines run. # e.g. if you have a token in your parameter file as <>, then the token defined in this file looks like "localToken_customKey": 'value' - localToken_namePrefix: 'rke' # A 3-5 character length unique string, included in the resources names (e.g. 'cntso'). Used for local module testing and pipelines. + localToken_namePrefix: '' # A 3-5 character length unique string, included in the resources names (e.g. 'cntso'). Used for local module testing and pipelines. # this determines the starting prefix and ending suffix of the token in your file. tokenPrefix: '<<' @@ -68,7 +68,7 @@ variables: # ------------------------------- # bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry - bicepRegistryName: adprkeazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. + bicepRegistryName: adpsxxazacrx001 # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created. bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR) bicepRegistryRgLocation: 'West Europe' # The location of the resource group to publish to From 787e861d40b73b47be9f0170df67d1a40bb5035a Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:38:40 +0100 Subject: [PATCH 244/260] replace main workflow --- .github/workflows/ms.aad.domainservices.yml | 98 +++--------------- .../workflows/ms.apimanagement.service.yml | 98 +++--------------- ...s.appconfiguration.configurationstores.yml | 98 +++--------------- .../ms.automation.automationaccounts.yml | 98 +++--------------- .github/workflows/ms.batch.batchaccounts.yml | 98 +++--------------- .github/workflows/ms.cache.redis.yml | 98 +++--------------- .../ms.cognitiveservices.accounts.yml | 99 +++---------------- .../workflows/ms.compute.availabilitysets.yml | 98 +++--------------- .../ms.compute.diskencryptionsets.yml | 98 +++--------------- .github/workflows/ms.compute.disks.yml | 98 +++--------------- .github/workflows/ms.compute.galleries.yml | 98 +++--------------- .github/workflows/ms.compute.images.yml | 98 +++--------------- .../ms.compute.proximityplacementgroups.yml | 98 +++--------------- .../workflows/ms.compute.virtualmachines.yml | 98 +++--------------- .../ms.compute.virtualmachinescalesets.yml | 98 +++--------------- .github/workflows/ms.consumption.budgets.yml | 98 +++--------------- .../ms.containerinstance.containergroups.yml | 98 +++--------------- .../ms.containerregistry.registries.yml | 98 +++--------------- .../ms.containerservice.managedclusters.yml | 98 +++--------------- .../workflows/ms.databricks.workspaces.yml | 98 +++--------------- .../workflows/ms.datafactory.factories.yml | 98 +++--------------- .../ms.dataprotection.backupvaults.yml | 98 +++--------------- ...esktopvirtualization.applicationgroups.yml | 98 +++--------------- .../ms.desktopvirtualization.hostpools.yml | 98 +++--------------- .../ms.desktopvirtualization.scalingplans.yml | 98 +++--------------- .../ms.desktopvirtualization.workspaces.yml | 98 +++--------------- .../ms.documentdb.databaseaccounts.yml | 98 +++--------------- .github/workflows/ms.eventgrid.domains.yml | 98 +++--------------- .../workflows/ms.eventgrid.systemtopics.yml | 98 +++--------------- .github/workflows/ms.eventgrid.topics.yml | 98 +++--------------- .github/workflows/ms.eventhub.namespaces.yml | 98 +++--------------- .github/workflows/ms.healthbot.healthbots.yml | 98 +++--------------- .../workflows/ms.insights.actiongroups.yml | 98 +++--------------- .../ms.insights.activitylogalerts.yml | 98 +++--------------- .github/workflows/ms.insights.components.yml | 98 +++--------------- .../ms.insights.datacollectionendpoints.yml | 98 +++--------------- .../ms.insights.datacollectionrules.yml | 98 +++--------------- .../ms.insights.diagnosticsettings.yml | 98 +++--------------- .../workflows/ms.insights.metricalerts.yml | 98 +++--------------- .../ms.insights.privatelinkscopes.yml | 98 +++--------------- .../ms.insights.scheduledqueryrules.yml | 98 +++--------------- .github/workflows/ms.keyvault.vaults.yml | 98 +++--------------- .../ms.kubernetesconfiguration.extensions.yml | 98 +++--------------- ...rnetesconfiguration.fluxconfigurations.yml | 98 +++--------------- .github/workflows/ms.logic.workflows.yml | 98 +++--------------- .../ms.machinelearningservices.workspaces.yml | 98 +++--------------- ....maintenance.maintenanceconfigurations.yml | 98 +++--------------- ...managedidentity.userassignedidentities.yml | 98 +++--------------- ...anagedservices.registrationdefinitions.yml | 98 +++--------------- .../ms.management.managementgroups.yml | 98 +++--------------- .../workflows/ms.netapp.netappaccounts.yml | 98 +++--------------- .../ms.network.applicationgateways.yml | 98 +++--------------- ...ngatewaywebapplicationfirewallpolicies.yml | 98 +++--------------- .../ms.network.applicationsecuritygroups.yml | 98 +++--------------- .../workflows/ms.network.azurefirewalls.yml | 98 +++--------------- .github/workflows/ms.network.bastionhosts.yml | 98 +++--------------- .github/workflows/ms.network.connections.yml | 98 +++--------------- .../ms.network.ddosprotectionplans.yml | 98 +++--------------- .github/workflows/ms.network.dnsresolvers.yml | 98 +++--------------- .../ms.network.expressroutecircuits.yml | 98 +++--------------- .../workflows/ms.network.firewallpolicies.yml | 98 +++--------------- .github/workflows/ms.network.frontdoors.yml | 98 +++--------------- .github/workflows/ms.network.ipgroups.yml | 98 +++--------------- .../workflows/ms.network.loadbalancers.yml | 98 +++--------------- .../ms.network.localnetworkgateways.yml | 98 +++--------------- .github/workflows/ms.network.natgateways.yml | 98 +++--------------- .../ms.network.networkinterfaces.yml | 98 +++--------------- .../workflows/ms.network.networkmanagers.yml | 98 +++--------------- .../ms.network.networksecuritygroups.yml | 98 +++--------------- .../workflows/ms.network.networkwatchers.yml | 98 +++--------------- .../workflows/ms.network.privatednszones.yml | 98 +++--------------- .../workflows/ms.network.privateendpoints.yml | 98 +++--------------- .../ms.network.publicipaddresses.yml | 98 +++--------------- .../workflows/ms.network.publicipprefixes.yml | 98 +++--------------- .github/workflows/ms.network.routetables.yml | 98 +++--------------- .../ms.network.trafficmanagerprofiles.yml | 98 +++--------------- .github/workflows/ms.network.virtualhubs.yml | 98 +++--------------- .../ms.network.virtualnetworkgateways.yml | 98 +++--------------- .github/workflows/ms.network.virtualwans.yml | 98 +++--------------- .github/workflows/ms.network.vpngateways.yml | 98 +++--------------- .github/workflows/ms.network.vpnsites.yml | 98 +++--------------- .../ms.operationalinsights.workspaces.yml | 98 +++--------------- .../ms.operationsmanagement.solutions.yml | 98 +++--------------- .../ms.powerbidedicated.capacities.yml | 98 +++--------------- .../workflows/ms.recoveryservices.vaults.yml | 98 +++--------------- .../ms.resources.deploymentscripts.yml | 98 +++--------------- .../workflows/ms.resources.resourcegroups.yml | 2 +- .github/workflows/ms.resources.tags.yml | 98 +++--------------- .../ms.security.azuresecuritycenter.yml | 98 +++--------------- .../workflows/ms.servicebus.namespaces.yml | 98 +++--------------- .../workflows/ms.servicefabric.clusters.yml | 98 +++--------------- .../workflows/ms.signalrservice.signalr.yml | 98 +++--------------- .../workflows/ms.signalrservice.webpubsub.yml | 98 +++--------------- .github/workflows/ms.sql.managedinstances.yml | 98 +++--------------- .github/workflows/ms.sql.servers.yml | 98 +++--------------- .../workflows/ms.storage.storageaccounts.yml | 98 +++--------------- .../workflows/ms.synapse.privatelinkhubs.yml | 98 +++--------------- .github/workflows/ms.synapse.workspaces.yml | 98 +++--------------- ...ms.virtualmachineimages.imagetemplates.yml | 98 +++--------------- .github/workflows/ms.web.connections.yml | 98 +++--------------- .../workflows/ms.web.hostingenvironments.yml | 98 +++--------------- .github/workflows/ms.web.serverfarms.yml | 98 +++--------------- .github/workflows/ms.web.sites.yml | 98 +++--------------- .github/workflows/ms.web.staticsites.yml | 98 +++--------------- 104 files changed, 1237 insertions(+), 8860 deletions(-) diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index 268f7e579a..c8d561b7d5 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index ee7a683190..4c45714b14 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index cda364e299..5c961af77d 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 03b14a387b..78d64bb60c 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -63,94 +63,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index 904902b6fd..297683c10b 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 57eeea179d..5a13fafa95 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 60708677db..73b896f65b 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -72,94 +72,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index f2ba3a19c8..8557a0312e 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index a8ade40a0f..b9576a0952 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index 27f51622e1..3d7e59d24c 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index 74c2cc2236..3d8cef2ff2 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index 47c610e2c7..710b14e7ae 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 97c3487b60..98cb9f3856 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 18895ea747..107cbc0fe1 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index e1adf7589d..c4eaa04c9a 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index ae28d0b3ed..5f61f450ff 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 17e7aad458..5b22af3539 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index f3e1606eab..afee9e3773 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index f49922f390..465f7ee731 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index d913271851..f144403371 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index a441d34a4c..1c43245a39 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 68d5ff7a70..1a953f2f68 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index dc187c8238..be76de778d 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index b168568567..aab647e9ac 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index 21c2031cb2..8dad5cab3f 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index 5c888bf6f3..9e228b738a 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index 69f74cf661..4fb0f80b86 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.eventgrid.domains.yml b/.github/workflows/ms.eventgrid.domains.yml index 4c55876389..85e823e50e 100644 --- a/.github/workflows/ms.eventgrid.domains.yml +++ b/.github/workflows/ms.eventgrid.domains.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index 8d48ea4c4c..3cc1951957 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index 8b458574c0..d52a0e3af4 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 7594fa0df6..353d24eaa5 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index e1f884fbc2..9940a0282b 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 1e5fa98eac..f8d6895b46 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 8f3a7ff511..9ddf6e89d3 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index cb936c4756..b21ac0d218 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.datacollectionendpoints.yml b/.github/workflows/ms.insights.datacollectionendpoints.yml index 643164065a..06f6158b82 100644 --- a/.github/workflows/ms.insights.datacollectionendpoints.yml +++ b/.github/workflows/ms.insights.datacollectionendpoints.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.datacollectionrules.yml b/.github/workflows/ms.insights.datacollectionrules.yml index 8e11fc92d5..fa00ba77e9 100644 --- a/.github/workflows/ms.insights.datacollectionrules.yml +++ b/.github/workflows/ms.insights.datacollectionrules.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 23783d532e..a87b48f062 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index 5a35d1d3f5..e8b751022f 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 45a9fed005..343bf5dd7d 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index ab93b02c0d..8e4a21f3f8 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index e94ff60d14..f04cf814e0 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index 983955ffd9..e8018d7bda 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 7ddd9e5dba..59597e64b5 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index da2ce8b803..5fe22bb9b4 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index 3c1aa598be..094b90d1f6 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml index a8a0888595..d5ef6ec078 100644 --- a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml +++ b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index 79cf32c4f0..fe7f832e72 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index 726758b34a..2b9ef5475e 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 5a6da11be2..a0fe20902e 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index 96c0d36cf1..c12d40444b 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 610c7acae8..be3e7c6686 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 5d8268aa67..feb0e93be1 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 3210d091af..17f602fb0d 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index be1aea66c4..94c059bb14 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index e012f6f64f..fd0b299f6f 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index 3e2eeab4b1..e6087b03a9 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index 2267fa31dd..f3eedc0d07 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index 293b94a77a..a1cdbe2ce7 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index 2b283225d4..d088868154 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index 2b6d2218aa..e8836a73af 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index be1aa277ad..5138e8b11a 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index b94cf3e7e3..29cf3bfcb2 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index 896d6c75ed..4b786fccab 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index 473c3b107c..c295bc91e4 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index 440db032e6..7b2ec2444c 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index 8db68cdf99..f9e3b03164 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.networkmanagers.yml b/.github/workflows/ms.network.networkmanagers.yml index ee8207cf96..d8cfd6045b 100644 --- a/.github/workflows/ms.network.networkmanagers.yml +++ b/.github/workflows/ms.network.networkmanagers.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 16b5a04382..24f9509254 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index c28786b631..938195f449 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index a910f40019..f6805f21d4 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index e2d577b34c..fc016f96d6 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index 064ca6175c..8e9b398282 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index 3e048fd4e9..0b504cfa34 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index 6d3d42f00e..977f8404ff 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index 3282deb15b..7c3ad2591e 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index f4a4e11118..f06b5ed03c 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index 0646d78efb..c4632c3c26 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index 178612f9fb..6fc01364dd 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index 6421a6fbc8..c67e3d12e0 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index fc0ecd21e2..19f0ee7374 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 01aa2d2a50..3c11840267 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index af57204492..69f5d5f2ef 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index c1ad451dd7..e51983fdc5 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 72aa250ee9..6a5b48385c 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 1dc1d42f14..c535547ffb 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index c41b1082b3..942c6369f5 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -1,4 +1,4 @@ -name: 'Resources: ResourceGroups' +name: 'Resources - ResourceGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index 5c6a260dec..d039901b6e 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index a31d150435..7f0acb9466 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -62,94 +62,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index b66bb96987..d033e2a3dd 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index 97e0da90a7..f959ce9dd2 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.signalrservice.signalr.yml b/.github/workflows/ms.signalrservice.signalr.yml index 1fb08056dc..702409ed52 100644 --- a/.github/workflows/ms.signalrservice.signalr.yml +++ b/.github/workflows/ms.signalrservice.signalr.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index a7a38a73dd..fdc8b50e32 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 4cba242018..bcc6db7b51 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index ad6f66192c..f5d307aca2 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index bac6d238cf..5778ad4dc9 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 0ee79da690..4d7d8c7a0d 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index 712ea1b5e0..635d60e3b6 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index 421c5758ac..92fe660d51 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index ed686f80cd..8454f90c6c 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index fb6f58bad0..bf8a53c4e0 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 172ca3d7ff..3586bd9e29 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index d287f9db8c..fb81d7664f 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index ce332c324a..d9f59b97c9 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -72,94 +72,20 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' From 1978f29014ddc357e9ce2fcf2bad75adde373588 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:40:33 +0100 Subject: [PATCH 245/260] add trigger --- .github/workflows/ms.aad.domainservices.yml | 1 + .github/workflows/ms.analysisservices.servers.yml | 1 + .github/workflows/ms.apimanagement.service.yml | 1 + .github/workflows/ms.appconfiguration.configurationstores.yml | 1 + .github/workflows/ms.authorization.locks.yml | 1 + .github/workflows/ms.authorization.policyassignments.yml | 1 + .github/workflows/ms.authorization.policydefinitions.yml | 1 + .github/workflows/ms.authorization.policyexemptions.yml | 1 + .github/workflows/ms.authorization.policysetdefinitions.yml | 1 + .github/workflows/ms.authorization.roleassignments.yml | 1 + .github/workflows/ms.authorization.roledefinitions.yml | 1 + .github/workflows/ms.automation.automationaccounts.yml | 1 + .github/workflows/ms.batch.batchaccounts.yml | 1 + .github/workflows/ms.cache.redis.yml | 1 + .github/workflows/ms.cdn.profiles.yml | 1 + .github/workflows/ms.cognitiveservices.accounts.yml | 1 + .github/workflows/ms.compute.availabilitysets.yml | 1 + .github/workflows/ms.compute.diskencryptionsets.yml | 1 + .github/workflows/ms.compute.disks.yml | 1 + .github/workflows/ms.compute.galleries.yml | 1 + .github/workflows/ms.compute.images.yml | 1 + .github/workflows/ms.compute.proximityplacementgroups.yml | 1 + .github/workflows/ms.compute.virtualmachines.yml | 1 + .github/workflows/ms.compute.virtualmachinescalesets.yml | 1 + .github/workflows/ms.consumption.budgets.yml | 1 + .github/workflows/ms.containerinstance.containergroups.yml | 1 + .github/workflows/ms.containerregistry.registries.yml | 1 + .github/workflows/ms.containerservice.managedclusters.yml | 1 + .github/workflows/ms.databricks.workspaces.yml | 1 + .github/workflows/ms.datafactory.factories.yml | 1 + .github/workflows/ms.dataprotection.backupvaults.yml | 1 + .github/workflows/ms.dbforpostgresql.flexibleservers.yml | 1 + .github/workflows/ms.desktopvirtualization.applicationgroups.yml | 1 + .github/workflows/ms.desktopvirtualization.hostpools.yml | 1 + .github/workflows/ms.desktopvirtualization.scalingplans.yml | 1 + .github/workflows/ms.desktopvirtualization.workspaces.yml | 1 + .github/workflows/ms.devtestlab.labs.yml | 1 + .github/workflows/ms.documentdb.databaseaccounts.yml | 1 + .github/workflows/ms.eventgrid.domains.yml | 1 + .github/workflows/ms.eventgrid.eventsubscriptions.yml | 1 + .github/workflows/ms.eventgrid.systemtopics.yml | 1 + .github/workflows/ms.eventgrid.topics.yml | 1 + .github/workflows/ms.eventhub.namespaces.yml | 1 + .github/workflows/ms.healthbot.healthbots.yml | 1 + .github/workflows/ms.healthcareapis.workspaces.yml | 1 + .github/workflows/ms.insights.actiongroups.yml | 1 + .github/workflows/ms.insights.activitylogalerts.yml | 1 + .github/workflows/ms.insights.components.yml | 1 + .github/workflows/ms.insights.datacollectionendpoints.yml | 1 + .github/workflows/ms.insights.datacollectionrules.yml | 1 + .github/workflows/ms.insights.diagnosticsettings.yml | 1 + .github/workflows/ms.insights.metricalerts.yml | 1 + .github/workflows/ms.insights.privatelinkscopes.yml | 1 + .github/workflows/ms.insights.scheduledqueryrules.yml | 1 + .github/workflows/ms.keyvault.vaults.yml | 1 + .github/workflows/ms.kubernetesconfiguration.extensions.yml | 1 + .../workflows/ms.kubernetesconfiguration.fluxconfigurations.yml | 1 + .github/workflows/ms.logic.workflows.yml | 1 + .github/workflows/ms.machinelearningservices.workspaces.yml | 1 + .github/workflows/ms.maintenance.maintenanceconfigurations.yml | 1 + .github/workflows/ms.managedidentity.userassignedidentities.yml | 1 + .github/workflows/ms.managedservices.registrationdefinitions.yml | 1 + .github/workflows/ms.management.managementgroups.yml | 1 + .github/workflows/ms.netapp.netappaccounts.yml | 1 + .github/workflows/ms.network.applicationgateways.yml | 1 + ....network.applicationgatewaywebapplicationfirewallpolicies.yml | 1 + .github/workflows/ms.network.applicationsecuritygroups.yml | 1 + .github/workflows/ms.network.azurefirewalls.yml | 1 + .github/workflows/ms.network.bastionhosts.yml | 1 + .github/workflows/ms.network.connections.yml | 1 + .github/workflows/ms.network.ddosprotectionplans.yml | 1 + .github/workflows/ms.network.dnsresolvers.yml | 1 + .github/workflows/ms.network.expressroutecircuits.yml | 1 + .github/workflows/ms.network.firewallpolicies.yml | 1 + .github/workflows/ms.network.frontdoors.yml | 1 + .github/workflows/ms.network.ipgroups.yml | 1 + .github/workflows/ms.network.loadbalancers.yml | 1 + .github/workflows/ms.network.localnetworkgateways.yml | 1 + .github/workflows/ms.network.natgateways.yml | 1 + .github/workflows/ms.network.networkinterfaces.yml | 1 + .github/workflows/ms.network.networkmanagers.yml | 1 + .github/workflows/ms.network.networksecuritygroups.yml | 1 + .github/workflows/ms.network.networkwatchers.yml | 1 + .github/workflows/ms.network.privatednszones.yml | 1 + .github/workflows/ms.network.privateendpoints.yml | 1 + .github/workflows/ms.network.privatelinkservices.yml | 1 + .github/workflows/ms.network.publicipaddresses.yml | 1 + .github/workflows/ms.network.publicipprefixes.yml | 1 + .github/workflows/ms.network.routetables.yml | 1 + .github/workflows/ms.network.trafficmanagerprofiles.yml | 1 + .github/workflows/ms.network.virtualhubs.yml | 1 + .github/workflows/ms.network.virtualnetworkgateways.yml | 1 + .github/workflows/ms.network.virtualnetworks.yml | 1 + .github/workflows/ms.network.virtualwans.yml | 1 + .github/workflows/ms.network.vpngateways.yml | 1 + .github/workflows/ms.network.vpnsites.yml | 1 + .github/workflows/ms.operationalinsights.workspaces.yml | 1 + .github/workflows/ms.operationsmanagement.solutions.yml | 1 + .github/workflows/ms.policyinsights.remediations.yml | 1 + .github/workflows/ms.powerbidedicated.capacities.yml | 1 + .github/workflows/ms.purview.accounts.yml | 1 + .github/workflows/ms.recoveryservices.vaults.yml | 1 + .github/workflows/ms.resources.deploymentscripts.yml | 1 + .github/workflows/ms.resources.resourcegroups.yml | 1 + .github/workflows/ms.resources.tags.yml | 1 + .github/workflows/ms.security.azuresecuritycenter.yml | 1 + .github/workflows/ms.servicebus.namespaces.yml | 1 + .github/workflows/ms.servicefabric.clusters.yml | 1 + .github/workflows/ms.signalrservice.signalr.yml | 1 + .github/workflows/ms.signalrservice.webpubsub.yml | 1 + .github/workflows/ms.sql.managedinstances.yml | 1 + .github/workflows/ms.sql.servers.yml | 1 + .github/workflows/ms.storage.storageaccounts.yml | 1 + .github/workflows/ms.synapse.privatelinkhubs.yml | 1 + .github/workflows/ms.synapse.workspaces.yml | 1 + .github/workflows/ms.virtualmachineimages.imagetemplates.yml | 1 + .github/workflows/ms.web.connections.yml | 1 + .github/workflows/ms.web.hostingenvironments.yml | 1 + .github/workflows/ms.web.serverfarms.yml | 1 + .github/workflows/ms.web.sites.yml | 1 + .github/workflows/ms.web.staticsites.yml | 1 + 121 files changed, 121 insertions(+) diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index c8d561b7d5..8b7c9d8a51 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.aad.domainservices.yml' - 'modules/Microsoft.AAD/DomainServices/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 62b7d1309a..9ff63f9aad 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.analysisservices.servers.yml' - 'modules/Microsoft.AnalysisServices/servers/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index 4c45714b14..1639f735f5 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.apimanagement.service.yml' - 'modules/Microsoft.ApiManagement/service/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index 5c961af77d..c753ec19f6 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.appconfiguration.configurationstores.yml' - 'modules/Microsoft.AppConfiguration/configurationStores/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 8c50c07c19..15ac17e430 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.authorization.locks.yml' - 'modules/Microsoft.Authorization/locks/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index 3f0e723750..d5be732abf 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.authorization.policyassignments.yml' - 'modules/Microsoft.Authorization/policyAssignments/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 8e127c025b..82d4df631d 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.authorization.policydefinitions.yml' - 'modules/Microsoft.Authorization/policyDefinitions/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 6385cf7a54..32c1253db7 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.authorization.policyexemptions.yml' - 'modules/Microsoft.Authorization/policyExemptions/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index cf7853fc4d..9f6ec80d9d 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.authorization.policysetdefinitions.yml' - 'modules/Microsoft.Authorization/policySetDefinitions/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index 5f3a35688c..1c1b8aa8d9 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.authorization.roleassignments.yml' - 'modules/Microsoft.Authorization/roleAssignments/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index 02402cd434..5371078f20 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.authorization.roledefinitions.yml' - 'modules/Microsoft.Authorization/roleDefinitions/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 78d64bb60c..f0a9abc31d 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -19,6 +19,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.automation.automationaccounts.yml' - 'modules/Microsoft.Automation/automationAccounts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index 297683c10b..d99dc97ec7 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.batch.batchaccounts.yml' - 'modules/Microsoft.Batch/batchAccounts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 5a13fafa95..15e4cc4aab 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.cache.redis.yml' - 'modules/Microsoft.Cache/redis/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.cdn.profiles.yml b/.github/workflows/ms.cdn.profiles.yml index 9b28dd4886..ff456a31da 100644 --- a/.github/workflows/ms.cdn.profiles.yml +++ b/.github/workflows/ms.cdn.profiles.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.cdn.profiles.yml' - 'modules/Microsoft.CDN/profiles/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 73b896f65b..b03fc51339 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.cognitiveservices.accounts.yml' - 'modules/Microsoft.CognitiveServices/accounts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index 8557a0312e..a1fe5caba7 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.compute.availabilitysets.yml' - 'modules/Microsoft.Compute/availabilitySets/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index b9576a0952..a6b4e5ba26 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.compute.diskencryptionsets.yml' - 'modules/Microsoft.Compute/diskEncryptionSets/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index 3d7e59d24c..002307f6ef 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.compute.disks.yml' - 'modules/Microsoft.Compute/disks/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index 3d8cef2ff2..a812215242 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.compute.galleries.yml' - 'modules/Microsoft.Compute/galleries/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index 710b14e7ae..87fefdbab1 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.compute.images.yml' - 'modules/Microsoft.Compute/images/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 98cb9f3856..3a419cf20c 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.compute.proximityplacementgroups.yml' - 'modules/Microsoft.Compute/proximityPlacementGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 107cbc0fe1..07ab8f9491 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.compute.virtualmachines.yml' - 'modules/Microsoft.Compute/virtualMachines/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index c4eaa04c9a..d8ec52797e 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.compute.virtualmachinescalesets.yml' - 'modules/Microsoft.Compute/virtualMachineScaleSets/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 5f61f450ff..9500d1af79 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.consumption.budgets.yml' - 'modules/Microsoft.Consumption/budgets/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 5b22af3539..23ee134b40 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.containerinstance.containergroups.yml' - 'modules/Microsoft.ContainerInstance/containerGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index afee9e3773..97eba6e99b 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.containerregistry.registries.yml' - 'modules/Microsoft.ContainerRegistry/registries/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 465f7ee731..984609699d 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.containerservice.managedclusters.yml' - 'modules/Microsoft.ContainerService/managedClusters/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index f144403371..8d89b85def 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.databricks.workspaces.yml' - 'modules/Microsoft.Databricks/workspaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 1c43245a39..6e6de4ba7c 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.datafactory.factories.yml' - 'modules/Microsoft.DataFactory/factories/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 1a953f2f68..97c5dd44dd 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.dataprotection.backupvaults.yml' - 'modules/Microsoft.DataProtection/backupVaults/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index e655b37c7b..802f998b54 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.dbforpostgresql.flexibleservers.yml' - 'modules/Microsoft.DBforPostgreSQL/flexibleServers/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index be76de778d..585e237214 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.desktopvirtualization.applicationgroups.yml' - 'modules/Microsoft.DesktopVirtualization/applicationgroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index aab647e9ac..6dc92608fc 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.desktopvirtualization.hostpools.yml' - 'modules/Microsoft.DesktopVirtualization/hostpools/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index 8dad5cab3f..8d05afce75 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.desktopvirtualization.scalingplans.yml' - 'modules/Microsoft.DesktopVirtualization/scalingplans/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index 9e228b738a..0494052df7 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.desktopvirtualization.workspaces.yml' - 'modules/Microsoft.DesktopVirtualization/workspaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.devtestlab.labs.yml b/.github/workflows/ms.devtestlab.labs.yml index 49eba6f6bb..3f5cb744b7 100644 --- a/.github/workflows/ms.devtestlab.labs.yml +++ b/.github/workflows/ms.devtestlab.labs.yml @@ -19,6 +19,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.devtestlab.labs.yml' - 'modules/Microsoft.DevTestLab/labs/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index 4fb0f80b86..f474e3a7a2 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.documentdb.databaseaccounts.yml' - 'modules/Microsoft.DocumentDB/databaseAccounts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.eventgrid.domains.yml b/.github/workflows/ms.eventgrid.domains.yml index 85e823e50e..c036e0d9d0 100644 --- a/.github/workflows/ms.eventgrid.domains.yml +++ b/.github/workflows/ms.eventgrid.domains.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.eventgrid.domains.yml' - 'modules/Microsoft.EventGrid/domains/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.eventgrid.eventsubscriptions.yml b/.github/workflows/ms.eventgrid.eventsubscriptions.yml index f594fe6bb5..06e91da54c 100644 --- a/.github/workflows/ms.eventgrid.eventsubscriptions.yml +++ b/.github/workflows/ms.eventgrid.eventsubscriptions.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.eventgrid.eventsubscriptions.yml' - 'modules/Microsoft.EventGrid/eventSubscriptions/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index 3cc1951957..05102c0f54 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.eventgrid.systemtopics.yml' - 'modules/Microsoft.EventGrid/systemTopics/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index d52a0e3af4..fd38600639 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.eventgrid.topics.yml' - 'modules/Microsoft.EventGrid/topics/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 353d24eaa5..f1777f97e1 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.eventhub.namespaces.yml' - 'modules/Microsoft.EventHub/namespaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index 9940a0282b..200fac57a8 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.healthbot.healthbots.yml' - 'modules/Microsoft.HealthBot/healthBots/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.healthcareapis.workspaces.yml b/.github/workflows/ms.healthcareapis.workspaces.yml index 1a7373b933..3c0bea15d7 100644 --- a/.github/workflows/ms.healthcareapis.workspaces.yml +++ b/.github/workflows/ms.healthcareapis.workspaces.yml @@ -18,6 +18,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.healthcareapis.workspaces.yml' - 'modules/Microsoft.HealthcareApis/workspaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index f8d6895b46..a134e0c35a 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.actiongroups.yml' - 'modules/Microsoft.Insights/actionGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 9ddf6e89d3..61b7e06b84 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.activitylogalerts.yml' - 'modules/Microsoft.Insights/activityLogAlerts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index b21ac0d218..90df15401c 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.components.yml' - 'modules/Microsoft.Insights/components/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.datacollectionendpoints.yml b/.github/workflows/ms.insights.datacollectionendpoints.yml index 06f6158b82..e23dc7c658 100644 --- a/.github/workflows/ms.insights.datacollectionendpoints.yml +++ b/.github/workflows/ms.insights.datacollectionendpoints.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.datacollectionendpoints.yml' - 'modules/Microsoft.Insights/dataCollectionEndpoints/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.datacollectionrules.yml b/.github/workflows/ms.insights.datacollectionrules.yml index fa00ba77e9..83d071e38a 100644 --- a/.github/workflows/ms.insights.datacollectionrules.yml +++ b/.github/workflows/ms.insights.datacollectionrules.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.datacollectionrules.yml' - 'modules/Microsoft.Insights/dataCollectionRules/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index a87b48f062..3512c8550f 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.diagnosticsettings.yml' - 'modules/Microsoft.Insights/diagnosticsettings/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index e8b751022f..9004fe9712 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.metricalerts.yml' - 'modules/Microsoft.Insights/metricAlerts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 343bf5dd7d..c6a599d46a 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.privatelinkscopes.yml' - 'modules/Microsoft.Insights/privateLinkScopes/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index 8e4a21f3f8..49b81d2c27 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.insights.scheduledqueryrules.yml' - 'modules/Microsoft.Insights/scheduledQueryRules/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index f04cf814e0..6b6dcee20f 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.keyvault.vaults.yml' - 'modules/Microsoft.KeyVault/vaults/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index e8018d7bda..bafb9bbfd3 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.kubernetesconfiguration.extensions.yml' - 'modules/Microsoft.KubernetesConfiguration/extensions/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 59597e64b5..6254691cbd 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml' - 'modules/Microsoft.KubernetesConfiguration/fluxConfigurations/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 5fe22bb9b4..0a3d2346b7 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.logic.workflows.yml' - 'modules/Microsoft.Logic/workflows/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index 094b90d1f6..677b4250b9 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.machinelearningservices.workspaces.yml' - 'modules/Microsoft.MachineLearningServices/workspaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml index d5ef6ec078..879f35ec96 100644 --- a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml +++ b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.maintenance.maintenanceconfigurations.yml' - 'modules/Microsoft.Maintenance/maintenanceConfigurations/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index fe7f832e72..eb7f980b36 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.managedidentity.userassignedidentities.yml' - 'modules/Microsoft.ManagedIdentity/userAssignedIdentities/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index 2b9ef5475e..6d007d4f91 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.managedservices.registrationdefinitions.yml' - 'modules/Microsoft.ManagedServices/registrationDefinitions/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index a0fe20902e..d3ee2065c1 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.management.managementgroups.yml' - 'modules/Microsoft.Management/managementGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index c12d40444b..a61f2b8e6d 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.netapp.netappaccounts.yml' - 'modules/Microsoft.NetApp/netAppAccounts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index be3e7c6686..2733513e5c 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.applicationgateways.yml' - 'modules/Microsoft.Network/applicationGateways/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index feb0e93be1..70fee95ed6 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml' - 'modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 17f602fb0d..5904013910 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.applicationsecuritygroups.yml' - 'modules/Microsoft.Network/applicationSecurityGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 94c059bb14..6bbb32286c 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.azurefirewalls.yml' - 'modules/Microsoft.Network/azureFirewalls/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index fd0b299f6f..d29801dfa4 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.bastionhosts.yml' - 'modules/Microsoft.Network/bastionHosts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index e6087b03a9..90da06a91e 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.connections.yml' - 'modules/Microsoft.Network/connections/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index f3eedc0d07..fbd81ac6a6 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.ddosprotectionplans.yml' - 'modules/Microsoft.Network/ddosProtectionPlans/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index a1cdbe2ce7..9ec7f603fc 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.dnsresolvers.yml' - 'modules/Microsoft.Network/dnsResolvers/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index d088868154..c19718ae0a 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.expressroutecircuits.yml' - 'modules/Microsoft.Network/expressRouteCircuits/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index e8836a73af..95703f453d 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.firewallpolicies.yml' - 'modules/Microsoft.Network/firewallPolicies/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 5138e8b11a..9cd611416e 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.frontdoors.yml' - 'modules/Microsoft.Network/frontDoors/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index 29cf3bfcb2..95ba066bff 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.ipgroups.yml' - 'modules/Microsoft.Network/ipGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index 4b786fccab..4571675c1a 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.loadbalancers.yml' - 'modules/Microsoft.Network/loadBalancers/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index c295bc91e4..00f4131e8d 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.localnetworkgateways.yml' - 'modules/Microsoft.Network/localNetworkGateways/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index 7b2ec2444c..c109440be0 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.natgateways.yml' - 'modules/Microsoft.Network/natGateways/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index f9e3b03164..1e2ddb2d66 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.networkinterfaces.yml' - 'modules/Microsoft.Network/networkInterfaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.networkmanagers.yml b/.github/workflows/ms.network.networkmanagers.yml index d8cfd6045b..553162d976 100644 --- a/.github/workflows/ms.network.networkmanagers.yml +++ b/.github/workflows/ms.network.networkmanagers.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.networkmanagers.yml' - 'modules/Microsoft.Network/networkManagers/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 24f9509254..75af1215ce 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.networksecuritygroups.yml' - 'modules/Microsoft.Network/networkSecurityGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index 938195f449..d691314c88 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.networkwatchers.yml' - 'modules/Microsoft.Network/networkWatchers/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index f6805f21d4..ce3f0858ec 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.privatednszones.yml' - 'modules/Microsoft.Network/privateDnsZones/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index fc016f96d6..edbacabab3 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.privateendpoints.yml' - 'modules/Microsoft.Network/privateEndpoints/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index 5aed2eb527..2f28e23a89 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.privatelinkservices.yml' - 'modules/Microsoft.Network/privateLinkServices/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index 8e9b398282..52cbf4ae94 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.publicipaddresses.yml' - 'modules/Microsoft.Network/publicIPAddresses/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index 0b504cfa34..5228cf1075 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.publicipprefixes.yml' - 'modules/Microsoft.Network/publicIPPrefixes/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index 977f8404ff..68f69e6dd1 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.routetables.yml' - 'modules/Microsoft.Network/routeTables/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index 7c3ad2591e..11991a3de8 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.trafficmanagerprofiles.yml' - 'modules/Microsoft.Network/trafficmanagerprofiles/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index f06b5ed03c..2e107fecb1 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.virtualhubs.yml' - 'modules/Microsoft.Network/virtualHubs/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index c4632c3c26..a150ac0b15 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.virtualnetworkgateways.yml' - 'modules/Microsoft.Network/virtualNetworkGateways/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index cdf6ea3bcc..d58cdeb3ec 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -29,6 +29,7 @@ on: paths: - '.github/actions/templates/**' - '.github/workflows/template.module.yml' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.virtualnetworks.yml' - 'modules/Microsoft.Network/virtualNetworks/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index 6fc01364dd..d8af809b93 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.virtualwans.yml' - 'modules/Microsoft.Network/virtualWans/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index c67e3d12e0..2fa4182e5e 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.vpngateways.yml' - 'modules/Microsoft.Network/vpnGateways/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index 19f0ee7374..8f53501872 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.network.vpnsites.yml' - 'modules/Microsoft.Network/vpnSites/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 3c11840267..f2040c614f 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.operationalinsights.workspaces.yml' - 'modules/Microsoft.OperationalInsights/workspaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index 69f5d5f2ef..06ba81871c 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.operationsmanagement.solutions.yml' - 'modules/Microsoft.OperationsManagement/solutions/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.policyinsights.remediations.yml b/.github/workflows/ms.policyinsights.remediations.yml index 8109daa483..46c991d18b 100644 --- a/.github/workflows/ms.policyinsights.remediations.yml +++ b/.github/workflows/ms.policyinsights.remediations.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.policyinsights.remediations.yml' - 'modules/Microsoft.PolicyInsights/remediations/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index e51983fdc5..385230b071 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.powerbidedicated.capacities.yml' - 'modules/Microsoft.PowerBIDedicated/capacities/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.purview.accounts.yml b/.github/workflows/ms.purview.accounts.yml index 5adf1336c0..ca0018073c 100644 --- a/.github/workflows/ms.purview.accounts.yml +++ b/.github/workflows/ms.purview.accounts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.purview.accounts.yml' - 'modules/Microsoft.Purview/accounts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 6a5b48385c..ef1228ac82 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.recoveryservices.vaults.yml' - 'modules/Microsoft.RecoveryServices/vaults/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index c535547ffb..028246b3da 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.resources.deploymentscripts.yml' - 'modules/Microsoft.Resources/deploymentScripts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 942c6369f5..ff72513cdf 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -29,6 +29,7 @@ on: paths: - '.github/actions/templates/**' - '.github/workflows/template.module.yml' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.resources.resourcegroups.yml' - 'modules/Microsoft.Resources/resourceGroups/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index d039901b6e..863a15c770 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.resources.tags.yml' - 'modules/Microsoft.Resources/tags/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index 7f0acb9466..c5ee76a519 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -18,6 +18,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.security.azuresecuritycenter.yml' - 'modules/Microsoft.Security/azureSecurityCenter/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index d033e2a3dd..9a96e4c490 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.servicebus.namespaces.yml' - 'modules/Microsoft.ServiceBus/namespaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index f959ce9dd2..68bb0ccaa4 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.servicefabric.clusters.yml' - 'modules/Microsoft.ServiceFabric/clusters/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.signalrservice.signalr.yml b/.github/workflows/ms.signalrservice.signalr.yml index 702409ed52..85b0b07e4e 100644 --- a/.github/workflows/ms.signalrservice.signalr.yml +++ b/.github/workflows/ms.signalrservice.signalr.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.signalrservice.signalr.yml' - 'modules/Microsoft.SignalRService/signalR/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index fdc8b50e32..220beaf2f5 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.signalrservice.webpubsub.yml' - 'modules/Microsoft.SignalRService/webPubSub/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index bcc6db7b51..986aa95275 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.sql.managedinstances.yml' - 'modules/Microsoft.Sql/managedInstances/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index f5d307aca2..8ebe0681b3 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.sql.servers.yml' - 'modules/Microsoft.Sql/servers/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index 5778ad4dc9..664cddf2db 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.storage.storageaccounts.yml' - 'modules/Microsoft.Storage/storageAccounts/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 4d7d8c7a0d..7447415969 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.synapse.privatelinkhubs.yml' - 'modules/Microsoft.Synapse/privateLinkHubs/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index 635d60e3b6..1cd44ae590 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.synapse.workspaces.yml' - 'modules/Microsoft.Synapse/workspaces/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index 92fe660d51..b7998d54c7 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.virtualmachineimages.imagetemplates.yml' - 'modules/Microsoft.VirtualMachineImages/imageTemplates/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index 8454f90c6c..a20a84f215 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.web.connections.yml' - 'modules/Microsoft.Web/connections/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index bf8a53c4e0..537602cf11 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.web.hostingenvironments.yml' - 'modules/Microsoft.Web/hostingEnvironments/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 3586bd9e29..b7881e610d 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.web.serverfarms.yml' - 'modules/Microsoft.Web/serverfarms/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index fb81d7664f..7bbaf91893 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.web.sites.yml' - 'modules/Microsoft.Web/sites/**' - 'utilities/pipelines/**' diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index d9f59b97c9..aaced0fc4a 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -28,6 +28,7 @@ on: - main paths: - '.github/actions/templates/**' + - '.github/workflows/template.module.yml' - '.github/workflows/ms.web.staticsites.yml' - 'modules/Microsoft.Web/staticSites/**' - 'utilities/pipelines/**' From 1f7503a71f82ee0ab729213938b090acef553453 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:42:29 +0100 Subject: [PATCH 246/260] fix rg trigger --- .github/workflows/ms.resources.resourcegroups.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index ff72513cdf..942c6369f5 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -29,7 +29,6 @@ on: paths: - '.github/actions/templates/**' - '.github/workflows/template.module.yml' - - '.github/workflows/template.module.yml' - '.github/workflows/ms.resources.resourcegroups.yml' - 'modules/Microsoft.Resources/resourceGroups/**' - 'utilities/pipelines/**' From a66bc4baa3442f8e0253ac1ea3430e2a00ea26fb Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:43:17 +0100 Subject: [PATCH 247/260] replace env block --- .github/workflows/ms.aad.domainservices.yml | 5 ----- .github/workflows/ms.analysisservices.servers.yml | 5 ----- .github/workflows/ms.apimanagement.service.yml | 5 ----- .../workflows/ms.appconfiguration.configurationstores.yml | 5 ----- .github/workflows/ms.authorization.locks.yml | 5 ----- .github/workflows/ms.authorization.policyassignments.yml | 5 ----- .github/workflows/ms.authorization.policydefinitions.yml | 5 ----- .github/workflows/ms.authorization.policyexemptions.yml | 5 ----- .github/workflows/ms.authorization.policysetdefinitions.yml | 5 ----- .github/workflows/ms.authorization.roleassignments.yml | 5 ----- .github/workflows/ms.authorization.roledefinitions.yml | 5 ----- .github/workflows/ms.batch.batchaccounts.yml | 5 ----- .github/workflows/ms.cache.redis.yml | 5 ----- .github/workflows/ms.cdn.profiles.yml | 5 ----- .github/workflows/ms.cognitiveservices.accounts.yml | 5 ----- .github/workflows/ms.compute.availabilitysets.yml | 5 ----- .github/workflows/ms.compute.diskencryptionsets.yml | 5 ----- .github/workflows/ms.compute.disks.yml | 5 ----- .github/workflows/ms.compute.galleries.yml | 5 ----- .github/workflows/ms.compute.images.yml | 5 ----- .github/workflows/ms.compute.proximityplacementgroups.yml | 5 ----- .github/workflows/ms.compute.virtualmachines.yml | 5 ----- .github/workflows/ms.compute.virtualmachinescalesets.yml | 5 ----- .github/workflows/ms.consumption.budgets.yml | 5 ----- .github/workflows/ms.containerinstance.containergroups.yml | 5 ----- .github/workflows/ms.containerregistry.registries.yml | 5 ----- .github/workflows/ms.containerservice.managedclusters.yml | 5 ----- .github/workflows/ms.databricks.workspaces.yml | 5 ----- .github/workflows/ms.datafactory.factories.yml | 5 ----- .github/workflows/ms.dataprotection.backupvaults.yml | 5 ----- .github/workflows/ms.dbforpostgresql.flexibleservers.yml | 5 ----- .../workflows/ms.desktopvirtualization.applicationgroups.yml | 5 ----- .github/workflows/ms.desktopvirtualization.hostpools.yml | 5 ----- .github/workflows/ms.desktopvirtualization.scalingplans.yml | 5 ----- .github/workflows/ms.desktopvirtualization.workspaces.yml | 5 ----- .github/workflows/ms.documentdb.databaseaccounts.yml | 5 ----- .github/workflows/ms.eventgrid.domains.yml | 5 ----- .github/workflows/ms.eventgrid.eventsubscriptions.yml | 5 ----- .github/workflows/ms.eventgrid.systemtopics.yml | 5 ----- .github/workflows/ms.eventgrid.topics.yml | 5 ----- .github/workflows/ms.eventhub.namespaces.yml | 5 ----- .github/workflows/ms.healthbot.healthbots.yml | 5 ----- .github/workflows/ms.insights.actiongroups.yml | 5 ----- .github/workflows/ms.insights.activitylogalerts.yml | 5 ----- .github/workflows/ms.insights.components.yml | 5 ----- .github/workflows/ms.insights.datacollectionendpoints.yml | 5 ----- .github/workflows/ms.insights.datacollectionrules.yml | 5 ----- .github/workflows/ms.insights.diagnosticsettings.yml | 5 ----- .github/workflows/ms.insights.metricalerts.yml | 5 ----- .github/workflows/ms.insights.privatelinkscopes.yml | 5 ----- .github/workflows/ms.insights.scheduledqueryrules.yml | 5 ----- .github/workflows/ms.keyvault.vaults.yml | 5 ----- .github/workflows/ms.kubernetesconfiguration.extensions.yml | 5 ----- .../ms.kubernetesconfiguration.fluxconfigurations.yml | 5 ----- .github/workflows/ms.logic.workflows.yml | 5 ----- .github/workflows/ms.machinelearningservices.workspaces.yml | 5 ----- .../workflows/ms.maintenance.maintenanceconfigurations.yml | 5 ----- .../workflows/ms.managedidentity.userassignedidentities.yml | 5 ----- .../workflows/ms.managedservices.registrationdefinitions.yml | 5 ----- .github/workflows/ms.management.managementgroups.yml | 5 ----- .github/workflows/ms.netapp.netappaccounts.yml | 5 ----- .github/workflows/ms.network.applicationgateways.yml | 5 ----- ...work.applicationgatewaywebapplicationfirewallpolicies.yml | 5 ----- .github/workflows/ms.network.applicationsecuritygroups.yml | 5 ----- .github/workflows/ms.network.azurefirewalls.yml | 5 ----- .github/workflows/ms.network.bastionhosts.yml | 5 ----- .github/workflows/ms.network.connections.yml | 5 ----- .github/workflows/ms.network.ddosprotectionplans.yml | 5 ----- .github/workflows/ms.network.dnsresolvers.yml | 5 ----- .github/workflows/ms.network.expressroutecircuits.yml | 5 ----- .github/workflows/ms.network.firewallpolicies.yml | 5 ----- .github/workflows/ms.network.frontdoors.yml | 5 ----- .github/workflows/ms.network.ipgroups.yml | 5 ----- .github/workflows/ms.network.loadbalancers.yml | 5 ----- .github/workflows/ms.network.localnetworkgateways.yml | 5 ----- .github/workflows/ms.network.natgateways.yml | 5 ----- .github/workflows/ms.network.networkinterfaces.yml | 5 ----- .github/workflows/ms.network.networkmanagers.yml | 5 ----- .github/workflows/ms.network.networksecuritygroups.yml | 5 ----- .github/workflows/ms.network.networkwatchers.yml | 5 ----- .github/workflows/ms.network.privatednszones.yml | 5 ----- .github/workflows/ms.network.privateendpoints.yml | 5 ----- .github/workflows/ms.network.privatelinkservices.yml | 5 ----- .github/workflows/ms.network.publicipaddresses.yml | 5 ----- .github/workflows/ms.network.publicipprefixes.yml | 5 ----- .github/workflows/ms.network.routetables.yml | 5 ----- .github/workflows/ms.network.trafficmanagerprofiles.yml | 5 ----- .github/workflows/ms.network.virtualhubs.yml | 5 ----- .github/workflows/ms.network.virtualnetworkgateways.yml | 5 ----- .github/workflows/ms.network.virtualwans.yml | 5 ----- .github/workflows/ms.network.vpngateways.yml | 5 ----- .github/workflows/ms.network.vpnsites.yml | 5 ----- .github/workflows/ms.operationalinsights.workspaces.yml | 5 ----- .github/workflows/ms.operationsmanagement.solutions.yml | 5 ----- .github/workflows/ms.policyinsights.remediations.yml | 5 ----- .github/workflows/ms.powerbidedicated.capacities.yml | 5 ----- .github/workflows/ms.purview.accounts.yml | 5 ----- .github/workflows/ms.recoveryservices.vaults.yml | 5 ----- .github/workflows/ms.resources.deploymentscripts.yml | 5 ----- .github/workflows/ms.resources.tags.yml | 5 ----- .github/workflows/ms.security.azuresecuritycenter.yml | 5 ----- .github/workflows/ms.servicebus.namespaces.yml | 5 ----- .github/workflows/ms.servicefabric.clusters.yml | 5 ----- .github/workflows/ms.signalrservice.signalr.yml | 5 ----- .github/workflows/ms.signalrservice.webpubsub.yml | 5 ----- .github/workflows/ms.sql.managedinstances.yml | 5 ----- .github/workflows/ms.sql.servers.yml | 5 ----- .github/workflows/ms.storage.storageaccounts.yml | 5 ----- .github/workflows/ms.synapse.privatelinkhubs.yml | 5 ----- .github/workflows/ms.synapse.workspaces.yml | 5 ----- .github/workflows/ms.virtualmachineimages.imagetemplates.yml | 5 ----- .github/workflows/ms.web.connections.yml | 5 ----- .github/workflows/ms.web.hostingenvironments.yml | 5 ----- .github/workflows/ms.web.serverfarms.yml | 5 ----- .github/workflows/ms.web.sites.yml | 5 ----- .github/workflows/ms.web.staticsites.yml | 5 ----- 116 files changed, 580 deletions(-) diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index 8b7c9d8a51..b9cacffb94 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.AAD/DomainServices' workflowPath: '.github/workflows/ms.aad.domainservices.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 9ff63f9aad..e2148015ee 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.AnalysisServices/servers' workflowPath: '.github/workflows/ms.analysisservices.servers.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index 1639f735f5..bef26376c3 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ApiManagement/service' workflowPath: '.github/workflows/ms.apimanagement.service.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index c753ec19f6..cae4422d03 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.AppConfiguration/configurationStores' workflowPath: '.github/workflows/ms.appconfiguration.configurationstores.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 15ac17e430..d74e7aa489 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/locks' workflowPath: '.github/workflows/ms.authorization.locks.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index d5be732abf..d631b777f8 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/policyAssignments' workflowPath: '.github/workflows/ms.authorization.policyassignments.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 82d4df631d..681c20bee1 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/policyDefinitions' workflowPath: '.github/workflows/ms.authorization.policydefinitions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 32c1253db7..8e0ae12a51 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/policyExemptions' workflowPath: '.github/workflows/ms.authorization.policyexemptions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index 9f6ec80d9d..82ed60d6e5 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/policySetDefinitions' workflowPath: '.github/workflows/ms.authorization.policysetdefinitions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index 1c1b8aa8d9..d295ce3ef6 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/roleAssignments' workflowPath: '.github/workflows/ms.authorization.roleassignments.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index 5371078f20..e2b407989e 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/roleDefinitions' workflowPath: '.github/workflows/ms.authorization.roledefinitions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index d99dc97ec7..4b31defa54 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Batch/batchAccounts' workflowPath: '.github/workflows/ms.batch.batchaccounts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 15e4cc4aab..317a335f59 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Cache/redis' workflowPath: '.github/workflows/ms.cache.redis.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.cdn.profiles.yml b/.github/workflows/ms.cdn.profiles.yml index ff456a31da..24242becee 100644 --- a/.github/workflows/ms.cdn.profiles.yml +++ b/.github/workflows/ms.cdn.profiles.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.CDN/profiles' workflowPath: '.github/workflows/ms.cdn.profiles.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index b03fc51339..2dbee90721 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.CognitiveServices/accounts' workflowPath: '.github/workflows/ms.cognitiveservices.accounts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index a1fe5caba7..01e60b2593 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/availabilitySets' workflowPath: '.github/workflows/ms.compute.availabilitysets.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index a6b4e5ba26..55a4c6f31b 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/diskEncryptionSets' workflowPath: '.github/workflows/ms.compute.diskencryptionsets.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index 002307f6ef..86343bf7be 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/disks' workflowPath: '.github/workflows/ms.compute.disks.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index a812215242..82b0d8dfc6 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/galleries' workflowPath: '.github/workflows/ms.compute.galleries.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index 87fefdbab1..4a25f149ec 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/images' workflowPath: '.github/workflows/ms.compute.images.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 3a419cf20c..53512777ba 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/proximityPlacementGroups' workflowPath: '.github/workflows/ms.compute.proximityplacementgroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 07ab8f9491..d68fd78b22 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/virtualMachines' workflowPath: '.github/workflows/ms.compute.virtualmachines.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index d8ec52797e..2552d1cea6 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/virtualMachineScaleSets' workflowPath: '.github/workflows/ms.compute.virtualmachinescalesets.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 9500d1af79..3a9adf790f 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Consumption/budgets' workflowPath: '.github/workflows/ms.consumption.budgets.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 23ee134b40..01252ec626 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ContainerInstance/containerGroups' workflowPath: '.github/workflows/ms.containerinstance.containergroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 97eba6e99b..d28c915340 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ContainerRegistry/registries' workflowPath: '.github/workflows/ms.containerregistry.registries.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 984609699d..d1d766e9a8 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ContainerService/managedClusters' workflowPath: '.github/workflows/ms.containerservice.managedclusters.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 8d89b85def..dfa7cbc4f7 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Databricks/workspaces' workflowPath: '.github/workflows/ms.databricks.workspaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 6e6de4ba7c..2593f3eeb0 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DataFactory/factories' workflowPath: '.github/workflows/ms.datafactory.factories.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 97c5dd44dd..53020884f2 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DataProtection/backupVaults' workflowPath: '.github/workflows/ms.dataprotection.backupvaults.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index 802f998b54..41d7209590 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DBforPostgreSQL/flexibleServers' workflowPath: '.github/workflows/ms.dbforpostgresql.flexibleservers.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index 585e237214..a813f26dec 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DesktopVirtualization/applicationgroups' workflowPath: '.github/workflows/ms.desktopvirtualization.applicationgroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 6dc92608fc..5752e6ccf8 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DesktopVirtualization/hostpools' workflowPath: '.github/workflows/ms.desktopvirtualization.hostpools.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index 8d05afce75..3f87d814df 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DesktopVirtualization/scalingplans' workflowPath: '.github/workflows/ms.desktopvirtualization.scalingplans.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index 0494052df7..2e26d75000 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DesktopVirtualization/workspaces' workflowPath: '.github/workflows/ms.desktopvirtualization.workspaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index f474e3a7a2..da84222a5f 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DocumentDB/databaseAccounts' workflowPath: '.github/workflows/ms.documentdb.databaseaccounts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.eventgrid.domains.yml b/.github/workflows/ms.eventgrid.domains.yml index c036e0d9d0..897d0cbace 100644 --- a/.github/workflows/ms.eventgrid.domains.yml +++ b/.github/workflows/ms.eventgrid.domains.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/domains' workflowPath: '.github/workflows/ms.eventgrid.domains.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.eventgrid.eventsubscriptions.yml b/.github/workflows/ms.eventgrid.eventsubscriptions.yml index 06e91da54c..27ecb6e584 100644 --- a/.github/workflows/ms.eventgrid.eventsubscriptions.yml +++ b/.github/workflows/ms.eventgrid.eventsubscriptions.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/eventSubscriptions' workflowPath: '.github/workflows/ms.eventgrid.eventsubscriptions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index 05102c0f54..5ea7a951fb 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/systemTopics' workflowPath: '.github/workflows/ms.eventgrid.systemtopics.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index fd38600639..f37d73a691 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/topics' workflowPath: '.github/workflows/ms.eventgrid.topics.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index f1777f97e1..0056839f89 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventHub/namespaces' workflowPath: '.github/workflows/ms.eventhub.namespaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index 200fac57a8..5d3ecddede 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.HealthBot/healthBots' workflowPath: '.github/workflows/ms.healthbot.healthbots.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index a134e0c35a..6bcbb17015 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/actionGroups' workflowPath: '.github/workflows/ms.insights.actiongroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 61b7e06b84..8254519ded 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/activityLogAlerts' workflowPath: '.github/workflows/ms.insights.activitylogalerts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 90df15401c..d0b808611d 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/components' workflowPath: '.github/workflows/ms.insights.components.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.datacollectionendpoints.yml b/.github/workflows/ms.insights.datacollectionendpoints.yml index e23dc7c658..987c9645be 100644 --- a/.github/workflows/ms.insights.datacollectionendpoints.yml +++ b/.github/workflows/ms.insights.datacollectionendpoints.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/dataCollectionEndpoints' workflowPath: '.github/workflows/ms.insights.datacollectionendpoints.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.datacollectionrules.yml b/.github/workflows/ms.insights.datacollectionrules.yml index 83d071e38a..89fe268444 100644 --- a/.github/workflows/ms.insights.datacollectionrules.yml +++ b/.github/workflows/ms.insights.datacollectionrules.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/dataCollectionRules' workflowPath: '.github/workflows/ms.insights.datacollectionrules.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 3512c8550f..4ef2a86c19 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/diagnosticSettings' workflowPath: '.github/workflows/ms.insights.diagnosticsettings.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index 9004fe9712..854b7c509e 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/metricAlerts' workflowPath: '.github/workflows/ms.insights.metricalerts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index c6a599d46a..73e0497536 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/privateLinkScopes' workflowPath: '.github/workflows/ms.insights.privatelinkscopes.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index 49b81d2c27..3fa4058d09 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/scheduledQueryRules' workflowPath: '.github/workflows/ms.insights.scheduledqueryrules.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index 6b6dcee20f..0633c3b6b9 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.KeyVault/vaults' workflowPath: '.github/workflows/ms.keyvault.vaults.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index bafb9bbfd3..cc941dd3c7 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.KubernetesConfiguration/extensions' workflowPath: '.github/workflows/ms.kubernetesconfiguration.extensions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 6254691cbd..ff45d7407e 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.KubernetesConfiguration/fluxConfigurations' workflowPath: '.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 0a3d2346b7..f2a84601aa 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Logic/workflows' workflowPath: '.github/workflows/ms.logic.workflows.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index 677b4250b9..110b7baee4 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.MachineLearningServices/workspaces' workflowPath: '.github/workflows/ms.machinelearningservices.workspaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml index 879f35ec96..e9e806075c 100644 --- a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml +++ b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Maintenance/maintenanceConfigurations' workflowPath: '.github/workflows/ms.maintenance.maintenanceconfigurations.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index eb7f980b36..68879345b9 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ManagedIdentity/userAssignedIdentities' workflowPath: '.github/workflows/ms.managedidentity.userassignedidentities.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index 6d007d4f91..1f8ffe7855 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ManagedServices/registrationDefinitions' workflowPath: '.github/workflows/ms.managedservices.registrationdefinitions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index d3ee2065c1..a51c6e0159 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Management/managementGroups' workflowPath: '.github/workflows/ms.management.managementgroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index a61f2b8e6d..ee6c22b2e9 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.NetApp/netAppAccounts' workflowPath: '.github/workflows/ms.netapp.netappaccounts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 2733513e5c..7e8990aee0 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/applicationGateways' workflowPath: '.github/workflows/ms.network.applicationgateways.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 70fee95ed6..9a0201c65b 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies' workflowPath: '.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 5904013910..47bf68fcd2 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/applicationSecurityGroups' workflowPath: '.github/workflows/ms.network.applicationsecuritygroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 6bbb32286c..9cfe63c3a9 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/azureFirewalls' workflowPath: '.github/workflows/ms.network.azurefirewalls.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index d29801dfa4..cb2eccda01 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/bastionHosts' workflowPath: '.github/workflows/ms.network.bastionhosts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index 90da06a91e..80f288393b 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/connections' workflowPath: '.github/workflows/ms.network.connections.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index fbd81ac6a6..04b3c447fc 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/ddosProtectionPlans' workflowPath: '.github/workflows/ms.network.ddosprotectionplans.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index 9ec7f603fc..eee680f47b 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/dnsResolvers' workflowPath: '.github/workflows/ms.network.dnsresolvers.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index c19718ae0a..1855bbfb45 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/expressRouteCircuits' workflowPath: '.github/workflows/ms.network.expressroutecircuits.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index 95703f453d..89ada062cf 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/firewallPolicies' workflowPath: '.github/workflows/ms.network.firewallpolicies.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 9cd611416e..13fdbc24ba 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/frontDoors' workflowPath: '.github/workflows/ms.network.frontdoors.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index 95ba066bff..9e8ee30b2f 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/ipGroups' workflowPath: '.github/workflows/ms.network.ipgroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index 4571675c1a..1cc564cdc7 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/loadBalancers' workflowPath: '.github/workflows/ms.network.loadbalancers.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index 00f4131e8d..55b4b7f9f2 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/localNetworkGateways' workflowPath: '.github/workflows/ms.network.localnetworkgateways.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index c109440be0..74125afdb1 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/natGateways' workflowPath: '.github/workflows/ms.network.natgateways.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index 1e2ddb2d66..f277d66d98 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkInterfaces' workflowPath: '.github/workflows/ms.network.networkinterfaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.networkmanagers.yml b/.github/workflows/ms.network.networkmanagers.yml index 553162d976..1930c06dfc 100644 --- a/.github/workflows/ms.network.networkmanagers.yml +++ b/.github/workflows/ms.network.networkmanagers.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkManagers' workflowPath: '.github/workflows/ms.network.networkmanagers.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 75af1215ce..a43fcff786 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkSecurityGroups' workflowPath: '.github/workflows/ms.network.networksecuritygroups.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index d691314c88..78150bef25 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkWatchers' workflowPath: '.github/workflows/ms.network.networkwatchers.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index ce3f0858ec..50e6feec96 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/privateDnsZones' workflowPath: '.github/workflows/ms.network.privatednszones.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index edbacabab3..63c810c11a 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/privateEndpoints' workflowPath: '.github/workflows/ms.network.privateendpoints.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index 2f28e23a89..2753df522e 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/privateLinkServices' workflowPath: '.github/workflows/ms.network.privatelinkservices.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index 52cbf4ae94..bbee7cdca9 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/publicIPAddresses' workflowPath: '.github/workflows/ms.network.publicipaddresses.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index 5228cf1075..b41705f661 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/publicIPPrefixes' workflowPath: '.github/workflows/ms.network.publicipprefixes.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index 68f69e6dd1..d23e61c193 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/routeTables' workflowPath: '.github/workflows/ms.network.routetables.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index 11991a3de8..db4c3497f2 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/trafficmanagerprofiles' workflowPath: '.github/workflows/ms.network.trafficmanagerprofiles.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index 2e107fecb1..5ebb55520a 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/virtualHubs' workflowPath: '.github/workflows/ms.network.virtualhubs.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index a150ac0b15..1012c721f0 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/virtualNetworkGateways' workflowPath: '.github/workflows/ms.network.virtualnetworkgateways.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index d8af809b93..282dd77227 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/virtualWans' workflowPath: '.github/workflows/ms.network.virtualwans.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index 2fa4182e5e..568e83fb66 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/vpnGateways' workflowPath: '.github/workflows/ms.network.vpngateways.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index 8f53501872..c36d930647 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/vpnSites' workflowPath: '.github/workflows/ms.network.vpnsites.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index f2040c614f..46378efa12 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.OperationalInsights/workspaces' workflowPath: '.github/workflows/ms.operationalinsights.workspaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index 06ba81871c..790bcb9b79 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.OperationsManagement/solutions' workflowPath: '.github/workflows/ms.operationsmanagement.solutions.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.policyinsights.remediations.yml b/.github/workflows/ms.policyinsights.remediations.yml index 46c991d18b..a753f2ed10 100644 --- a/.github/workflows/ms.policyinsights.remediations.yml +++ b/.github/workflows/ms.policyinsights.remediations.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.PolicyInsights/remediations' workflowPath: '.github/workflows/ms.policyinsights.remediations.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index 385230b071..402aaafa08 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.PowerBIDedicated/capacities' workflowPath: '.github/workflows/ms.powerbidedicated.capacities.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.purview.accounts.yml b/.github/workflows/ms.purview.accounts.yml index ca0018073c..3cefb21372 100644 --- a/.github/workflows/ms.purview.accounts.yml +++ b/.github/workflows/ms.purview.accounts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Purview/accounts' workflowPath: '.github/workflows/ms.purview.accounts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index ef1228ac82..811539df11 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.RecoveryServices/vaults' workflowPath: '.github/workflows/ms.recoveryservices.vaults.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 028246b3da..45bf5a1ec9 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/deploymentScripts' workflowPath: '.github/workflows/ms.resources.deploymentscripts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index 863a15c770..9a4203695a 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/tags' workflowPath: '.github/workflows/ms.resources.tags.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index c5ee76a519..334cc7cf71 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -29,11 +29,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Security/azureSecurityCenter' workflowPath: '.github/workflows/ms.security.azuresecuritycenter.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index 9a96e4c490..a43a660e03 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ServiceBus/namespaces' workflowPath: '.github/workflows/ms.servicebus.namespaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index 68bb0ccaa4..67a045b055 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ServiceFabric/clusters' workflowPath: '.github/workflows/ms.servicefabric.clusters.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.signalrservice.signalr.yml b/.github/workflows/ms.signalrservice.signalr.yml index 85b0b07e4e..bd26ff460a 100644 --- a/.github/workflows/ms.signalrservice.signalr.yml +++ b/.github/workflows/ms.signalrservice.signalr.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.SignalRService/signalR' workflowPath: '.github/workflows/ms.signalrservice.signalr.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index 220beaf2f5..12cec9e1cc 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.SignalRService/webPubSub' workflowPath: '.github/workflows/ms.signalrservice.webpubsub.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 986aa95275..085cd5950e 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Sql/managedInstances' workflowPath: '.github/workflows/ms.sql.managedinstances.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index 8ebe0681b3..8da8f6dd28 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Sql/servers' workflowPath: '.github/workflows/ms.sql.servers.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index 664cddf2db..c65548408b 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Storage/storageAccounts' workflowPath: '.github/workflows/ms.storage.storageaccounts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 7447415969..913f3371e2 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Synapse/privateLinkHubs' workflowPath: '.github/workflows/ms.synapse.privatelinkhubs.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index 1cd44ae590..3096716361 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Synapse/workspaces' workflowPath: '.github/workflows/ms.synapse.workspaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index b7998d54c7..04e23619f4 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.VirtualMachineImages/imageTemplates' workflowPath: '.github/workflows/ms.virtualmachineimages.imagetemplates.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index a20a84f215..3ec9fe8bbc 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/connections' workflowPath: '.github/workflows/ms.web.connections.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index 537602cf11..09d0ff65d0 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/hostingEnvironments' workflowPath: '.github/workflows/ms.web.hostingenvironments.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index b7881e610d..90b7d0b127 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/serverfarms' workflowPath: '.github/workflows/ms.web.serverfarms.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index 7bbaf91893..cf879da315 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/sites' workflowPath: '.github/workflows/ms.web.sites.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index aaced0fc4a..b19813f99e 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -39,11 +39,6 @@ env: variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/staticSites' workflowPath: '.github/workflows/ms.web.staticsites.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} From d1ddc094c7655f71030875cced32f5ac8ba40ee5 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:44:42 +0100 Subject: [PATCH 248/260] replace env block varpath --- .github/workflows/ms.aad.domainservices.yml | 1 - .github/workflows/ms.analysisservices.servers.yml | 1 - .github/workflows/ms.apimanagement.service.yml | 1 - .github/workflows/ms.appconfiguration.configurationstores.yml | 1 - .github/workflows/ms.authorization.locks.yml | 1 - .github/workflows/ms.authorization.policyassignments.yml | 1 - .github/workflows/ms.authorization.policydefinitions.yml | 1 - .github/workflows/ms.authorization.policyexemptions.yml | 1 - .github/workflows/ms.authorization.policysetdefinitions.yml | 1 - .github/workflows/ms.authorization.roleassignments.yml | 1 - .github/workflows/ms.authorization.roledefinitions.yml | 1 - .github/workflows/ms.automation.automationaccounts.yml | 1 - .github/workflows/ms.batch.batchaccounts.yml | 1 - .github/workflows/ms.cache.redis.yml | 1 - .github/workflows/ms.cdn.profiles.yml | 1 - .github/workflows/ms.cognitiveservices.accounts.yml | 1 - .github/workflows/ms.compute.availabilitysets.yml | 1 - .github/workflows/ms.compute.diskencryptionsets.yml | 1 - .github/workflows/ms.compute.disks.yml | 1 - .github/workflows/ms.compute.galleries.yml | 1 - .github/workflows/ms.compute.images.yml | 1 - .github/workflows/ms.compute.proximityplacementgroups.yml | 1 - .github/workflows/ms.compute.virtualmachines.yml | 1 - .github/workflows/ms.compute.virtualmachinescalesets.yml | 1 - .github/workflows/ms.consumption.budgets.yml | 1 - .github/workflows/ms.containerinstance.containergroups.yml | 1 - .github/workflows/ms.containerregistry.registries.yml | 1 - .github/workflows/ms.containerservice.managedclusters.yml | 1 - .github/workflows/ms.databricks.workspaces.yml | 1 - .github/workflows/ms.datafactory.factories.yml | 1 - .github/workflows/ms.dataprotection.backupvaults.yml | 1 - .github/workflows/ms.dbforpostgresql.flexibleservers.yml | 1 - .github/workflows/ms.desktopvirtualization.applicationgroups.yml | 1 - .github/workflows/ms.desktopvirtualization.hostpools.yml | 1 - .github/workflows/ms.desktopvirtualization.scalingplans.yml | 1 - .github/workflows/ms.desktopvirtualization.workspaces.yml | 1 - .github/workflows/ms.devtestlab.labs.yml | 1 - .github/workflows/ms.documentdb.databaseaccounts.yml | 1 - .github/workflows/ms.eventgrid.domains.yml | 1 - .github/workflows/ms.eventgrid.eventsubscriptions.yml | 1 - .github/workflows/ms.eventgrid.systemtopics.yml | 1 - .github/workflows/ms.eventgrid.topics.yml | 1 - .github/workflows/ms.eventhub.namespaces.yml | 1 - .github/workflows/ms.healthbot.healthbots.yml | 1 - .github/workflows/ms.healthcareapis.workspaces.yml | 1 - .github/workflows/ms.insights.actiongroups.yml | 1 - .github/workflows/ms.insights.activitylogalerts.yml | 1 - .github/workflows/ms.insights.components.yml | 1 - .github/workflows/ms.insights.datacollectionendpoints.yml | 1 - .github/workflows/ms.insights.datacollectionrules.yml | 1 - .github/workflows/ms.insights.diagnosticsettings.yml | 1 - .github/workflows/ms.insights.metricalerts.yml | 1 - .github/workflows/ms.insights.privatelinkscopes.yml | 1 - .github/workflows/ms.insights.scheduledqueryrules.yml | 1 - .github/workflows/ms.keyvault.vaults.yml | 1 - .github/workflows/ms.kubernetesconfiguration.extensions.yml | 1 - .../workflows/ms.kubernetesconfiguration.fluxconfigurations.yml | 1 - .github/workflows/ms.logic.workflows.yml | 1 - .github/workflows/ms.machinelearningservices.workspaces.yml | 1 - .github/workflows/ms.maintenance.maintenanceconfigurations.yml | 1 - .github/workflows/ms.managedidentity.userassignedidentities.yml | 1 - .github/workflows/ms.managedservices.registrationdefinitions.yml | 1 - .github/workflows/ms.management.managementgroups.yml | 1 - .github/workflows/ms.netapp.netappaccounts.yml | 1 - .github/workflows/ms.network.applicationgateways.yml | 1 - ....network.applicationgatewaywebapplicationfirewallpolicies.yml | 1 - .github/workflows/ms.network.applicationsecuritygroups.yml | 1 - .github/workflows/ms.network.azurefirewalls.yml | 1 - .github/workflows/ms.network.bastionhosts.yml | 1 - .github/workflows/ms.network.connections.yml | 1 - .github/workflows/ms.network.ddosprotectionplans.yml | 1 - .github/workflows/ms.network.dnsresolvers.yml | 1 - .github/workflows/ms.network.expressroutecircuits.yml | 1 - .github/workflows/ms.network.firewallpolicies.yml | 1 - .github/workflows/ms.network.frontdoors.yml | 1 - .github/workflows/ms.network.ipgroups.yml | 1 - .github/workflows/ms.network.loadbalancers.yml | 1 - .github/workflows/ms.network.localnetworkgateways.yml | 1 - .github/workflows/ms.network.natgateways.yml | 1 - .github/workflows/ms.network.networkinterfaces.yml | 1 - .github/workflows/ms.network.networkmanagers.yml | 1 - .github/workflows/ms.network.networksecuritygroups.yml | 1 - .github/workflows/ms.network.networkwatchers.yml | 1 - .github/workflows/ms.network.privatednszones.yml | 1 - .github/workflows/ms.network.privateendpoints.yml | 1 - .github/workflows/ms.network.privatelinkservices.yml | 1 - .github/workflows/ms.network.publicipaddresses.yml | 1 - .github/workflows/ms.network.publicipprefixes.yml | 1 - .github/workflows/ms.network.routetables.yml | 1 - .github/workflows/ms.network.trafficmanagerprofiles.yml | 1 - .github/workflows/ms.network.virtualhubs.yml | 1 - .github/workflows/ms.network.virtualnetworkgateways.yml | 1 - .github/workflows/ms.network.virtualwans.yml | 1 - .github/workflows/ms.network.vpngateways.yml | 1 - .github/workflows/ms.network.vpnsites.yml | 1 - .github/workflows/ms.operationalinsights.workspaces.yml | 1 - .github/workflows/ms.operationsmanagement.solutions.yml | 1 - .github/workflows/ms.policyinsights.remediations.yml | 1 - .github/workflows/ms.powerbidedicated.capacities.yml | 1 - .github/workflows/ms.purview.accounts.yml | 1 - .github/workflows/ms.recoveryservices.vaults.yml | 1 - .github/workflows/ms.resources.deploymentscripts.yml | 1 - .github/workflows/ms.resources.tags.yml | 1 - .github/workflows/ms.security.azuresecuritycenter.yml | 1 - .github/workflows/ms.servicebus.namespaces.yml | 1 - .github/workflows/ms.servicefabric.clusters.yml | 1 - .github/workflows/ms.signalrservice.signalr.yml | 1 - .github/workflows/ms.signalrservice.webpubsub.yml | 1 - .github/workflows/ms.sql.managedinstances.yml | 1 - .github/workflows/ms.sql.servers.yml | 1 - .github/workflows/ms.storage.storageaccounts.yml | 1 - .github/workflows/ms.synapse.privatelinkhubs.yml | 1 - .github/workflows/ms.synapse.workspaces.yml | 1 - .github/workflows/ms.virtualmachineimages.imagetemplates.yml | 1 - .github/workflows/ms.web.connections.yml | 1 - .github/workflows/ms.web.hostingenvironments.yml | 1 - .github/workflows/ms.web.serverfarms.yml | 1 - .github/workflows/ms.web.sites.yml | 1 - .github/workflows/ms.web.staticsites.yml | 1 - 119 files changed, 119 deletions(-) diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index b9cacffb94..30b860a316 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.AAD/DomainServices' workflowPath: '.github/workflows/ms.aad.domainservices.yml' diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index e2148015ee..a14ce13e98 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.AnalysisServices/servers' workflowPath: '.github/workflows/ms.analysisservices.servers.yml' diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index bef26376c3..10caf1ccf7 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ApiManagement/service' workflowPath: '.github/workflows/ms.apimanagement.service.yml' diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index cae4422d03..19f78c61bf 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.AppConfiguration/configurationStores' workflowPath: '.github/workflows/ms.appconfiguration.configurationstores.yml' diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index d74e7aa489..efc1bb6a71 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/locks' workflowPath: '.github/workflows/ms.authorization.locks.yml' diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index d631b777f8..54962bc3ae 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/policyAssignments' workflowPath: '.github/workflows/ms.authorization.policyassignments.yml' diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 681c20bee1..745c30bae9 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/policyDefinitions' workflowPath: '.github/workflows/ms.authorization.policydefinitions.yml' diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 8e0ae12a51..a69dd82b72 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/policyExemptions' workflowPath: '.github/workflows/ms.authorization.policyexemptions.yml' diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index 82ed60d6e5..fe3cccd9e3 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/policySetDefinitions' workflowPath: '.github/workflows/ms.authorization.policysetdefinitions.yml' diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index d295ce3ef6..96fe7657dd 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/roleAssignments' workflowPath: '.github/workflows/ms.authorization.roleassignments.yml' diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index e2b407989e..32e11214f5 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Authorization/roleDefinitions' workflowPath: '.github/workflows/ms.authorization.roledefinitions.yml' diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index f0a9abc31d..75e9c6dec8 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -27,7 +27,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Automation/automationAccounts' workflowPath: '.github/workflows/ms.automation.automationaccounts.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index 4b31defa54..a7f3124cea 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Batch/batchAccounts' workflowPath: '.github/workflows/ms.batch.batchaccounts.yml' diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 317a335f59..23d9bdc35c 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Cache/redis' workflowPath: '.github/workflows/ms.cache.redis.yml' diff --git a/.github/workflows/ms.cdn.profiles.yml b/.github/workflows/ms.cdn.profiles.yml index 24242becee..82d0839e71 100644 --- a/.github/workflows/ms.cdn.profiles.yml +++ b/.github/workflows/ms.cdn.profiles.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.CDN/profiles' workflowPath: '.github/workflows/ms.cdn.profiles.yml' diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 2dbee90721..094ac87f59 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.CognitiveServices/accounts' workflowPath: '.github/workflows/ms.cognitiveservices.accounts.yml' diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index 01e60b2593..cb28bc096c 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/availabilitySets' workflowPath: '.github/workflows/ms.compute.availabilitysets.yml' diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index 55a4c6f31b..8aa04e4c0b 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/diskEncryptionSets' workflowPath: '.github/workflows/ms.compute.diskencryptionsets.yml' diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index 86343bf7be..6545bd9837 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/disks' workflowPath: '.github/workflows/ms.compute.disks.yml' diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index 82b0d8dfc6..205996cacc 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/galleries' workflowPath: '.github/workflows/ms.compute.galleries.yml' diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index 4a25f149ec..6041f46718 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/images' workflowPath: '.github/workflows/ms.compute.images.yml' diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 53512777ba..c86c82dee5 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/proximityPlacementGroups' workflowPath: '.github/workflows/ms.compute.proximityplacementgroups.yml' diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index d68fd78b22..2c4d9728d4 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/virtualMachines' workflowPath: '.github/workflows/ms.compute.virtualmachines.yml' diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index 2552d1cea6..bc2f2d6c10 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Compute/virtualMachineScaleSets' workflowPath: '.github/workflows/ms.compute.virtualmachinescalesets.yml' diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 3a9adf790f..de9f23cf03 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Consumption/budgets' workflowPath: '.github/workflows/ms.consumption.budgets.yml' diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 01252ec626..d2918e22c0 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ContainerInstance/containerGroups' workflowPath: '.github/workflows/ms.containerinstance.containergroups.yml' diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index d28c915340..344bca135a 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ContainerRegistry/registries' workflowPath: '.github/workflows/ms.containerregistry.registries.yml' diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index d1d766e9a8..1a69e1d2d3 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ContainerService/managedClusters' workflowPath: '.github/workflows/ms.containerservice.managedclusters.yml' diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index dfa7cbc4f7..736a355b07 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Databricks/workspaces' workflowPath: '.github/workflows/ms.databricks.workspaces.yml' diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 2593f3eeb0..521a5545e2 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DataFactory/factories' workflowPath: '.github/workflows/ms.datafactory.factories.yml' diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 53020884f2..320be31fc4 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DataProtection/backupVaults' workflowPath: '.github/workflows/ms.dataprotection.backupvaults.yml' diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index 41d7209590..c7a62f27fb 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DBforPostgreSQL/flexibleServers' workflowPath: '.github/workflows/ms.dbforpostgresql.flexibleservers.yml' diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index a813f26dec..773dfb0a11 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DesktopVirtualization/applicationgroups' workflowPath: '.github/workflows/ms.desktopvirtualization.applicationgroups.yml' diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 5752e6ccf8..196055dc8e 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DesktopVirtualization/hostpools' workflowPath: '.github/workflows/ms.desktopvirtualization.hostpools.yml' diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index 3f87d814df..7ac5e06c2b 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DesktopVirtualization/scalingplans' workflowPath: '.github/workflows/ms.desktopvirtualization.scalingplans.yml' diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index 2e26d75000..7a1440e3b3 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DesktopVirtualization/workspaces' workflowPath: '.github/workflows/ms.desktopvirtualization.workspaces.yml' diff --git a/.github/workflows/ms.devtestlab.labs.yml b/.github/workflows/ms.devtestlab.labs.yml index 3f5cb744b7..015f9dac72 100644 --- a/.github/workflows/ms.devtestlab.labs.yml +++ b/.github/workflows/ms.devtestlab.labs.yml @@ -27,7 +27,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DevTestLab/labs' workflowPath: '.github/workflows/ms.devtestlab.labs.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index da84222a5f..e82a3b35f5 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.DocumentDB/databaseAccounts' workflowPath: '.github/workflows/ms.documentdb.databaseaccounts.yml' diff --git a/.github/workflows/ms.eventgrid.domains.yml b/.github/workflows/ms.eventgrid.domains.yml index 897d0cbace..b3b200dd8d 100644 --- a/.github/workflows/ms.eventgrid.domains.yml +++ b/.github/workflows/ms.eventgrid.domains.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/domains' workflowPath: '.github/workflows/ms.eventgrid.domains.yml' diff --git a/.github/workflows/ms.eventgrid.eventsubscriptions.yml b/.github/workflows/ms.eventgrid.eventsubscriptions.yml index 27ecb6e584..c48d50d19a 100644 --- a/.github/workflows/ms.eventgrid.eventsubscriptions.yml +++ b/.github/workflows/ms.eventgrid.eventsubscriptions.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/eventSubscriptions' workflowPath: '.github/workflows/ms.eventgrid.eventsubscriptions.yml' diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index 5ea7a951fb..e0f1ad5c64 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/systemTopics' workflowPath: '.github/workflows/ms.eventgrid.systemtopics.yml' diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index f37d73a691..64e8730afa 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventGrid/topics' workflowPath: '.github/workflows/ms.eventgrid.topics.yml' diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 0056839f89..11797a6c48 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.EventHub/namespaces' workflowPath: '.github/workflows/ms.eventhub.namespaces.yml' diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index 5d3ecddede..3ecba2c67e 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.HealthBot/healthBots' workflowPath: '.github/workflows/ms.healthbot.healthbots.yml' diff --git a/.github/workflows/ms.healthcareapis.workspaces.yml b/.github/workflows/ms.healthcareapis.workspaces.yml index 3c0bea15d7..0b7a8b43d8 100644 --- a/.github/workflows/ms.healthcareapis.workspaces.yml +++ b/.github/workflows/ms.healthcareapis.workspaces.yml @@ -26,7 +26,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.HealthcareApis/workspaces' workflowPath: '.github/workflows/ms.healthcareapis.workspaces.yml' AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 6bcbb17015..81aa34c608 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/actionGroups' workflowPath: '.github/workflows/ms.insights.actiongroups.yml' diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 8254519ded..5dbd1e922c 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/activityLogAlerts' workflowPath: '.github/workflows/ms.insights.activitylogalerts.yml' diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index d0b808611d..237f40d5d4 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/components' workflowPath: '.github/workflows/ms.insights.components.yml' diff --git a/.github/workflows/ms.insights.datacollectionendpoints.yml b/.github/workflows/ms.insights.datacollectionendpoints.yml index 987c9645be..27ae6d037f 100644 --- a/.github/workflows/ms.insights.datacollectionendpoints.yml +++ b/.github/workflows/ms.insights.datacollectionendpoints.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/dataCollectionEndpoints' workflowPath: '.github/workflows/ms.insights.datacollectionendpoints.yml' diff --git a/.github/workflows/ms.insights.datacollectionrules.yml b/.github/workflows/ms.insights.datacollectionrules.yml index 89fe268444..f0dae9e8d3 100644 --- a/.github/workflows/ms.insights.datacollectionrules.yml +++ b/.github/workflows/ms.insights.datacollectionrules.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/dataCollectionRules' workflowPath: '.github/workflows/ms.insights.datacollectionrules.yml' diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 4ef2a86c19..b6bf4d61da 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/diagnosticSettings' workflowPath: '.github/workflows/ms.insights.diagnosticsettings.yml' diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index 854b7c509e..d5c464d6df 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/metricAlerts' workflowPath: '.github/workflows/ms.insights.metricalerts.yml' diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 73e0497536..242c0a6987 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/privateLinkScopes' workflowPath: '.github/workflows/ms.insights.privatelinkscopes.yml' diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index 3fa4058d09..028eabc2ba 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Insights/scheduledQueryRules' workflowPath: '.github/workflows/ms.insights.scheduledqueryrules.yml' diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index 0633c3b6b9..f9ffabf248 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.KeyVault/vaults' workflowPath: '.github/workflows/ms.keyvault.vaults.yml' diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index cc941dd3c7..7b1a074a63 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.KubernetesConfiguration/extensions' workflowPath: '.github/workflows/ms.kubernetesconfiguration.extensions.yml' diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index ff45d7407e..7fafed198e 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.KubernetesConfiguration/fluxConfigurations' workflowPath: '.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml' diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index f2a84601aa..9ed0f2994a 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Logic/workflows' workflowPath: '.github/workflows/ms.logic.workflows.yml' diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index 110b7baee4..d74668557f 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.MachineLearningServices/workspaces' workflowPath: '.github/workflows/ms.machinelearningservices.workspaces.yml' diff --git a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml index e9e806075c..d1896d0ab2 100644 --- a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml +++ b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Maintenance/maintenanceConfigurations' workflowPath: '.github/workflows/ms.maintenance.maintenanceconfigurations.yml' diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index 68879345b9..799c55be08 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ManagedIdentity/userAssignedIdentities' workflowPath: '.github/workflows/ms.managedidentity.userassignedidentities.yml' diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index 1f8ffe7855..d89ed88843 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ManagedServices/registrationDefinitions' workflowPath: '.github/workflows/ms.managedservices.registrationdefinitions.yml' diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index a51c6e0159..3d89445e5e 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Management/managementGroups' workflowPath: '.github/workflows/ms.management.managementgroups.yml' diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index ee6c22b2e9..70019df8a0 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.NetApp/netAppAccounts' workflowPath: '.github/workflows/ms.netapp.netappaccounts.yml' diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 7e8990aee0..2277d53d94 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/applicationGateways' workflowPath: '.github/workflows/ms.network.applicationgateways.yml' diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 9a0201c65b..550f6b37ae 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies' workflowPath: '.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml' diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 47bf68fcd2..5732b46a76 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/applicationSecurityGroups' workflowPath: '.github/workflows/ms.network.applicationsecuritygroups.yml' diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 9cfe63c3a9..0b0bae3b13 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/azureFirewalls' workflowPath: '.github/workflows/ms.network.azurefirewalls.yml' diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index cb2eccda01..f03086ad01 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/bastionHosts' workflowPath: '.github/workflows/ms.network.bastionhosts.yml' diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index 80f288393b..ad7ab30b7f 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/connections' workflowPath: '.github/workflows/ms.network.connections.yml' diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index 04b3c447fc..69a8a30fb5 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/ddosProtectionPlans' workflowPath: '.github/workflows/ms.network.ddosprotectionplans.yml' diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index eee680f47b..4c80dd48be 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/dnsResolvers' workflowPath: '.github/workflows/ms.network.dnsresolvers.yml' diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index 1855bbfb45..10d3ca6030 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/expressRouteCircuits' workflowPath: '.github/workflows/ms.network.expressroutecircuits.yml' diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index 89ada062cf..bd1713d533 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/firewallPolicies' workflowPath: '.github/workflows/ms.network.firewallpolicies.yml' diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 13fdbc24ba..7ff655d7e4 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/frontDoors' workflowPath: '.github/workflows/ms.network.frontdoors.yml' diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index 9e8ee30b2f..cb51e15ca4 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/ipGroups' workflowPath: '.github/workflows/ms.network.ipgroups.yml' diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index 1cc564cdc7..d2285ec8df 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/loadBalancers' workflowPath: '.github/workflows/ms.network.loadbalancers.yml' diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index 55b4b7f9f2..2a84ee1548 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/localNetworkGateways' workflowPath: '.github/workflows/ms.network.localnetworkgateways.yml' diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index 74125afdb1..a31983dca9 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/natGateways' workflowPath: '.github/workflows/ms.network.natgateways.yml' diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index f277d66d98..bc2ca04cb5 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkInterfaces' workflowPath: '.github/workflows/ms.network.networkinterfaces.yml' diff --git a/.github/workflows/ms.network.networkmanagers.yml b/.github/workflows/ms.network.networkmanagers.yml index 1930c06dfc..a5ea27944f 100644 --- a/.github/workflows/ms.network.networkmanagers.yml +++ b/.github/workflows/ms.network.networkmanagers.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkManagers' workflowPath: '.github/workflows/ms.network.networkmanagers.yml' diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index a43fcff786..0da664746c 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkSecurityGroups' workflowPath: '.github/workflows/ms.network.networksecuritygroups.yml' diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index 78150bef25..7db2e3dbe9 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/networkWatchers' workflowPath: '.github/workflows/ms.network.networkwatchers.yml' diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index 50e6feec96..f1fa8b555e 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/privateDnsZones' workflowPath: '.github/workflows/ms.network.privatednszones.yml' diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 63c810c11a..1f42145906 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/privateEndpoints' workflowPath: '.github/workflows/ms.network.privateendpoints.yml' diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index 2753df522e..660d5362f1 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/privateLinkServices' workflowPath: '.github/workflows/ms.network.privatelinkservices.yml' diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index bbee7cdca9..ff34eb8b76 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/publicIPAddresses' workflowPath: '.github/workflows/ms.network.publicipaddresses.yml' diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index b41705f661..a1c65d7f90 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/publicIPPrefixes' workflowPath: '.github/workflows/ms.network.publicipprefixes.yml' diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index d23e61c193..f119e10710 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/routeTables' workflowPath: '.github/workflows/ms.network.routetables.yml' diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index db4c3497f2..49f48635f8 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/trafficmanagerprofiles' workflowPath: '.github/workflows/ms.network.trafficmanagerprofiles.yml' diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index 5ebb55520a..aaeb8c82f5 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/virtualHubs' workflowPath: '.github/workflows/ms.network.virtualhubs.yml' diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index 1012c721f0..cbb4c3f048 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/virtualNetworkGateways' workflowPath: '.github/workflows/ms.network.virtualnetworkgateways.yml' diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index 282dd77227..ebb0614c39 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/virtualWans' workflowPath: '.github/workflows/ms.network.virtualwans.yml' diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index 568e83fb66..a1c43a79f8 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/vpnGateways' workflowPath: '.github/workflows/ms.network.vpngateways.yml' diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index c36d930647..502a783ccb 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Network/vpnSites' workflowPath: '.github/workflows/ms.network.vpnsites.yml' diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 46378efa12..3ce9f908bc 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.OperationalInsights/workspaces' workflowPath: '.github/workflows/ms.operationalinsights.workspaces.yml' diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index 790bcb9b79..a55f2e90d6 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.OperationsManagement/solutions' workflowPath: '.github/workflows/ms.operationsmanagement.solutions.yml' diff --git a/.github/workflows/ms.policyinsights.remediations.yml b/.github/workflows/ms.policyinsights.remediations.yml index a753f2ed10..e24d470848 100644 --- a/.github/workflows/ms.policyinsights.remediations.yml +++ b/.github/workflows/ms.policyinsights.remediations.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.PolicyInsights/remediations' workflowPath: '.github/workflows/ms.policyinsights.remediations.yml' diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index 402aaafa08..22e248c1dd 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.PowerBIDedicated/capacities' workflowPath: '.github/workflows/ms.powerbidedicated.capacities.yml' diff --git a/.github/workflows/ms.purview.accounts.yml b/.github/workflows/ms.purview.accounts.yml index 3cefb21372..9e062a1abd 100644 --- a/.github/workflows/ms.purview.accounts.yml +++ b/.github/workflows/ms.purview.accounts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Purview/accounts' workflowPath: '.github/workflows/ms.purview.accounts.yml' diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 811539df11..279b7ecb78 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.RecoveryServices/vaults' workflowPath: '.github/workflows/ms.recoveryservices.vaults.yml' diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 45bf5a1ec9..d16ae1623d 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/deploymentScripts' workflowPath: '.github/workflows/ms.resources.deploymentscripts.yml' diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index 9a4203695a..fbe7503e58 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Resources/tags' workflowPath: '.github/workflows/ms.resources.tags.yml' diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index 334cc7cf71..f3272bd92f 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -26,7 +26,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Security/azureSecurityCenter' workflowPath: '.github/workflows/ms.security.azuresecuritycenter.yml' diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index a43a660e03..e0ea593da6 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ServiceBus/namespaces' workflowPath: '.github/workflows/ms.servicebus.namespaces.yml' diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index 67a045b055..958eb02334 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.ServiceFabric/clusters' workflowPath: '.github/workflows/ms.servicefabric.clusters.yml' diff --git a/.github/workflows/ms.signalrservice.signalr.yml b/.github/workflows/ms.signalrservice.signalr.yml index bd26ff460a..6a5a5b7955 100644 --- a/.github/workflows/ms.signalrservice.signalr.yml +++ b/.github/workflows/ms.signalrservice.signalr.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.SignalRService/signalR' workflowPath: '.github/workflows/ms.signalrservice.signalr.yml' diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index 12cec9e1cc..b1e4117339 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.SignalRService/webPubSub' workflowPath: '.github/workflows/ms.signalrservice.webpubsub.yml' diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 085cd5950e..a14349a0f8 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Sql/managedInstances' workflowPath: '.github/workflows/ms.sql.managedinstances.yml' diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index 8da8f6dd28..68cbf3e26f 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Sql/servers' workflowPath: '.github/workflows/ms.sql.servers.yml' diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index c65548408b..c842d3de34 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Storage/storageAccounts' workflowPath: '.github/workflows/ms.storage.storageaccounts.yml' diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 913f3371e2..24c931cdfa 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Synapse/privateLinkHubs' workflowPath: '.github/workflows/ms.synapse.privatelinkhubs.yml' diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index 3096716361..403e091c21 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Synapse/workspaces' workflowPath: '.github/workflows/ms.synapse.workspaces.yml' diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index 04e23619f4..8b3beaa79f 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.VirtualMachineImages/imageTemplates' workflowPath: '.github/workflows/ms.virtualmachineimages.imagetemplates.yml' diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index 3ec9fe8bbc..76e6e065a2 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/connections' workflowPath: '.github/workflows/ms.web.connections.yml' diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index 09d0ff65d0..6eb2daa323 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/hostingEnvironments' workflowPath: '.github/workflows/ms.web.hostingenvironments.yml' diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 90b7d0b127..6beb6af5b4 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/serverfarms' workflowPath: '.github/workflows/ms.web.serverfarms.yml' diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index cf879da315..346283c184 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/sites' workflowPath: '.github/workflows/ms.web.sites.yml' diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index b19813f99e..1ce33cd65c 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -36,7 +36,6 @@ on: - '!*/**/readme.md' env: - variablesPath: 'settings.yml' modulePath: 'modules/Microsoft.Web/staticSites' workflowPath: '.github/workflows/ms.web.staticsites.yml' From 1c35201e37d53e6503fe03949b27c184e94d683c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:45:29 +0100 Subject: [PATCH 249/260] remove end new line --- .github/workflows/ms.aad.domainservices.yml | 1 - .github/workflows/ms.apimanagement.service.yml | 1 - .github/workflows/ms.appconfiguration.configurationstores.yml | 1 - .github/workflows/ms.automation.automationaccounts.yml | 1 - .github/workflows/ms.batch.batchaccounts.yml | 1 - .github/workflows/ms.cache.redis.yml | 1 - .github/workflows/ms.compute.availabilitysets.yml | 1 - .github/workflows/ms.compute.diskencryptionsets.yml | 1 - .github/workflows/ms.compute.disks.yml | 1 - .github/workflows/ms.compute.galleries.yml | 1 - .github/workflows/ms.compute.images.yml | 1 - .github/workflows/ms.compute.proximityplacementgroups.yml | 1 - .github/workflows/ms.compute.virtualmachines.yml | 1 - .github/workflows/ms.compute.virtualmachinescalesets.yml | 1 - .github/workflows/ms.consumption.budgets.yml | 1 - .github/workflows/ms.containerinstance.containergroups.yml | 1 - .github/workflows/ms.containerregistry.registries.yml | 1 - .github/workflows/ms.containerservice.managedclusters.yml | 1 - .github/workflows/ms.databricks.workspaces.yml | 1 - .github/workflows/ms.datafactory.factories.yml | 1 - .github/workflows/ms.dataprotection.backupvaults.yml | 1 - .github/workflows/ms.desktopvirtualization.applicationgroups.yml | 1 - .github/workflows/ms.desktopvirtualization.hostpools.yml | 1 - .github/workflows/ms.desktopvirtualization.scalingplans.yml | 1 - .github/workflows/ms.desktopvirtualization.workspaces.yml | 1 - .github/workflows/ms.documentdb.databaseaccounts.yml | 1 - .github/workflows/ms.eventgrid.domains.yml | 1 - .github/workflows/ms.eventgrid.systemtopics.yml | 1 - .github/workflows/ms.eventgrid.topics.yml | 1 - .github/workflows/ms.eventhub.namespaces.yml | 1 - .github/workflows/ms.healthbot.healthbots.yml | 1 - .github/workflows/ms.insights.actiongroups.yml | 1 - .github/workflows/ms.insights.activitylogalerts.yml | 1 - .github/workflows/ms.insights.components.yml | 1 - .github/workflows/ms.insights.datacollectionendpoints.yml | 1 - .github/workflows/ms.insights.datacollectionrules.yml | 1 - .github/workflows/ms.insights.diagnosticsettings.yml | 1 - .github/workflows/ms.insights.metricalerts.yml | 1 - .github/workflows/ms.insights.privatelinkscopes.yml | 1 - .github/workflows/ms.insights.scheduledqueryrules.yml | 1 - .github/workflows/ms.keyvault.vaults.yml | 1 - .github/workflows/ms.kubernetesconfiguration.extensions.yml | 1 - .../workflows/ms.kubernetesconfiguration.fluxconfigurations.yml | 1 - .github/workflows/ms.logic.workflows.yml | 1 - .github/workflows/ms.machinelearningservices.workspaces.yml | 1 - .github/workflows/ms.maintenance.maintenanceconfigurations.yml | 1 - .github/workflows/ms.managedidentity.userassignedidentities.yml | 1 - .github/workflows/ms.managedservices.registrationdefinitions.yml | 1 - .github/workflows/ms.management.managementgroups.yml | 1 - .github/workflows/ms.netapp.netappaccounts.yml | 1 - .github/workflows/ms.network.applicationgateways.yml | 1 - ....network.applicationgatewaywebapplicationfirewallpolicies.yml | 1 - .github/workflows/ms.network.applicationsecuritygroups.yml | 1 - .github/workflows/ms.network.azurefirewalls.yml | 1 - .github/workflows/ms.network.bastionhosts.yml | 1 - .github/workflows/ms.network.connections.yml | 1 - .github/workflows/ms.network.ddosprotectionplans.yml | 1 - .github/workflows/ms.network.dnsresolvers.yml | 1 - .github/workflows/ms.network.expressroutecircuits.yml | 1 - .github/workflows/ms.network.firewallpolicies.yml | 1 - .github/workflows/ms.network.frontdoors.yml | 1 - .github/workflows/ms.network.ipgroups.yml | 1 - .github/workflows/ms.network.loadbalancers.yml | 1 - .github/workflows/ms.network.localnetworkgateways.yml | 1 - .github/workflows/ms.network.natgateways.yml | 1 - .github/workflows/ms.network.networkinterfaces.yml | 1 - .github/workflows/ms.network.networkmanagers.yml | 1 - .github/workflows/ms.network.networksecuritygroups.yml | 1 - .github/workflows/ms.network.networkwatchers.yml | 1 - .github/workflows/ms.network.privatednszones.yml | 1 - .github/workflows/ms.network.privateendpoints.yml | 1 - .github/workflows/ms.network.publicipaddresses.yml | 1 - .github/workflows/ms.network.publicipprefixes.yml | 1 - .github/workflows/ms.network.routetables.yml | 1 - .github/workflows/ms.network.trafficmanagerprofiles.yml | 1 - .github/workflows/ms.network.virtualhubs.yml | 1 - .github/workflows/ms.network.virtualnetworkgateways.yml | 1 - .github/workflows/ms.network.virtualwans.yml | 1 - .github/workflows/ms.network.vpngateways.yml | 1 - .github/workflows/ms.network.vpnsites.yml | 1 - .github/workflows/ms.operationalinsights.workspaces.yml | 1 - .github/workflows/ms.operationsmanagement.solutions.yml | 1 - .github/workflows/ms.powerbidedicated.capacities.yml | 1 - .github/workflows/ms.recoveryservices.vaults.yml | 1 - .github/workflows/ms.resources.deploymentscripts.yml | 1 - .github/workflows/ms.resources.tags.yml | 1 - .github/workflows/ms.security.azuresecuritycenter.yml | 1 - .github/workflows/ms.servicebus.namespaces.yml | 1 - .github/workflows/ms.servicefabric.clusters.yml | 1 - .github/workflows/ms.signalrservice.signalr.yml | 1 - .github/workflows/ms.signalrservice.webpubsub.yml | 1 - .github/workflows/ms.sql.managedinstances.yml | 1 - .github/workflows/ms.sql.servers.yml | 1 - .github/workflows/ms.storage.storageaccounts.yml | 1 - .github/workflows/ms.synapse.privatelinkhubs.yml | 1 - .github/workflows/ms.synapse.workspaces.yml | 1 - .github/workflows/ms.virtualmachineimages.imagetemplates.yml | 1 - .github/workflows/ms.web.connections.yml | 1 - .github/workflows/ms.web.hostingenvironments.yml | 1 - .github/workflows/ms.web.serverfarms.yml | 1 - .github/workflows/ms.web.sites.yml | 1 - .github/workflows/ms.web.staticsites.yml | 1 - 102 files changed, 102 deletions(-) diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index 30b860a316..9285e2236d 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index 10caf1ccf7..12d66d9509 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index 19f78c61bf..d57458c0f1 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 75e9c6dec8..06ddce621e 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -79,4 +79,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index a7f3124cea..a31523a49d 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 23d9bdc35c..544c9820d0 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index cb28bc096c..5fab10c229 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index 8aa04e4c0b..b15d1cffe0 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index 6545bd9837..444bf7389c 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index 205996cacc..d0342ba583 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index 6041f46718..a8fa0916be 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index c86c82dee5..51a4ed1c48 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 2c4d9728d4..8a49867386 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index bc2f2d6c10..5c50f91c95 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index de9f23cf03..9673355d65 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index d2918e22c0..908a90a493 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 344bca135a..84a5b253a0 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 1a69e1d2d3..97b9c5608e 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 736a355b07..8fac8e2df0 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 521a5545e2..806cd7739c 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 320be31fc4..c56279297f 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index 773dfb0a11..a6e50603d9 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 196055dc8e..3a2200e07a 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index 7ac5e06c2b..5887d0a71d 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index 7a1440e3b3..f01d5e8355 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index e82a3b35f5..c8a6df0298 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.eventgrid.domains.yml b/.github/workflows/ms.eventgrid.domains.yml index b3b200dd8d..564ba0b15c 100644 --- a/.github/workflows/ms.eventgrid.domains.yml +++ b/.github/workflows/ms.eventgrid.domains.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index e0f1ad5c64..e48dff7ac8 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index 64e8730afa..28a39fd3f1 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 11797a6c48..8b292b40a0 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index 3ecba2c67e..3b2922503a 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 81aa34c608..55b5eaa9fb 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 5dbd1e922c..abdd32bbe5 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 237f40d5d4..9c54ee056b 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.datacollectionendpoints.yml b/.github/workflows/ms.insights.datacollectionendpoints.yml index 27ae6d037f..0a8972c4ae 100644 --- a/.github/workflows/ms.insights.datacollectionendpoints.yml +++ b/.github/workflows/ms.insights.datacollectionendpoints.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.datacollectionrules.yml b/.github/workflows/ms.insights.datacollectionrules.yml index f0dae9e8d3..80d382abed 100644 --- a/.github/workflows/ms.insights.datacollectionrules.yml +++ b/.github/workflows/ms.insights.datacollectionrules.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index b6bf4d61da..3f109bffcf 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index d5c464d6df..a4b0343458 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 242c0a6987..7875841bdc 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index 028eabc2ba..1d86e1cb9a 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index f9ffabf248..09522e60b5 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index 7b1a074a63..c5e13dbea3 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 7fafed198e..2478a09cf2 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 9ed0f2994a..452644e32d 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index d74668557f..c15c424315 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml index d1896d0ab2..7232a9122f 100644 --- a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml +++ b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index 799c55be08..2b5d59dc61 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index d89ed88843..38592e46f7 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 3d89445e5e..0bf388ae97 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index 70019df8a0..1ca393bfa7 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 2277d53d94..1e633a298a 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 550f6b37ae..2e2aba3df9 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 5732b46a76..a2f76c3701 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 0b0bae3b13..0b51680468 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index f03086ad01..d4dcf6dc1c 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index ad7ab30b7f..ab6c613243 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index 69a8a30fb5..227cca66b8 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index 4c80dd48be..32f5531f00 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index 10d3ca6030..620e5aae8a 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index bd1713d533..297c8894a0 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 7ff655d7e4..9484a6fdb2 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index cb51e15ca4..a78f19fbb9 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index d2285ec8df..cc5bf930f8 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index 2a84ee1548..37c525a7f2 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index a31983dca9..cc8bb4795c 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index bc2ca04cb5..0ddea0ed1d 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.networkmanagers.yml b/.github/workflows/ms.network.networkmanagers.yml index a5ea27944f..ed68e09fe6 100644 --- a/.github/workflows/ms.network.networkmanagers.yml +++ b/.github/workflows/ms.network.networkmanagers.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 0da664746c..99f8d296a4 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index 7db2e3dbe9..9a11aaa481 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index f1fa8b555e..1f6e477317 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 1f42145906..726e6393a0 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index ff34eb8b76..cbd99b1e20 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index a1c65d7f90..764651131b 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index f119e10710..3894421ed6 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index 49f48635f8..db3fa3cd39 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index aaeb8c82f5..f272c23754 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index cbb4c3f048..3a850a6e5e 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index ebb0614c39..7a87700b33 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index a1c43a79f8..830b65b128 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index 502a783ccb..c9940f39a7 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 3ce9f908bc..fe769e30b2 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index a55f2e90d6..9b68c5e25c 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index 22e248c1dd..44ecd27f77 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 279b7ecb78..c1da5b4e8d 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index d16ae1623d..1c22e19610 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index fbe7503e58..9b9af6ffc0 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index f3272bd92f..12ba17bf75 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -73,4 +73,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index e0ea593da6..859499c42a 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index 958eb02334..aca0adfc16 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.signalrservice.signalr.yml b/.github/workflows/ms.signalrservice.signalr.yml index 6a5a5b7955..1c8e4a351a 100644 --- a/.github/workflows/ms.signalrservice.signalr.yml +++ b/.github/workflows/ms.signalrservice.signalr.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index b1e4117339..a533ab7b41 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index a14349a0f8..271e153b4a 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index 68cbf3e26f..0c4bab1d03 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index c842d3de34..66667947bc 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 24c931cdfa..bbbc8f2904 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index 403e091c21..fcd58e9cdd 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index 8b3beaa79f..f92e967099 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index 76e6e065a2..57ced3d877 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index 6eb2daa323..9562924b8b 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 6beb6af5b4..5f02c88a47 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index 346283c184..b6886924e7 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index 1ce33cd65c..2d37492790 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -83,4 +83,3 @@ jobs: moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' secrets: inherit - From 77ba82b2382a1893f6ca818f604ed129e43ee14c Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:48:50 +0100 Subject: [PATCH 250/260] replace main 1 --- .../workflows/ms.analysisservices.servers.yml | 100 +++--------------- 1 file changed, 12 insertions(+), 88 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index a14ce13e98..135375fc2a 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -67,95 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_static_validation - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit From 04bf921479dce23fe9d3d0da9a113cc9c13fb210 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:50:44 +0100 Subject: [PATCH 251/260] replace main rest --- .github/workflows/ms.authorization.locks.yml | 102 +++--------------- .../ms.authorization.policyassignments.yml | 102 +++--------------- .../ms.authorization.policydefinitions.yml | 102 +++--------------- .../ms.authorization.policyexemptions.yml | 102 +++--------------- .../ms.authorization.policysetdefinitions.yml | 102 +++--------------- .../ms.authorization.roleassignments.yml | 102 +++--------------- .../ms.authorization.roledefinitions.yml | 102 +++--------------- .../ms.dbforpostgresql.flexibleservers.yml | 102 +++--------------- .../ms.policyinsights.remediations.yml | 102 +++--------------- .github/workflows/ms.purview.accounts.yml | 102 +++--------------- 10 files changed, 120 insertions(+), 900 deletions(-) diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index efc1bb6a71..92d79201a5 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index 54962bc3ae..6565234a1a 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 745c30bae9..459dcc927a 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index a69dd82b72..03e3aa7d88 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index fe3cccd9e3..d8df8b1f34 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index 96fe7657dd..633906b0e2 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index 32e11214f5..fb2a5df2aa 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index c7a62f27fb..be5de3e2ab 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.policyinsights.remediations.yml b/.github/workflows/ms.policyinsights.remediations.yml index e24d470848..3d07a8ac13 100644 --- a/.github/workflows/ms.policyinsights.remediations.yml +++ b/.github/workflows/ms.policyinsights.remediations.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.purview.accounts.yml b/.github/workflows/ms.purview.accounts.yml index 9e062a1abd..55109655d8 100644 --- a/.github/workflows/ms.purview.accounts.yml +++ b/.github/workflows/ms.purview.accounts.yml @@ -67,97 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - # ------------------- # - ## Deploy & Remove ## - # ------------------- # - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit From 76889f113ad6866b71927056983c060b4241a830 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:51:45 +0100 Subject: [PATCH 252/260] replace main rest 2 --- .github/workflows/ms.cdn.profiles.yml | 98 +++---------------- .github/workflows/ms.devtestlab.labs.yml | 98 +++---------------- .../ms.eventgrid.eventsubscriptions.yml | 98 +++---------------- 3 files changed, 36 insertions(+), 258 deletions(-) diff --git a/.github/workflows/ms.cdn.profiles.yml b/.github/workflows/ms.cdn.profiles.yml index 82d0839e71..5bc43080bc 100644 --- a/.github/workflows/ms.cdn.profiles.yml +++ b/.github/workflows/ms.cdn.profiles.yml @@ -67,93 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.devtestlab.labs.yml b/.github/workflows/ms.devtestlab.labs.yml index 015f9dac72..a73c6fc48c 100644 --- a/.github/workflows/ms.devtestlab.labs.yml +++ b/.github/workflows/ms.devtestlab.labs.yml @@ -63,93 +63,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit diff --git a/.github/workflows/ms.eventgrid.eventsubscriptions.yml b/.github/workflows/ms.eventgrid.eventsubscriptions.yml index c48d50d19a..fe88ad37ef 100644 --- a/.github/workflows/ms.eventgrid.eventsubscriptions.yml +++ b/.github/workflows/ms.eventgrid.eventsubscriptions.yml @@ -67,93 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit From 7d025b3bf8b36aff90b4f059e3e840a6712b6ef4 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:52:49 +0100 Subject: [PATCH 253/260] replace main rest 3 --- .../ms.network.privatelinkservices.yml | 99 +++---------------- 1 file changed, 12 insertions(+), 87 deletions(-) diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index 660d5362f1..5e2a576e1c 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -67,94 +67,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_static_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true' - needs: - - job_initialize_pipeline - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deploying' - if: | - !cancelled() && - (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' && - needs.job_module_static_validation.result != 'failure' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_static_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' - publishLatest: '${{ env.publishLatest }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit From 2a6f1e4fe36c964f9fe999464c6de8ed38075da7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 21:54:10 +0100 Subject: [PATCH 254/260] replace main rest 4 --- .../ms.healthcareapis.workspaces.yml | 91 +++---------------- 1 file changed, 12 insertions(+), 79 deletions(-) diff --git a/.github/workflows/ms.healthcareapis.workspaces.yml b/.github/workflows/ms.healthcareapis.workspaces.yml index 0b7a8b43d8..7bfaadf23f 100644 --- a/.github/workflows/ms.healthcareapis.workspaces.yml +++ b/.github/workflows/ms.healthcareapis.workspaces.yml @@ -59,86 +59,19 @@ jobs: outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + modulePath: '${{ env.modulePath }}' - ######################### - # Static validation # - ######################### - job_module_pester_validation: - runs-on: ubuntu-20.04 - name: 'Static validation' - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Run tests' - uses: ./.github/actions/templates/validateModulePester - with: - modulePath: '${{ env.modulePath }}' - moduleTestFilePath: '${{ env.moduleTestFilePath }}' - ############################# - # Deployment validation # - ############################# - job_module_deploy_validation: - runs-on: ubuntu-20.04 - name: 'Deployment validation' + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: 'Module' needs: - job_initialize_pipeline - - job_module_pester_validation - strategy: - fail-fast: false - matrix: - moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Using test file [${{ matrix.moduleTestFilePaths }}]' - uses: ./.github/actions/templates/validateModuleDeployment - with: - templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' - location: '${{ env.location }}' - subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' - - ################## - # Publishing # - ################## - job_publish_module: - name: 'Publishing' - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true' - runs-on: ubuntu-20.04 - needs: - - job_module_deploy_validation - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set environment variables - uses: ./.github/actions/templates/setEnvironmentVariables - with: - variablesPath: ${{ env.variablesPath }} - - name: 'Publishing' - uses: ./.github/actions/templates/publishModule - with: - templateFilePath: '${{ env.modulePath }}/deploy.bicep' - templateSpecsRGName: '${{ env.templateSpecsRGName }}' - templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}' - templateSpecsDescription: '${{ env.templateSpecsDescription }}' - templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}' - bicepRegistryName: '${{ env.bicepRegistryName }}' - bicepRegistryRGName: '${{ env.bicepRegistryRGName }}' - bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}' - bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}' + uses: ./.github/workflows/template.module.yml + with: + workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}' + moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}' + modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}' + secrets: inherit From 1d896665778728720b03cdf719589f71f52840d6 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Fri, 10 Feb 2023 22:14:19 +0100 Subject: [PATCH 255/260] workflow name --- .github/workflows/ms.aad.domainservices.yml | 2 +- .github/workflows/ms.analysisservices.servers.yml | 2 +- .github/workflows/ms.apimanagement.service.yml | 2 +- .github/workflows/ms.appconfiguration.configurationstores.yml | 2 +- .github/workflows/ms.authorization.locks.yml | 2 +- .github/workflows/ms.authorization.policyassignments.yml | 2 +- .github/workflows/ms.authorization.policydefinitions.yml | 2 +- .github/workflows/ms.authorization.policyexemptions.yml | 2 +- .github/workflows/ms.authorization.policysetdefinitions.yml | 2 +- .github/workflows/ms.authorization.roleassignments.yml | 2 +- .github/workflows/ms.authorization.roledefinitions.yml | 2 +- .github/workflows/ms.automation.automationaccounts.yml | 2 +- .github/workflows/ms.batch.batchaccounts.yml | 2 +- .github/workflows/ms.cache.redis.yml | 2 +- .github/workflows/ms.cdn.profiles.yml | 2 +- .github/workflows/ms.cognitiveservices.accounts.yml | 2 +- .github/workflows/ms.compute.availabilitysets.yml | 2 +- .github/workflows/ms.compute.diskencryptionsets.yml | 2 +- .github/workflows/ms.compute.disks.yml | 2 +- .github/workflows/ms.compute.galleries.yml | 2 +- .github/workflows/ms.compute.images.yml | 2 +- .github/workflows/ms.compute.proximityplacementgroups.yml | 2 +- .github/workflows/ms.compute.virtualmachines.yml | 2 +- .github/workflows/ms.compute.virtualmachinescalesets.yml | 2 +- .github/workflows/ms.consumption.budgets.yml | 4 ++-- .github/workflows/ms.containerinstance.containergroups.yml | 2 +- .github/workflows/ms.containerregistry.registries.yml | 2 +- .github/workflows/ms.containerservice.managedclusters.yml | 2 +- .github/workflows/ms.databricks.workspaces.yml | 2 +- .github/workflows/ms.datafactory.factories.yml | 2 +- .github/workflows/ms.dataprotection.backupvaults.yml | 2 +- .github/workflows/ms.dbforpostgresql.flexibleservers.yml | 2 +- .../workflows/ms.desktopvirtualization.applicationgroups.yml | 2 +- .github/workflows/ms.desktopvirtualization.hostpools.yml | 2 +- .github/workflows/ms.desktopvirtualization.scalingplans.yml | 2 +- .github/workflows/ms.desktopvirtualization.workspaces.yml | 2 +- .github/workflows/ms.devtestlab.labs.yml | 2 +- .github/workflows/ms.documentdb.databaseaccounts.yml | 2 +- .github/workflows/ms.eventgrid.domains.yml | 2 +- .github/workflows/ms.eventgrid.eventsubscriptions.yml | 2 +- .github/workflows/ms.eventgrid.systemtopics.yml | 2 +- .github/workflows/ms.eventgrid.topics.yml | 2 +- .github/workflows/ms.eventhub.namespaces.yml | 2 +- .github/workflows/ms.healthbot.healthbots.yml | 2 +- .github/workflows/ms.healthcareapis.workspaces.yml | 2 +- .github/workflows/ms.insights.actiongroups.yml | 2 +- .github/workflows/ms.insights.activitylogalerts.yml | 2 +- .github/workflows/ms.insights.components.yml | 2 +- .github/workflows/ms.insights.datacollectionendpoints.yml | 2 +- .github/workflows/ms.insights.datacollectionrules.yml | 2 +- .github/workflows/ms.insights.diagnosticsettings.yml | 2 +- .github/workflows/ms.insights.metricalerts.yml | 2 +- .github/workflows/ms.insights.privatelinkscopes.yml | 2 +- .github/workflows/ms.insights.scheduledqueryrules.yml | 2 +- .github/workflows/ms.keyvault.vaults.yml | 2 +- .github/workflows/ms.kubernetesconfiguration.extensions.yml | 2 +- .../ms.kubernetesconfiguration.fluxconfigurations.yml | 2 +- .github/workflows/ms.logic.workflows.yml | 2 +- .github/workflows/ms.machinelearningservices.workspaces.yml | 2 +- .../workflows/ms.maintenance.maintenanceconfigurations.yml | 2 +- .../workflows/ms.managedidentity.userassignedidentities.yml | 2 +- .../workflows/ms.managedservices.registrationdefinitions.yml | 2 +- .github/workflows/ms.management.managementgroups.yml | 2 +- .github/workflows/ms.netapp.netappaccounts.yml | 2 +- .github/workflows/ms.network.applicationgateways.yml | 2 +- ...twork.applicationgatewaywebapplicationfirewallpolicies.yml | 2 +- .github/workflows/ms.network.applicationsecuritygroups.yml | 2 +- .github/workflows/ms.network.azurefirewalls.yml | 2 +- .github/workflows/ms.network.bastionhosts.yml | 2 +- .github/workflows/ms.network.connections.yml | 2 +- .github/workflows/ms.network.ddosprotectionplans.yml | 2 +- .github/workflows/ms.network.dnsresolvers.yml | 2 +- .github/workflows/ms.network.expressroutecircuits.yml | 2 +- .github/workflows/ms.network.firewallpolicies.yml | 2 +- .github/workflows/ms.network.frontdoors.yml | 2 +- .github/workflows/ms.network.ipgroups.yml | 2 +- .github/workflows/ms.network.loadbalancers.yml | 2 +- .github/workflows/ms.network.localnetworkgateways.yml | 2 +- .github/workflows/ms.network.natgateways.yml | 2 +- .github/workflows/ms.network.networkinterfaces.yml | 2 +- .github/workflows/ms.network.networkmanagers.yml | 2 +- .github/workflows/ms.network.networksecuritygroups.yml | 2 +- .github/workflows/ms.network.networkwatchers.yml | 2 +- .github/workflows/ms.network.privatednszones.yml | 2 +- .github/workflows/ms.network.privateendpoints.yml | 2 +- .github/workflows/ms.network.privatelinkservices.yml | 2 +- .github/workflows/ms.network.publicipaddresses.yml | 2 +- .github/workflows/ms.network.publicipprefixes.yml | 2 +- .github/workflows/ms.network.routetables.yml | 2 +- .github/workflows/ms.network.trafficmanagerprofiles.yml | 2 +- .github/workflows/ms.network.virtualhubs.yml | 2 +- .github/workflows/ms.network.virtualnetworkgateways.yml | 2 +- .github/workflows/ms.network.virtualnetworks.yml | 2 +- .github/workflows/ms.network.virtualwans.yml | 2 +- .github/workflows/ms.network.vpngateways.yml | 2 +- .github/workflows/ms.network.vpnsites.yml | 2 +- .github/workflows/ms.operationalinsights.workspaces.yml | 2 +- .github/workflows/ms.operationsmanagement.solutions.yml | 2 +- .github/workflows/ms.policyinsights.remediations.yml | 2 +- .github/workflows/ms.powerbidedicated.capacities.yml | 2 +- .github/workflows/ms.purview.accounts.yml | 2 +- .github/workflows/ms.recoveryservices.vaults.yml | 2 +- .github/workflows/ms.resources.deploymentscripts.yml | 2 +- .github/workflows/ms.resources.tags.yml | 2 +- .github/workflows/ms.security.azuresecuritycenter.yml | 2 +- .github/workflows/ms.servicebus.namespaces.yml | 2 +- .github/workflows/ms.servicefabric.clusters.yml | 2 +- .github/workflows/ms.signalrservice.signalr.yml | 2 +- .github/workflows/ms.signalrservice.webpubsub.yml | 2 +- .github/workflows/ms.sql.managedinstances.yml | 2 +- .github/workflows/ms.sql.servers.yml | 2 +- .github/workflows/ms.storage.storageaccounts.yml | 2 +- .github/workflows/ms.synapse.privatelinkhubs.yml | 2 +- .github/workflows/ms.synapse.workspaces.yml | 2 +- .github/workflows/ms.virtualmachineimages.imagetemplates.yml | 2 +- .github/workflows/ms.web.connections.yml | 2 +- .github/workflows/ms.web.hostingenvironments.yml | 2 +- .github/workflows/ms.web.serverfarms.yml | 2 +- .github/workflows/ms.web.sites.yml | 2 +- .github/workflows/ms.web.staticsites.yml | 2 +- .github/workflows/template.module.yml | 2 +- 121 files changed, 122 insertions(+), 122 deletions(-) diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index 9285e2236d..be2af0f3b7 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -1,4 +1,4 @@ -name: 'AAD: DomainServices' +name: 'AAD - DomainServices' on: workflow_dispatch: diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 135375fc2a..b11b286f75 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -1,4 +1,4 @@ -name: 'AnalysisServices: Servers' +name: 'AnalysisServices - Servers' on: workflow_dispatch: diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index 12d66d9509..e6b08726da 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -1,4 +1,4 @@ -name: 'ApiManagement: Service' +name: 'ApiManagement - Service' on: workflow_dispatch: diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index d57458c0f1..723e1e3793 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -1,4 +1,4 @@ -name: 'AppConfiguration: ConfigurationStores' +name: 'AppConfiguration - ConfigurationStores' on: workflow_dispatch: diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 92d79201a5..27b6b08d9d 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -1,4 +1,4 @@ -name: 'Authorization: Locks' +name: 'Authorization - Locks' on: workflow_dispatch: diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index 6565234a1a..1a2a03d43c 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -1,4 +1,4 @@ -name: 'Authorization: PolicyAssignments' +name: 'Authorization - PolicyAssignments' on: workflow_dispatch: diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 459dcc927a..b5a3ed17e0 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -1,4 +1,4 @@ -name: 'Authorization: PolicyDefinitions' +name: 'Authorization - PolicyDefinitions' on: workflow_dispatch: diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 03e3aa7d88..48734003c2 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -1,4 +1,4 @@ -name: 'Authorization: PolicyExemptions' +name: 'Authorization - PolicyExemptions' on: workflow_dispatch: diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index d8df8b1f34..6e0eb12b2f 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -1,4 +1,4 @@ -name: 'Authorization: PolicySetDefinitions' +name: 'Authorization - PolicySetDefinitions' on: workflow_dispatch: diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index 633906b0e2..64bbe3ce0e 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -1,4 +1,4 @@ -name: 'Authorization: RoleAssignments' +name: 'Authorization - RoleAssignments' on: workflow_dispatch: diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index fb2a5df2aa..4b0600d5de 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -1,4 +1,4 @@ -name: 'Authorization: RoleDefinitions' +name: 'Authorization - RoleDefinitions' on: workflow_dispatch: diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 06ddce621e..903aaab691 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -1,4 +1,4 @@ -name: 'Automation: AutomationAccounts' +name: 'Automation - AutomationAccounts' on: workflow_dispatch: diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index a31523a49d..374fd920b5 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -1,4 +1,4 @@ -name: 'Batch: BatchAccounts' +name: 'Batch - BatchAccounts' on: workflow_dispatch: diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 544c9820d0..fc1b5c6c53 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -1,4 +1,4 @@ -name: 'Cache: Redis' +name: 'Cache - Redis' on: workflow_dispatch: diff --git a/.github/workflows/ms.cdn.profiles.yml b/.github/workflows/ms.cdn.profiles.yml index 5bc43080bc..be58161651 100644 --- a/.github/workflows/ms.cdn.profiles.yml +++ b/.github/workflows/ms.cdn.profiles.yml @@ -1,4 +1,4 @@ -name: 'CDN: Profiles' +name: 'CDN - Profiles' on: workflow_dispatch: diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 094ac87f59..c472491317 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -1,4 +1,4 @@ -name: 'CognitiveServices: Accounts' +name: 'CognitiveServices - Accounts' on: workflow_dispatch: diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index 5fab10c229..2b394d0897 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -1,4 +1,4 @@ -name: 'Compute: AvailabilitySets' +name: 'Compute - AvailabilitySets' on: workflow_dispatch: diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index b15d1cffe0..38b38e13bd 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -1,4 +1,4 @@ -name: 'Compute: DiskEncryptionSets' +name: 'Compute - DiskEncryptionSets' on: workflow_dispatch: diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index 444bf7389c..6b26194f70 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -1,4 +1,4 @@ -name: 'Compute: Disks' +name: 'Compute - Disks' on: workflow_dispatch: diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index d0342ba583..30ddd44e1d 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -1,4 +1,4 @@ -name: 'Compute: Galleries' +name: 'Compute - Galleries' on: workflow_dispatch: diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index a8fa0916be..19b18c3c30 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -1,4 +1,4 @@ -name: 'Compute: Images' +name: 'Compute - Images' on: workflow_dispatch: diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 51a4ed1c48..f47c96fb7f 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -1,4 +1,4 @@ -name: 'Compute: ProximityPlacementGroups' +name: 'Compute - ProximityPlacementGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 8a49867386..c8eea24b4a 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -1,4 +1,4 @@ -name: 'Compute: VirtualMachines' +name: 'Compute - VirtualMachines' on: workflow_dispatch: diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index 5c50f91c95..5c22912641 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -1,4 +1,4 @@ -name: 'Compute: VirtualMachineScaleSets' +name: 'Compute - VirtualMachineScaleSets' on: workflow_dispatch: diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 9673355d65..b816cadfa3 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -1,5 +1,5 @@ -name: 'Consumption: Budgets' - +name: 'Consumption - Budgets' + - on: workflow_dispatch: inputs: diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 908a90a493..ab1a0192d7 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -1,4 +1,4 @@ -name: 'ContainerInstance: ContainerGroups' +name: 'ContainerInstance - ContainerGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 84a5b253a0..5dbd853e50 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -1,4 +1,4 @@ -name: 'ContainerRegistry: Registries' +name: 'ContainerRegistry - Registries' on: workflow_dispatch: diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 97b9c5608e..e01dfa2f17 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -1,4 +1,4 @@ -name: 'ContainerService: ManagedClusters' +name: 'ContainerService - ManagedClusters' on: workflow_dispatch: diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 8fac8e2df0..77c3c99a51 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -1,4 +1,4 @@ -name: 'Databricks: Workspaces' +name: 'Databricks - Workspaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 806cd7739c..e4e984c873 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -1,4 +1,4 @@ -name: 'DataFactory: Factories' +name: 'DataFactory - Factories' on: workflow_dispatch: diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index c56279297f..3de30e7b85 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -1,4 +1,4 @@ -name: 'DataProtection: BackupVaults' +name: 'DataProtection - BackupVaults' on: workflow_dispatch: diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index be5de3e2ab..5be1cc433d 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -1,4 +1,4 @@ -name: 'DbForPostgreSQL: FlexibleServers' +name: 'DbForPostgreSQL - FlexibleServers' on: workflow_dispatch: diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index a6e50603d9..2dccdbaf7d 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -1,4 +1,4 @@ -name: 'DesktopVirtualization: ApplicationGroups' +name: 'DesktopVirtualization - ApplicationGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 3a2200e07a..85fc27726b 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -1,4 +1,4 @@ -name: 'DesktopVirtualization: HostPools' +name: 'DesktopVirtualization - HostPools' on: workflow_dispatch: diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index 5887d0a71d..d4002e4aff 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -1,4 +1,4 @@ -name: 'DesktopVirtualization: Scalingplans' +name: 'DesktopVirtualization - Scalingplans' on: workflow_dispatch: diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index f01d5e8355..2c706b3503 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -1,4 +1,4 @@ -name: 'DesktopVirtualization: Workspaces' +name: 'DesktopVirtualization - Workspaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.devtestlab.labs.yml b/.github/workflows/ms.devtestlab.labs.yml index a73c6fc48c..06fbf76acc 100644 --- a/.github/workflows/ms.devtestlab.labs.yml +++ b/.github/workflows/ms.devtestlab.labs.yml @@ -1,4 +1,4 @@ -name: 'DevTestLab: Labs' +name: 'DevTestLab - Labs' on: workflow_dispatch: diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index c8a6df0298..776fb23aba 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -1,4 +1,4 @@ -name: 'DocumentDB: DatabaseAccounts' +name: 'DocumentDB - DatabaseAccounts' on: workflow_dispatch: diff --git a/.github/workflows/ms.eventgrid.domains.yml b/.github/workflows/ms.eventgrid.domains.yml index 564ba0b15c..a724fef880 100644 --- a/.github/workflows/ms.eventgrid.domains.yml +++ b/.github/workflows/ms.eventgrid.domains.yml @@ -1,4 +1,4 @@ -name: 'EventGrid: Domains' +name: 'EventGrid - Domains' on: workflow_dispatch: diff --git a/.github/workflows/ms.eventgrid.eventsubscriptions.yml b/.github/workflows/ms.eventgrid.eventsubscriptions.yml index fe88ad37ef..235504321f 100644 --- a/.github/workflows/ms.eventgrid.eventsubscriptions.yml +++ b/.github/workflows/ms.eventgrid.eventsubscriptions.yml @@ -1,4 +1,4 @@ -name: 'EventGrid: Event Subscriptions' +name: 'EventGrid - Event Subscriptions' on: workflow_dispatch: diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index e48dff7ac8..52333a1461 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -1,4 +1,4 @@ -name: 'EventGrid: System Topics' +name: 'EventGrid - System Topics' on: workflow_dispatch: diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index 28a39fd3f1..8abf5774a1 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -1,4 +1,4 @@ -name: 'EventGrid: Topics' +name: 'EventGrid - Topics' on: workflow_dispatch: diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 8b292b40a0..2450a7a1aa 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -1,4 +1,4 @@ -name: 'EventHub: Namespaces' +name: 'EventHub - Namespaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index 3b2922503a..d2c99a7632 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -1,4 +1,4 @@ -name: 'HealthBot: HealthBots' +name: 'HealthBot - HealthBots' on: workflow_dispatch: diff --git a/.github/workflows/ms.healthcareapis.workspaces.yml b/.github/workflows/ms.healthcareapis.workspaces.yml index 7bfaadf23f..f90902a9ed 100644 --- a/.github/workflows/ms.healthcareapis.workspaces.yml +++ b/.github/workflows/ms.healthcareapis.workspaces.yml @@ -1,4 +1,4 @@ -name: 'HealthcareApis: Workspaces' +name: 'HealthcareApis - Workspaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 55b5eaa9fb..1805dd4f42 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -1,4 +1,4 @@ -name: 'Insights: ActionGroups' +name: 'Insights - ActionGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index abdd32bbe5..d250e94cfd 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -1,4 +1,4 @@ -name: 'Insights: ActivityLogAlerts' +name: 'Insights - ActivityLogAlerts' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 9c54ee056b..c8ae81f101 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -1,4 +1,4 @@ -name: 'Insights: Components' +name: 'Insights - Components' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.datacollectionendpoints.yml b/.github/workflows/ms.insights.datacollectionendpoints.yml index 0a8972c4ae..e9d1d3414c 100644 --- a/.github/workflows/ms.insights.datacollectionendpoints.yml +++ b/.github/workflows/ms.insights.datacollectionendpoints.yml @@ -1,4 +1,4 @@ -name: 'Insights: DataCollectionEndpoints' +name: 'Insights - DataCollectionEndpoints' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.datacollectionrules.yml b/.github/workflows/ms.insights.datacollectionrules.yml index 80d382abed..b6b836c139 100644 --- a/.github/workflows/ms.insights.datacollectionrules.yml +++ b/.github/workflows/ms.insights.datacollectionrules.yml @@ -1,4 +1,4 @@ -name: 'Insights: DataCollectionRules' +name: 'Insights - DataCollectionRules' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 3f109bffcf..a47907e58c 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -1,4 +1,4 @@ -name: 'Insights: DiagnosticSettings' +name: 'Insights - DiagnosticSettings' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index a4b0343458..d34dcfa910 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -1,4 +1,4 @@ -name: 'Insights: MetricAlerts' +name: 'Insights - MetricAlerts' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 7875841bdc..0b147b2c1d 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -1,4 +1,4 @@ -name: 'Insights: PrivateLinkScopes' +name: 'Insights - PrivateLinkScopes' on: workflow_dispatch: diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index 1d86e1cb9a..708793f628 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -1,4 +1,4 @@ -name: 'Insights: ScheduledQueryRules' +name: 'Insights - ScheduledQueryRules' on: workflow_dispatch: diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index 09522e60b5..a45960cbd8 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -1,4 +1,4 @@ -name: 'KeyVault: Vaults' +name: 'KeyVault - Vaults' on: workflow_dispatch: diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index c5e13dbea3..ca740cb462 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -1,4 +1,4 @@ -name: 'KubernetesConfiguration: Extensions' +name: 'KubernetesConfiguration - Extensions' on: workflow_dispatch: diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 2478a09cf2..244bfbe67a 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -1,4 +1,4 @@ -name: 'KubernetesConfiguration: FluxConfigurations' +name: 'KubernetesConfiguration - FluxConfigurations' on: workflow_dispatch: diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 452644e32d..4d2f0f0e47 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -1,4 +1,4 @@ -name: 'Logic: Workflows' +name: 'Logic - Workflows' on: workflow_dispatch: diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index c15c424315..b50c605b20 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -1,4 +1,4 @@ -name: 'MachineLearningServices: Workspaces' +name: 'MachineLearningServices - Workspaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml index 7232a9122f..16ba750af1 100644 --- a/.github/workflows/ms.maintenance.maintenanceconfigurations.yml +++ b/.github/workflows/ms.maintenance.maintenanceconfigurations.yml @@ -1,4 +1,4 @@ -name: 'Maintenance: MaintenanceConfigurations' +name: 'Maintenance - MaintenanceConfigurations' on: workflow_dispatch: diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index 2b5d59dc61..02b951079f 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -1,4 +1,4 @@ -name: 'ManagedIdentity: UserAssignedIdentities' +name: 'ManagedIdentity - UserAssignedIdentities' on: workflow_dispatch: diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index 38592e46f7..9396823635 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -1,4 +1,4 @@ -name: 'ManagedServices: RegistrationDefinitions' +name: 'ManagedServices - RegistrationDefinitions' on: workflow_dispatch: diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 0bf388ae97..e7f5bc058c 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -1,4 +1,4 @@ -name: 'Management: ManagementGroups' +name: 'Management - ManagementGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index 1ca393bfa7..b354ee3f2c 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -1,4 +1,4 @@ -name: 'NetApp: NetAppAccounts' +name: 'NetApp - NetAppAccounts' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 1e633a298a..267562a0de 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -1,4 +1,4 @@ -name: 'Network: ApplicationGateways' +name: 'Network - ApplicationGateways' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 2e2aba3df9..db2c9a168e 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -1,4 +1,4 @@ -name: 'Network: ApplicationGatewayWebApplicationFirewallPolicies' +name: 'Network - ApplicationGatewayWebApplicationFirewallPolicies' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index a2f76c3701..34f70b5307 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -1,4 +1,4 @@ -name: 'Network: ApplicationSecurityGroups' +name: 'Network - ApplicationSecurityGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 0b51680468..caf46d0a6c 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -1,4 +1,4 @@ -name: 'Network: AzureFirewalls' +name: 'Network - AzureFirewalls' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index d4dcf6dc1c..66e190ce95 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -1,4 +1,4 @@ -name: 'Network: BastionHosts' +name: 'Network - BastionHosts' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index ab6c613243..36d56d3190 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -1,4 +1,4 @@ -name: 'Network: Connections' +name: 'Network - Connections' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index 227cca66b8..ab55d63526 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -1,4 +1,4 @@ -name: 'Network: DdosProtectionPlans' +name: 'Network - DdosProtectionPlans' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index 32f5531f00..55740c6383 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -1,4 +1,4 @@ -name: 'Network: DNS Resolvers' +name: 'Network - DNS Resolvers' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index 620e5aae8a..da0cb7e333 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -1,4 +1,4 @@ -name: 'Network: ExpressRouteCircuits' +name: 'Network - ExpressRouteCircuits' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index 297c8894a0..117b7dc120 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -1,4 +1,4 @@ -name: 'Network: FirewallPolicies' +name: 'Network - FirewallPolicies' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 9484a6fdb2..927fc473a4 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -1,4 +1,4 @@ -name: 'Network: Frontdoors' +name: 'Network - Frontdoors' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index a78f19fbb9..c92d7ae964 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -1,4 +1,4 @@ -name: 'Network: IpGroups' +name: 'Network - IpGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index cc5bf930f8..dc649f3faf 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -1,4 +1,4 @@ -name: 'Network: LoadBalancers' +name: 'Network - LoadBalancers' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index 37c525a7f2..38c21daf80 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -1,4 +1,4 @@ -name: 'Network: LocalNetworkGateways' +name: 'Network - LocalNetworkGateways' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index cc8bb4795c..874badddfe 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -1,4 +1,4 @@ -name: 'Network: NatGateways' +name: 'Network - NatGateways' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index 0ddea0ed1d..a643be72f4 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -1,4 +1,4 @@ -name: 'Network: NetworkInterfaces' +name: 'Network - NetworkInterfaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.networkmanagers.yml b/.github/workflows/ms.network.networkmanagers.yml index ed68e09fe6..81dd815491 100644 --- a/.github/workflows/ms.network.networkmanagers.yml +++ b/.github/workflows/ms.network.networkmanagers.yml @@ -1,4 +1,4 @@ -name: 'Network: Network Managers' +name: 'Network - Network Managers' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 99f8d296a4..baaa4c7ce5 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -1,4 +1,4 @@ -name: 'Network: NetworkSecurityGroups' +name: 'Network - NetworkSecurityGroups' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index 9a11aaa481..56de8611c8 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -1,4 +1,4 @@ -name: 'Network: NetworkWatchers' +name: 'Network - NetworkWatchers' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index 1f6e477317..9cacac7a81 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -1,4 +1,4 @@ -name: 'Network: PrivateDnsZones' +name: 'Network - PrivateDnsZones' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 726e6393a0..d293fc8e89 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -1,4 +1,4 @@ -name: 'Network: PrivateEndpoints' +name: 'Network - PrivateEndpoints' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index 5e2a576e1c..d1c384652e 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -1,4 +1,4 @@ -name: 'Network: PrivateLinkServices' +name: 'Network - PrivateLinkServices' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index cbd99b1e20..8a57a89963 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -1,4 +1,4 @@ -name: 'Network: PublicIpAddresses' +name: 'Network - PublicIpAddresses' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index 764651131b..95884b3d56 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -1,4 +1,4 @@ -name: 'Network: PublicIpPrefixes' +name: 'Network - PublicIpPrefixes' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index 3894421ed6..15323aabf0 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -1,4 +1,4 @@ -name: 'Network: RouteTables' +name: 'Network - RouteTables' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index db3fa3cd39..d72c17aefa 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -1,4 +1,4 @@ -name: 'Network: TrafficManagerProfiles' +name: 'Network - TrafficManagerProfiles' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index f272c23754..0ea973b080 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -1,4 +1,4 @@ -name: 'Network: VirtualHubs' +name: 'Network - VirtualHubs' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index 3a850a6e5e..5d423f8f80 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -1,4 +1,4 @@ -name: 'Network: VirtualNetworkGateways' +name: 'Network - VirtualNetworkGateways' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index d58cdeb3ec..36701407d7 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -1,4 +1,4 @@ -name: 'Network: VirtualNetworks' +name: 'Network - VirtualNetworks' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index 7a87700b33..c28d9b2c7b 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -1,4 +1,4 @@ -name: 'Network: VirtualWans' +name: 'Network - VirtualWans' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index 830b65b128..c0f692f9e2 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -1,4 +1,4 @@ -name: 'Network: VPNGateways' +name: 'Network - VPNGateways' on: workflow_dispatch: diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index c9940f39a7..a18ae96417 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -1,4 +1,4 @@ -name: 'Network: VPN Sites' +name: 'Network - VPN Sites' on: workflow_dispatch: diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index fe769e30b2..86f17a2385 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -1,4 +1,4 @@ -name: 'OperationalInsights: Workspaces' +name: 'OperationalInsights - Workspaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index 9b68c5e25c..70ec2beb5f 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -1,4 +1,4 @@ -name: 'OperationsManagement: Solutions' +name: 'OperationsManagement - Solutions' on: workflow_dispatch: diff --git a/.github/workflows/ms.policyinsights.remediations.yml b/.github/workflows/ms.policyinsights.remediations.yml index 3d07a8ac13..e6a87486b2 100644 --- a/.github/workflows/ms.policyinsights.remediations.yml +++ b/.github/workflows/ms.policyinsights.remediations.yml @@ -1,4 +1,4 @@ -name: 'Policy Insights: Remediations' +name: 'PolicyInsights - Remediations' on: workflow_dispatch: diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index 44ecd27f77..2cbdbec23f 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -1,4 +1,4 @@ -name: 'PowerBiDedicated: Capacities' +name: 'PowerBiDedicated - Capacities' on: workflow_dispatch: diff --git a/.github/workflows/ms.purview.accounts.yml b/.github/workflows/ms.purview.accounts.yml index 55109655d8..bd6c32df1a 100644 --- a/.github/workflows/ms.purview.accounts.yml +++ b/.github/workflows/ms.purview.accounts.yml @@ -1,4 +1,4 @@ -name: 'Purview: Accounts' +name: 'Purview - Accounts' on: workflow_dispatch: diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index c1da5b4e8d..81bf1d9b9e 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -1,4 +1,4 @@ -name: 'RecoveryServices: Vaults' +name: 'RecoveryServices - Vaults' on: workflow_dispatch: diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 1c22e19610..75ff16ca1f 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -1,4 +1,4 @@ -name: 'Resources: DeploymentScripts' +name: 'Resources - DeploymentScripts' on: workflow_dispatch: diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index 9b9af6ffc0..775f3ef8f3 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -1,4 +1,4 @@ -name: 'Resources: Tags' +name: 'Resources - Tags' on: workflow_dispatch: diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index 12ba17bf75..72e74b783e 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -1,4 +1,4 @@ -name: 'Security: AzureSecurityCenter' +name: 'Security - AzureSecurityCenter' on: workflow_dispatch: diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index 859499c42a..6d63f8a7f9 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -1,4 +1,4 @@ -name: 'ServiceBus: Namespaces' +name: 'ServiceBus - Namespaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index aca0adfc16..599fbab1bb 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -1,4 +1,4 @@ -name: 'Service Fabric: Clusters' +name: 'ServiceFabric - Clusters' on: workflow_dispatch: diff --git a/.github/workflows/ms.signalrservice.signalr.yml b/.github/workflows/ms.signalrservice.signalr.yml index 1c8e4a351a..457fe3c88c 100644 --- a/.github/workflows/ms.signalrservice.signalr.yml +++ b/.github/workflows/ms.signalrservice.signalr.yml @@ -1,4 +1,4 @@ -name: 'SignalR Service: SignalR' +name: 'SignalRService - SignalR' on: workflow_dispatch: diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index a533ab7b41..703eda1e6c 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -1,4 +1,4 @@ -name: 'SignalR Service: Web PubSub' +name: 'SignalRService - WebPubSub' on: workflow_dispatch: diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 271e153b4a..7d35dbf658 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -1,4 +1,4 @@ -name: 'Sql: ManagedInstances' +name: 'Sql - ManagedInstances' on: workflow_dispatch: diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index 0c4bab1d03..1f7f78c574 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -1,4 +1,4 @@ -name: 'Sql: Servers' +name: 'Sql - Servers' on: workflow_dispatch: diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index 66667947bc..fa6088f8be 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -1,4 +1,4 @@ -name: 'Storage: StorageAccounts' +name: 'Storage - StorageAccounts' on: workflow_dispatch: diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index bbbc8f2904..0518700a58 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -1,4 +1,4 @@ -name: 'Synapse: PrivateLinkHubs' +name: 'Synapse - PrivateLinkHubs' on: workflow_dispatch: diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index fcd58e9cdd..f108d85f5b 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -1,4 +1,4 @@ -name: 'Synapse: Workspaces' +name: 'Synapse - Workspaces' on: workflow_dispatch: diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index f92e967099..1f20706eb0 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -1,4 +1,4 @@ -name: 'VirtualMachineImages: ImageTemplates' +name: 'VirtualMachineImages - ImageTemplates' on: workflow_dispatch: diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index 57ced3d877..20414836fe 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -1,4 +1,4 @@ -name: 'Web: Connections' +name: 'Web - Connections' on: workflow_dispatch: diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index 9562924b8b..91004edd9d 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -1,4 +1,4 @@ -name: 'Web: HostingEnvironments' +name: 'Web - HostingEnvironments' on: workflow_dispatch: diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 5f02c88a47..957b71d138 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -1,4 +1,4 @@ -name: 'Web: Serverfarms' +name: 'Web - Serverfarms' on: workflow_dispatch: diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index b6886924e7..0705aa9f32 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -1,4 +1,4 @@ -name: 'Web: Sites' +name: 'Web - Sites' on: workflow_dispatch: diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index 2d37492790..2dd4edc72c 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -1,4 +1,4 @@ -name: 'Web: StaticSites' +name: 'Web - StaticSites' on: workflow_dispatch: diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index daf75134e5..201b33a0b1 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -1,4 +1,4 @@ -name: '.Template: Module Pipeline' +name: '.Template - Module Pipeline' on: workflow_call: From c9b7f2c69b8de4ac879756bb65847e4b8639314b Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Sun, 12 Feb 2023 21:37:18 +0100 Subject: [PATCH 256/260] fix budgets --- .github/workflows/ms.consumption.budgets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index b816cadfa3..33335df309 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -1,5 +1,5 @@ name: 'Consumption - Budgets' - - + on: workflow_dispatch: inputs: From 60bd695672ebecbdf03748ca629d126bac750c9b Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 13 Feb 2023 09:27:13 +0100 Subject: [PATCH 257/260] align missing wks --- .../ms.automation.automationaccounts.yml | 5 ----- .github/workflows/ms.devtestlab.labs.yml | 5 ----- .../workflows/ms.healthcareapis.workspaces.yml | 18 +++++++++++++----- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 903aaab691..9bdf8d605e 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -29,11 +29,6 @@ on: env: modulePath: 'modules/Microsoft.Automation/automationAccounts' workflowPath: '.github/workflows/ms.automation.automationaccounts.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} - ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.devtestlab.labs.yml b/.github/workflows/ms.devtestlab.labs.yml index 06fbf76acc..d3b0b9eeff 100644 --- a/.github/workflows/ms.devtestlab.labs.yml +++ b/.github/workflows/ms.devtestlab.labs.yml @@ -29,11 +29,6 @@ on: env: modulePath: 'modules/Microsoft.DevTestLab/labs' workflowPath: '.github/workflows/ms.devtestlab.labs.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} - ARM_MGMTGROUP_ID: ${{ secrets.ARM_MGMTGROUP_ID }} - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' concurrency: group: ${{ github.workflow }} diff --git a/.github/workflows/ms.healthcareapis.workspaces.yml b/.github/workflows/ms.healthcareapis.workspaces.yml index f90902a9ed..4c7aad425c 100644 --- a/.github/workflows/ms.healthcareapis.workspaces.yml +++ b/.github/workflows/ms.healthcareapis.workspaces.yml @@ -3,6 +3,16 @@ name: 'HealthcareApis - Workspaces' on: workflow_dispatch: inputs: + staticValidation: + type: boolean + description: 'Execute static validation' + required: false + default: true + deploymentValidation: + type: boolean + description: 'Execute deployment validation' + required: false + default: true removeDeployment: type: boolean description: 'Remove deployed module' @@ -28,11 +38,9 @@ on: env: modulePath: 'modules/Microsoft.HealthcareApis/workspaces' workflowPath: '.github/workflows/ms.healthcareapis.workspaces.yml' - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}' - ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}' - ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}' - TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}' + +concurrency: + group: ${{ github.workflow }} jobs: ########################### From fb099208fd2f4aead84e8f0925ae0ba9746bbfd7 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 13 Feb 2023 09:27:42 +0100 Subject: [PATCH 258/260] json --- .github/workflows/template.module.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template.module.yml b/.github/workflows/template.module.yml index 201b33a0b1..4ed84c4daf 100644 --- a/.github/workflows/template.module.yml +++ b/.github/workflows/template.module.yml @@ -5,11 +5,11 @@ on: inputs: workflowInput: type: string - description: 'Input from the workflow caller in Json format' + description: 'Input from the workflow caller in JSON format' required: true moduleTestFilePaths: type: string - description: 'List of relative path to the module test files in Json format' + description: 'List of relative path to the module test files in JSON format' required: true modulePath: type: string From 53c336be96cd5e57151b0564747a47f6eb6d4791 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 13 Feb 2023 09:34:18 +0100 Subject: [PATCH 259/260] align input pipelines --- .github/workflows/ms.automation.automationaccounts.yml | 10 ++++++++++ .github/workflows/ms.devtestlab.labs.yml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 9bdf8d605e..e94aae8da0 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -3,6 +3,16 @@ name: 'Automation - AutomationAccounts' on: workflow_dispatch: inputs: + staticValidation: + type: boolean + description: 'Execute static validation' + required: false + default: true + deploymentValidation: + type: boolean + description: 'Execute deployment validation' + required: false + default: true removeDeployment: type: boolean description: 'Remove deployed module' diff --git a/.github/workflows/ms.devtestlab.labs.yml b/.github/workflows/ms.devtestlab.labs.yml index d3b0b9eeff..e3682b3305 100644 --- a/.github/workflows/ms.devtestlab.labs.yml +++ b/.github/workflows/ms.devtestlab.labs.yml @@ -3,6 +3,16 @@ name: 'DevTestLab - Labs' on: workflow_dispatch: inputs: + staticValidation: + type: boolean + description: 'Execute static validation' + required: false + default: true + deploymentValidation: + type: boolean + description: 'Execute deployment validation' + required: false + default: true removeDeployment: type: boolean description: 'Remove deployed module' From 5e7cb006cf287f9644ee5f21b0bdf6747504a591 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Mon, 13 Feb 2023 09:37:09 +0100 Subject: [PATCH 260/260] align input pipeline --- .github/workflows/ms.security.azuresecuritycenter.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index 72e74b783e..350f7e190e 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -3,6 +3,16 @@ name: 'Security - AzureSecurityCenter' on: workflow_dispatch: inputs: + staticValidation: + type: boolean + description: 'Execute static validation' + required: false + default: true + deploymentValidation: + type: boolean + description: 'Execute deployment validation' + required: false + default: true removeDeployment: type: boolean description: 'Remove deployed module'