Skip to content

Commit

Permalink
make cluster_home_manila_share_type optional for when default share t…
Browse files Browse the repository at this point in the history
…ype is defined
  • Loading branch information
sjpb committed Jan 17, 2024
1 parent 6b3493c commit e4c650a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/cluster_infra/templates/resources.tf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
}

Expand Down

0 comments on commit e4c650a

Please sign in to comment.