From d102573cbded9aeedf0dd4f58f4e247f1cae82bd Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Fri, 18 Oct 2024 09:17:07 +0200 Subject: [PATCH] Add placeholder for postgresql patroni nodes --- IaC-test/pgnodes.tf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 IaC-test/pgnodes.tf 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 +#} + + +