Add the 'default' security group to the docker swarm worker nodes.

This commit is contained in:
Andrea Dell'Amico 2024-01-15 13:33:28 +01:00
parent d3aa2288fe
commit 0da976e4c1
Signed by untrusted user: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [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]
scheduler_hints {
group = openstack_compute_servergroup_v2.swarm_workers.id
}