Skip to content

Commit

Permalink
merging #14255
Browse files Browse the repository at this point in the history
  • Loading branch information
WodansSon authored Nov 18, 2021
1 parent f3afca8 commit b1031b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,12 @@ func OrchestratedVirtualMachineScaleSetIdentitySchema() *pluginsdk.Schema {
Required: true,
ValidateFunc: validation.StringInSlice([]string{
string(compute.ResourceIdentityTypeUserAssigned),
string(compute.ResourceIdentityTypeNone),
}, false),
},

"identity_ids": {
Type: pluginsdk.TypeSet,
Optional: true,
Required: true,
Elem: &pluginsdk.Schema{
Type: pluginsdk.TypeString,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,9 @@ A `plan` block supports the following:

A `identity` block supports the following:

* `type` - (Required) The type of Managed Identity which should be assigned to the Windows Orchestrated Virtual Machine Scale Set. Possible values are`UserAssigned` and `None`.
* `type` - (Required) The type of Managed Identity which should be assigned to the Windows Orchestrated Virtual Machine Scale Set. Possible value is`UserAssigned`.

* `identity_ids` - (Optional) A list of User Managed Identity ID's which should be assigned to the Orchestrated Windows Virtual Machine Scale Set.

~> **NOTE:** This is required when type is set to `UserAssigned`.
* `identity_ids` - (Required) A list of User Managed Identity ID's which should be assigned to the Orchestrated Windows Virtual Machine Scale Set.

---

Expand Down

0 comments on commit b1031b2

Please sign in to comment.