Add the postgres network to the swarm workers.
This commit is contained in:
parent
6679988794
commit
8dc1f6baec
|
@ -163,6 +163,9 @@ resource "openstack_compute_instance_v2" "docker_swarm_workers" {
|
|||
network {
|
||||
name = var.swarm_nfs_private_network.network_name
|
||||
}
|
||||
network {
|
||||
name = var.networks_list.shared_postgresql
|
||||
}
|
||||
|
||||
user_data = file("${var.ubuntu2204_data_file}")
|
||||
depends_on = [openstack_networking_subnet_v2.swarm_nfs_subnet]
|
||||
|
|
Loading…
Reference in New Issue