From 4a6da9f626b94ee7dfec7c3ec779a2ccc3fd938e Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 11 Jan 2024 19:13:41 +0100 Subject: [PATCH] Add - commented - the availability zone to octavia. --- openstack-tf/modules/d4science_infra_setup/octavia.tf | 1 + openstack-tf/modules/docker_swarm/docker-swarm.tf | 1 + 2 files changed, 2 insertions(+) diff --git a/openstack-tf/modules/d4science_infra_setup/octavia.tf b/openstack-tf/modules/d4science_infra_setup/octavia.tf index dc9ffb2..8782267 100644 --- a/openstack-tf/modules/d4science_infra_setup/octavia.tf +++ b/openstack-tf/modules/d4science_infra_setup/octavia.tf @@ -5,6 +5,7 @@ resource "openstack_lb_loadbalancer_v2" "main_lb" { description = var.octavia_information.main_lb_description flavor_id = var.octavia_information.octavia_flavor_id vip_address = var.basic_services_ip.octavia_main + # availability_zone = var.availability_zones_names.availability_zone_no_gpu loadbalancer_provider = "amphora" } diff --git a/openstack-tf/modules/docker_swarm/docker-swarm.tf b/openstack-tf/modules/docker_swarm/docker-swarm.tf index 3b1939f..9d3ff34 100644 --- a/openstack-tf/modules/docker_swarm/docker-swarm.tf +++ b/openstack-tf/modules/docker_swarm/docker-swarm.tf @@ -241,6 +241,7 @@ resource "openstack_lb_loadbalancer_v2" "swarm_lb" { description = var.octavia_swarm_data.swarm_lb_description flavor_id = var.octavia_swarm_data.octavia_flavor_id vip_address = var.octavia_swarm_data.swarm_octavia_main_ip + # availability_zone = var.availability_zones_names.availability_zone_no_gpu loadbalancer_provider = "amphora" }