Skip to content

Commit

Permalink
loadbalancer: don't assume IPv4 IP address on load balancer
Browse files Browse the repository at this point in the history
The azure load balancer resource's frontend_ip_configuration argument assumes
the IP address is only going to be IPv4. This removes that restriction to be
in line with the rest of the terraform code that does not have that validation.

https://bugzilla.redhat.com/show_bug.cgi?id=1808973
  • Loading branch information
jhixson74 committed Mar 6, 2020
1 parent 85fd8e7 commit e919f9b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ func resourceArmLoadBalancer() *schema.Resource {
},

"private_ip_address": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ValidateFunc: validate.IPv4AddressOrEmpty,
Type: schema.TypeString,
Optional: true,
Computed: true,
},

"private_ip_address_version": {
Expand Down

0 comments on commit e919f9b

Please sign in to comment.