FIP is not associated to an LB port through Terraform

FIP is not associated to an LB port through TerraformΒΆ

If you use Terraform for creating resources in OpenStack, due to a limitation, Terraform cannot associate a floating IP (FIP) address to a load balancer (LB) port managed by the Avi Vantage tool. This limitation is related to the following resource in terraform-openstack-provider:

resource "openstack_networking_floatingip_associate_v2" "association" {
  floating_ip = "<Floating-ip address>"
  port_id = "<LoadBalancer port id>"
}

Workaround:

Associate a floating IP address to an LB port using Horizon or the OpenStack CLI by running the following command:

neutron floatingip-associate <floating_ip_id> <lb_port_id>

See also

Terraform issue