Skip to content

Commit

Permalink
features fix schema of feature flag roll_instances_when_required
Browse files Browse the repository at this point in the history
…for `virtual_machine_scale_set`
  • Loading branch information
myc2h6o committed Aug 17, 2023
1 parent d20b0e8 commit 7991c4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion internal/provider/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ func schemaFeatures(supportLegacyTestSuite bool) *pluginsdk.Schema {
},
"roll_instances_when_required": {
Type: pluginsdk.TypeBool,
Required: true,
Optional: true,
Default: true,
},
"scale_to_zero_before_deletion": {
Type: pluginsdk.TypeBool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1135,8 +1135,7 @@ func (r LinuxVirtualMachineScaleSetResource) otherForceDelete(data acceptance.Te
provider "azurerm" {
features {
virtual_machine_scale_set {
force_delete = true
roll_instances_when_required = true
force_delete = true
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1348,8 +1348,7 @@ func (r WindowsVirtualMachineScaleSetResource) otherForceDelete(data acceptance.
provider "azurerm" {
features {
virtual_machine_scale_set {
force_delete = true
roll_instances_when_required = true
force_delete = true
}
}
}
Expand Down

0 comments on commit 7991c4e

Please sign in to comment.