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 13, 2020
1 parent 8f31940 commit aacd63a
Showing 1 changed file with 3 additions and 4 deletions.
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 aacd63a

Please sign in to comment.