resource "nomad_volume" "matrix-synapse" { type = "csi" plugin_id = "org.democratic-csi.nfs" volume_id = "matrix-synapse" name = "matrix-synapse" external_id = "matrix-synapse" capability { access_mode = "multi-node-multi-writer" attachment_mode = "file-system" } context = { server = "blowhole.hosts.in.redalder.org" share = "/mnt/kyle/infrastructure/matrix/synapse" node_attach_driver = "nfs" provisioner_driver = "node-manual" } mount_options { fs_type = "nfs" mount_flags = [ "hard", "vers=4.2", "rsize=16384", "wsize=16384", "async" ] } } resource "nomad_volume" "matrix-postgresql" { type = "csi" plugin_id = "org.democratic-csi.nfs" volume_id = "matrix-postgresql" name = "matrix-postgresql" external_id = "matrix-postgresql" capability { access_mode = "single-node-writer" attachment_mode = "file-system" } context = { server = "blowhole.hosts.in.redalder.org" share = "/mnt/kyle/infrastructure/matrix/postgresql" node_attach_driver = "nfs" provisioner_driver = "node-manual" } mount_options { fs_type = "nfs" mount_flags = [ "hard", "vers=4.2", "rsize=16384", "wsize=16384", "async" ] } } resource "nomad_volume" "matrix-registrations" { type = "csi" plugin_id = "org.democratic-csi.nfs" volume_id = "matrix-registrations" name = "matrix-registrations" external_id = "matrix-registrations" capability { access_mode = "multi-node-multi-writer" attachment_mode = "file-system" } context = { server = "blowhole.hosts.in.redalder.org" share = "/mnt/kyle/infrastructure/matrix/registrations" node_attach_driver = "nfs" provisioner_driver = "node-manual" } mount_options { fs_type = "nfs" mount_flags = [ "hard", "vers=4.2", "rsize=16384", "wsize=16384", "async" ] } } resource "nomad_volume" "matrix-mautrix-facebook" { type = "csi" plugin_id = "org.democratic-csi.nfs" volume_id = "matrix-mautrix-facebook" name = "matrix-mautrix-facebook" external_id = "matrix-mautrix-facebook" capability { access_mode = "single-node-writer" attachment_mode = "file-system" } context = { server = "blowhole.hosts.in.redalder.org" share = "/mnt/kyle/infrastructure/matrix/mautrix-facebook" node_attach_driver = "nfs" provisioner_driver = "node-manual" } mount_options { fs_type = "nfs" mount_flags = [ "hard", "vers=4.2", "rsize=16384", "wsize=16384", "async" ] } } resource "nomad_volume" "matrix-mautrix-signal" { type = "csi" plugin_id = "org.democratic-csi.nfs" volume_id = "matrix-mautrix-signal" name = "matrix-mautrix-signal" external_id = "matrix-mautrix-signal" capability { access_mode = "single-node-writer" attachment_mode = "file-system" } context = { server = "blowhole.hosts.in.redalder.org" share = "/mnt/kyle/infrastructure/matrix/mautrix-signal" node_attach_driver = "nfs" provisioner_driver = "node-manual" } mount_options { fs_type = "nfs" mount_flags = [ "hard", "vers=4.2", "rsize=16384", "wsize=16384", "async" ] } } resource "nomad_volume" "matrix-redis" { type = "csi" plugin_id = "org.democratic-csi.nfs" volume_id = "matrix-redis" name = "matrix-redis" external_id = "matrix-redis" capability { access_mode = "single-node-writer" attachment_mode = "file-system" } context = { server = "blowhole.hosts.in.redalder.org" share = "/mnt/kyle/infrastructure/matrix/redis" node_attach_driver = "nfs" provisioner_driver = "node-manual" } mount_options { fs_type = "nfs" mount_flags = [ "hard", "vers=4.2", "rsize=16384", "wsize=16384", "async" ] } } resource "vault_policy" "matrix-mautrix-signal-policy" { name = "matrix-mautrix-signal-policy" policy = <