Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: avm/ptn/authorization/role-assignment #1641

Merged
Merged
Show file tree
Hide file tree
Changes from 64 commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
94358fe
Created express route workflows
arnoldna Nov 15, 2023
f493fbd
Merge branch 'Azure:main' into main
arnoldna Nov 16, 2023
298cc76
removed linespace
arnoldna Nov 16, 2023
9414e31
Initial Commit
arnoldna Nov 17, 2023
1ed5ee6
Added workflow
arnoldna Nov 17, 2023
6797bd9
Updated NamePrefix
arnoldna Nov 17, 2023
a7ef686
Added new line to workflow file
arnoldna Nov 17, 2023
1e55e1e
Merge branch 'main' into avm/res/network/express-route-gateway
eriqua Nov 17, 2023
80e3672
Merge branch 'main' into avm/res/network/express-route-gateway
eriqua Nov 17, 2023
dc65e48
Merge branch 'Azure:main' into main
arnoldna Nov 17, 2023
09edc97
Merge branch 'Azure:main' into main
arnoldna Nov 20, 2023
7af0de0
Merge branch 'main' of https://github.com/arnoldna/bicep-registry-mod…
arnoldna Nov 20, 2023
fa73f3c
Removed managed identity
arnoldna Nov 21, 2023
2594e19
Merge branch 'main'
arnoldna Nov 30, 2023
d5b2a21
Merge pull request #2 from arnoldna/avm/res/network/express-route-gat…
arnoldna Nov 30, 2023
e337a8b
Merge branch 'main'
arnoldna Nov 30, 2023
431e78e
Merge branch 'main' of https://github.com/arnoldna/bicep-registry-mod…
arnoldna Dec 16, 2023
000179d
Added managed-environment workflow
arnoldna Dec 16, 2023
ba3a910
Merge branch 'main' of https://github.com/arnoldna/bicep-registry-mod…
arnoldna Jan 19, 2024
0ec8db5
Added virtual-hub workflow
arnoldna Jan 19, 2024
5633b85
Merge branch 'Azure:main' into main
arnoldna Feb 3, 2024
db33f6a
Merge branch 'Azure:main' into main
arnoldna Feb 16, 2024
8b9ec0f
Merge branch 'Azure:main' into main
arnoldna Feb 16, 2024
923c412
added virtual-wan workflow
arnoldna Feb 16, 2024
caab3c9
Merge branch 'main' of https://github.com/arnoldna/bicep-registry-mod…
arnoldna Mar 8, 2024
e01ab4b
Merge branch 'Azure:main' into main
arnoldna Mar 28, 2024
be90484
SQL
arnoldna Mar 28, 2024
d7b68a7
Updated name
arnoldna Mar 28, 2024
4b853a4
Initial commit
arnoldna Mar 30, 2024
9ebef77
Added subscription name output
arnoldna Mar 30, 2024
2c2b3f4
Updated location
arnoldna Mar 30, 2024
bd9f5ff
Added version files and README
arnoldna Apr 1, 2024
2f71c9f
Merge branch 'Azure:main' into main
arnoldna Apr 4, 2024
916c678
Merge branch 'Azure:main' into main
arnoldna Apr 8, 2024
91eec78
Merge branch 'main' of https://github.com/arnoldna/bicep-registry-mod…
arnoldna Apr 9, 2024
2c51600
Merge branch 'Azure:main' into main
arnoldna Apr 9, 2024
b4058d4
Created main.jsons
arnoldna Apr 10, 2024
e654282
Update codeowners
arnoldna Apr 10, 2024
7c0a3c5
Added PTN workflow
arnoldna Apr 10, 2024
5d4fe93
Merge branch 'Azure:main' into main
arnoldna Apr 10, 2024
787f824
Update yml
arnoldna Apr 10, 2024
b56570b
Module updates
arnoldna Apr 10, 2024
ae62c7b
Updated tests
arnoldna Apr 10, 2024
53b4477
Merge branch 'Azure:main' into main
arnoldna Apr 10, 2024
be5a7d0
Merge branch 'main' of https://github.com/arnoldna/bicep-registry-mod…
arnoldna Apr 10, 2024
4470844
updated issue_template
arnoldna Apr 10, 2024
bb0c55e
updated location
arnoldna Apr 10, 2024
04d4071
Updated tests
arnoldna Apr 11, 2024
668472e
Updated readme
arnoldna Apr 11, 2024
9670a11
Merge branch 'main' into avm/ptn/authorization/role-assignment
ChrisSidebotham Apr 11, 2024
16858c2
Replaced broken test, updated readme
arnoldna Apr 11, 2024
90ae91b
Updated telemetry module name
arnoldna Apr 11, 2024
71ef2a6
Testing management group scope
arnoldna Apr 12, 2024
723be56
Updated scope
arnoldna Apr 12, 2024
dd8a0a0
Upgraded tests
arnoldna Apr 12, 2024
42bd3f4
Updated readme
arnoldna Apr 12, 2024
948c0c6
Merge branch 'main' into avm/ptn/authorization/role-assignment
arnoldna Apr 12, 2024
06b9b4e
Updated structure. Added parameters
arnoldna Apr 12, 2024
05a3577
Updated tests with correct path
arnoldna Apr 12, 2024
b3ba838
Added location to avmTelemetry
arnoldna Apr 12, 2024
2f20742
Updated resource group name
arnoldna Apr 12, 2024
3bb6af6
Merge branch 'main' into avm/ptn/authorization/role-assignment
arnoldna Apr 13, 2024
d2cdaa5
Updated tests
arnoldna Apr 13, 2024
1e9c696
Updated test with correct role ID
arnoldna Apr 13, 2024
51ec1d4
Update avm/ptn/authorization/role-assignment/tests/e2e/rg.min/main.te…
arnoldna Apr 15, 2024
db54a2a
Update avm/ptn/authorization/role-assignment/tests/e2e/sub.min/main.t…
arnoldna Apr 15, 2024
4497f0a
Removed resource group from subscription scope tests
arnoldna Apr 15, 2024
af9bd8b
Merge branch 'main' into avm/ptn/authorization/role-assignment
eriqua Apr 16, 2024
8507909
Updated test names
arnoldna Apr 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
/scripts/ @Azure/bicep-admins @Azure/avm-core-team-technical-bicep
/avm/ @Azure/avm-core-team-technical-bicep
/avm/utilities/ @Azure/avm-core-team-technical-bicep
/avm/res/aad/domain-service/ @Azure/avm-res-aad-domainservice-module-owners-bicep @Azure/avm-core-team-technical-bicep
/avm/ptn/authorization/role-assignment/ @Azure/avm-ptn-authorization-roleassignment-module-owners-bicep @Azure/avm-core-team-technical-bicep
AlexanderSehr marked this conversation as resolved.
Show resolved Hide resolved
#/avm/res/aad/domain-service/ @Azure/avm-res-aad-domainservice-module-owners-bicep
/avm/res/analysis-services/server/ @Azure/avm-res-analysisservices-server-module-owners-bicep @Azure/avm-core-team-technical-bicep
/avm/res/api-management/service/ @Azure/avm-res-apimanagement-service-module-owners-bicep @Azure/avm-core-team-technical-bicep
/avm/res/app/container-app/ @Azure/avm-res-app-containerapp-module-owners-bicep @Azure/avm-core-team-technical-bicep
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/avm_module_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ body:
description: Which existing AVM module is this issue related to?
options:
- ""
- "avm/ptn/authorization/role-assignment"
# - "avm/ptn/avd-lza/insights"
# - "avm/ptn/avd-lza/management-plane"
# - "avm/ptn/avd-lza/networking"
Expand Down
86 changes: 86 additions & 0 deletions .github/workflows/avm.ptn.authorization.role-assignment.yml
AlexanderSehr marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: "avm.ptn.authorization.role-assignment"

