mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-16 18:35:03 -06:00
Force a recreate if the numbers for the AS are changed. (#10545)
This commit is contained in:
parent
3ef5be275b
commit
c5e63106b5
@ -39,6 +39,7 @@ func resourceArmAvailabilitySet() *schema.Resource {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Default: 5,
|
||||
ForceNew: true,
|
||||
ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) {
|
||||
value := v.(int)
|
||||
if value > 20 {
|
||||
@ -53,6 +54,7 @@ func resourceArmAvailabilitySet() *schema.Resource {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Default: 3,
|
||||
ForceNew: true,
|
||||
ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) {
|
||||
value := v.(int)
|
||||
if value > 3 {
|
||||
|
Loading…
Reference in New Issue
Block a user