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: Orphaned modules - Leverage AVM common types module #3675

Merged
merged 19 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
registration definition
  • Loading branch information
eriqua committed Oct 31, 2024
commit fb8811563524505f2a8b7a072723681bac21063c
2 changes: 2 additions & 0 deletions avm/res/managed-services/registration-definition/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ output assignmentResourceId string = empty(resourceGroupName)
// Definitions //
// ================ //

@export()
@description('Authorization object describing the access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant.')
type authorizationType = {
@description('Conditional. The list of role definition ids which define all the permissions that the user in the authorization can assign to other principals. Required if the `roleDefinitionId` refers to the User Access Administrator Role.')
delegatedRoleDefinitionIds: string[]?
Expand Down
12 changes: 8 additions & 4 deletions avm/res/managed-services/registration-definition/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.28.1.47646",
"templateHash": "6598987839511353461"
"version": "0.30.23.60470",
"templateHash": "806800728084876706"
},
"name": "Registration Definitions",
"description": "This module deploys a `Registration Definition` and a `Registration Assignment` (often referred to as 'Lighthouse' or 'resource delegation') on a subscription or resource group scope.\nThis type of delegation is very similar to role assignments but here the principal that is assigned a role is in a remote/managing Azure Active Directory tenant.\nThe templates are run towards the tenant where the Azure resources you want to delegate access to are, providing 'authorizations' (aka. access delegation) to principals in a remote/managing tenant.",
Expand Down Expand Up @@ -45,6 +45,10 @@
"description": "Required. The identifier of the Azure built-in role that defines the permissions that the Azure Active Directory principal will have on the projected scope."
}
}
},
"metadata": {
"__bicep_export!": true,
"description": "Authorization object describing the access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant."
}
}
},
Expand Down Expand Up @@ -175,8 +179,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.28.1.47646",
"templateHash": "17889456379146479598"
"version": "0.30.23.60470",
"templateHash": "1358545064505499503"
},
"name": "Registration Assignment",
"description": "Create a registration assignment.",
Expand Down