Skip to content

Commit

Permalink
features: update feature flag roll_instances_when_required for `v…
Browse files Browse the repository at this point in the history
…irtual_machine_scale_set` to be Optional (#22976)
  • Loading branch information
myc2h6o authored Oct 15, 2023
1 parent a54cd2c commit 07fe412
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 @@ -1281,8 +1281,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 @@ -1479,8 +1479,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 07fe412

Please sign in to comment.