Skip to content

Commit

Permalink
Update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Oct 22, 2024
1 parent 5b158c4 commit b484e01
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 18 deletions.
21 changes: 8 additions & 13 deletions avm/ptn/lz/sub-vending/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1046,25 +1046,13 @@ The condition for the role assignment.
- Required: No
- Type: object

**Required parameters**

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`roleConditionType`](#parameter-roleassignmentsroleassignmentconditionroleconditiontype) | object | The type of template for the role assignment condition. |

**Optional parameters**

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`conditionVersion`](#parameter-roleassignmentsroleassignmentconditionconditionversion) | string | The version of the condition template. |
| [`delegationCode`](#parameter-roleassignmentsroleassignmentconditiondelegationcode) | string | The code for a custom condition if no template is used. The user should supply their own custom code if the available templates are not matching their requirements. If a value is provided, this will overwrite any added template. All single quotes needs to be skipped using '. |

### Parameter: `roleAssignments.roleAssignmentCondition.roleConditionType`

The type of template for the role assignment condition.

- Required: No
- Type: object
| [`roleConditionType`](#parameter-roleassignmentsroleassignmentconditionroleconditiontype) | object | The type of template for the role assignment condition. |

### Parameter: `roleAssignments.roleAssignmentCondition.conditionVersion`

Expand All @@ -1086,6 +1074,13 @@ The code for a custom condition if no template is used. The user should supply t
- Required: No
- Type: string

### Parameter: `roleAssignments.roleAssignmentCondition.roleConditionType`

The type of template for the role assignment condition.

- Required: No
- Type: object

### Parameter: `subscriptionAliasEnabled`

Whether to create a new Subscription using the Subscription Alias resource. If `false`, supply an existing Subscription''s ID in the parameter named `existingSubscriptionId` instead to deploy resources to an existing Subscription.
Expand Down
8 changes: 4 additions & 4 deletions avm/ptn/lz/sub-vending/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "7041333731896478717"
"templateHash": "15801074137418249415"
},
"name": "Sub-vending",
"description": "This module deploys a subscription to accelerate deployment of landing zones. For more information on how to use it, please visit this [Wiki](https://github.com/Azure/bicep-lz-vending/wiki).",
Expand Down Expand Up @@ -163,7 +163,7 @@
"$ref": "#/definitions/_1.constrainedDelegationTemplatesType",
"nullable": true,
"metadata": {
"description": "Required. The type of template for the role assignment condition."
"description": "Optional. The type of template for the role assignment condition."
}
},
"conditionVersion": {
Expand Down Expand Up @@ -881,7 +881,7 @@
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "1508834239626613483"
"templateHash": "17058377789394467622"
},
"name": "`/subResourcesWrapper/deploy.bicep` Parameters",
"description": "This module is used by the [`bicep-lz-vending`](https://aka.ms/sub-vending/bicep) module to help orchestrate the deployment",
Expand Down Expand Up @@ -1063,7 +1063,7 @@
"$ref": "#/definitions/constrainedDelegationTemplatesType",
"nullable": true,
"metadata": {
"description": "Required. The type of template for the role assignment condition."
"description": "Optional. The type of template for the role assignment condition."
}
},
"conditionVersion": {
Expand Down
2 changes: 1 addition & 1 deletion avm/ptn/lz/sub-vending/modules/subResourceWrapper.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ type constrainedDelegationTemplatesType =
// Role Assignment Condition type
@export()
type roleAssignmentConditionType = {
@description('Required. The type of template for the role assignment condition.')
@description('Optional. The type of template for the role assignment condition.')
roleConditionType: constrainedDelegationTemplatesType?

@description('Optional. The version of the condition template.')
Expand Down

0 comments on commit b484e01

Please sign in to comment.