on:
schedule:
- cron: "0 12 1/15 * *" # Bi-Weekly Test (on 1st & 15th of month)
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"
required: false
default: true
push:
branches:
- main
paths:
- ".github/actions/templates/avm-**"
- ".github/workflows/avm.template.module.yml"
- ".github/workflows/avm.ptn.authorization.role-assignment.yml"
- "avm/ptn/authorization/role-assignment/**"
- "avm/utilities/pipelines/**"
- "!avm/utilities/pipelines/platform/**"
- "!*/**/README.md"

env:
modulePath: "avm/ptn/authorization/role-assignment"
workflowPath: ".github/workflows/avm.ptn.authorization.role-assignment.yml"

concurrency:
group: ${{ github.workflow }}

jobs:
###########################
# Initialize pipeline #
###########################
job_initialize_pipeline:
runs-on: ubuntu-latest
name: "Initialize pipeline"
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Set input parameters to output variables"
id: get-workflow-param
uses: ./.github/actions/templates/avm-getWorkflowInput
with:
workflowPath: "${{ env.workflowPath}}"
- name: "Get module test file paths"
id: get-module-test-file-paths
uses: ./.github/actions/templates/avm-getModuleTestFiles
with:
modulePath: "${{ env.modulePath }}"
outputs:
workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }}
moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }}
psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }}
modulePath: "${{ env.modulePath }}"

##############################
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
with:
workflowInput: "${{ needs.job_initialize_pipeline.outputs.workflowInput }}"
moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}"
psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}"
modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}"
secrets: inherit
4 changes: 4 additions & 0 deletions avm/ptn/authorization/role-assignment/ORPHANED.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
⚠️THIS MODULE IS CURRENTLY ORPHANED.⚠️

- Only security and bug fixes are being handled by the AVM core team at present.
- If interested in becoming the module owner of this orphaned module (must be Microsoft FTE), please look for the related "orphaned module" GitHub issue [here](https://aka.ms/AVM/OrphanedModules)!
Loading