diff --git a/IaC-test/pgnodes.tf b/IaC-test/pgnodes.tf new file mode 100644 index 0000000..ea6a1d5 --- /dev/null +++ b/IaC-test/pgnodes.tf @@ -0,0 +1,17 @@ +# 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 +#} + + +