diff --git a/internal/services/compute/orchestrated_virtual_machine_scale_set.go b/internal/services/compute/orchestrated_virtual_machine_scale_set.go index 7fe520781b77..7db5e389a028 100644 --- a/internal/services/compute/orchestrated_virtual_machine_scale_set.go +++ b/internal/services/compute/orchestrated_virtual_machine_scale_set.go @@ -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, }, diff --git a/website/docs/r/orchestrated_virtual_machine_scale_set.html.markdown b/website/docs/r/orchestrated_virtual_machine_scale_set.html.markdown index 603386730b40..e95c959eeba2 100644 --- a/website/docs/r/orchestrated_virtual_machine_scale_set.html.markdown +++ b/website/docs/r/orchestrated_virtual_machine_scale_set.html.markdown @@ -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. ---