Skip to content

Commit

Permalink
Update IP Prefix validation
Browse files Browse the repository at this point in the history
IP Prefix can be deployed as a maximum /28 ip space.  The code would allow a max of /24 which is not correct.  Updated to support /28 as the max.
  • Loading branch information
johnwildes authored Feb 12, 2020
1 parent ddd9aaa commit 000f916
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func resourceArmPublicIpPrefix() *schema.Resource {
Optional: true,
Default: 28,
ForceNew: true,
ValidateFunc: validation.IntBetween(24, 31),
ValidateFunc: validation.IntBetween(28, 31),
},

"ip_prefix": {
Expand Down

0 comments on commit 000f916

Please sign in to comment.