@@ -36,6 +36,7 @@ resource "openstack_compute_instance_v2" "ansible_control" {
36
36
boot_index = 0
37
37
destination_type = " volume"
38
38
delete_on_termination = true
39
+ var. volume_type == " " ? null : var. volume_type
39
40
}
40
41
}
41
42
timeouts {
@@ -67,6 +68,7 @@ resource "openstack_compute_instance_v2" "seed" {
67
68
boot_index = 0
68
69
destination_type = " volume"
69
70
delete_on_termination = true
71
+ var. volume_type == " " ? null : var. volume_type
70
72
}
71
73
}
72
74
timeouts {
@@ -94,6 +96,7 @@ resource "openstack_compute_instance_v2" "compute" {
94
96
boot_index = 0
95
97
destination_type = " volume"
96
98
delete_on_termination = true
99
+ var. volume_type == " " ? null : var. volume_type
97
100
}
98
101
}
99
102
timeouts {
@@ -120,6 +123,7 @@ resource "openstack_compute_instance_v2" "controller" {
120
123
boot_index = 0
121
124
destination_type = " volume"
122
125
delete_on_termination = true
126
+ var. volume_type == " " ? null : var. volume_type
123
127
}
124
128
}
125
129
timeouts {
@@ -147,6 +151,7 @@ resource "openstack_compute_instance_v2" "storage" {
147
151
boot_index = 0
148
152
destination_type = " volume"
149
153
delete_on_termination = true
154
+ var. volume_type == " " ? null : var. volume_type
150
155
}
151
156
}
152
157
timeouts {
@@ -172,6 +177,7 @@ resource "openstack_compute_instance_v2" "wazuh_manager" {
172
177
boot_index = 0
173
178
destination_type = " volume"
174
179
delete_on_termination = true
180
+ var. volume_type == " " ? null : var. volume_type
175
181
}
176
182
timeouts {
177
183
create = " 90m"
0 commit comments