# Postgresql patroni nodes #resource "openstack_networking_port_v2" "pgport" { # name = "pgdb1-${replace(var.dns_suffix,".","-")}-port" # # We create as many ports as there are instances created # network_id = data.openstack_networking_network_v2.public.id # # A list of security group ID # security_group_ids = [ # data.openstack_networking_secgroup_v2.sshfromjumphosts.id, # data.openstack_networking_secgroup_v2.allegress.id, # ] # admin_state_up = "true" # provider = openstack.DCO #}