From 2b76a1b38ef24251a2daf4e0c82cf444d022dc75 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 2 May 2024 18:25:56 +0200 Subject: [PATCH] Fix a state inconsistency. --- openstack-tf/modules/docker_swarm/docker-swarm.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack-tf/modules/docker_swarm/docker-swarm.tf b/openstack-tf/modules/docker_swarm/docker-swarm.tf index 283eb55f..34c4a772 100644 --- a/openstack-tf/modules/docker_swarm/docker-swarm.tf +++ b/openstack-tf/modules/docker_swarm/docker-swarm.tf @@ -96,7 +96,7 @@ resource "openstack_compute_instance_v2" "docker_swarm_managers" { availability_zone_hints = var.availability_zones_names.availability_zone_no_gpu flavor_name = var.docker_swarm_data.mgr_flavor key_pair = module.ssh_settings.ssh_key_name - security_groups = [openstack_networking_secgroup_v2.default.name, openstack_networking_secgroup_v2.swarm_internal_traffic.name] + security_groups = [openstack_networking_secgroup_v2.default.name, openstack_networking_secgroup_v2.swarm_internal_traffic.name,"default","nfs_share_no_ingress"] scheduler_hints { group = openstack_compute_servergroup_v2.swarm_masters.id } @@ -145,7 +145,7 @@ resource "openstack_compute_instance_v2" "docker_swarm_workers" { availability_zone_hints = var.availability_zones_names.availability_zone_no_gpu flavor_name = var.docker_swarm_data.worker_flavor key_pair = module.ssh_settings.ssh_key_name - security_groups = ["default", var.default_security_group_name, openstack_networking_secgroup_v2.swarm_internal_traffic.name] + security_groups = ["default", var.default_security_group_name, openstack_networking_secgroup_v2.swarm_internal_traffic.name,"nfs_share_no_ingress"] scheduler_hints { group = openstack_compute_servergroup_v2.swarm_workers.id }