From e4c650a3d5adc8eaff9f035b0caae2575e64a284 Mon Sep 17 00:00:00 2001 From: Steve Brasier Date: Wed, 17 Jan 2024 10:16:06 +0000 Subject: [PATCH] make cluster_home_manila_share_type optional for when default share type is defined --- ansible/roles/cluster_infra/templates/resources.tf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/cluster_infra/templates/resources.tf.j2 b/ansible/roles/cluster_infra/templates/resources.tf.j2 index 41b0ce1b9..0e5d4a6de 100644 --- a/ansible/roles/cluster_infra/templates/resources.tf.j2 +++ b/ansible/roles/cluster_infra/templates/resources.tf.j2 @@ -84,7 +84,7 @@ resource "openstack_sharedfilesystem_share_v2" "home" { name = "{{ cluster_name }}-home" description = "Home for control node" share_proto = "CEPHFS" - share_type = "{{ cluster_home_manila_share_type }}" + share_type = {{ '"' + cluster_home_manila_share_type + '"' | default('null') }} size = "{{ home_volume_size }}" }