Force a recreate if the numbers for the AS are changed. (#10545)

This commit is contained in:
Cameron Childress 2016-12-06 01:34:25 -07:00 committed by Paul Stack
parent 3ef5be275b
commit c5e63106b5
1 changed files with 2 additions and 0 deletions

View File

@ -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 {