@@ -36,7 +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
+ volume_type = var. volume_type == " " ? null : var. volume_type
40
40
}
41
41
}
42
42
timeouts {
@@ -68,7 +68,7 @@ resource "openstack_compute_instance_v2" "seed" {
68
68
boot_index = 0
69
69
destination_type = " volume"
70
70
delete_on_termination = true
71
- var. volume_type == " " ? null : var. volume_type
71
+ volume_type = var. volume_type == " " ? null : var. volume_type
72
72
}
73
73
}
74
74
timeouts {
@@ -96,7 +96,7 @@ resource "openstack_compute_instance_v2" "compute" {
96
96
boot_index = 0
97
97
destination_type = " volume"
98
98
delete_on_termination = true
99
- var. volume_type == " " ? null : var. volume_type
99
+ volume_type = var. volume_type == " " ? null : var. volume_type
100
100
}
101
101
}
102
102
timeouts {
@@ -123,7 +123,7 @@ resource "openstack_compute_instance_v2" "controller" {
123
123
boot_index = 0
124
124
destination_type = " volume"
125
125
delete_on_termination = true
126
- var. volume_type == " " ? null : var. volume_type
126
+ volume_type = var. volume_type == " " ? null : var. volume_type
127
127
}
128
128
}
129
129
timeouts {
@@ -151,7 +151,7 @@ resource "openstack_compute_instance_v2" "storage" {
151
151
boot_index = 0
152
152
destination_type = " volume"
153
153
delete_on_termination = true
154
- var. volume_type == " " ? null : var. volume_type
154
+ volume_type = var. volume_type == " " ? null : var. volume_type
155
155
}
156
156
}
157
157
timeouts {
@@ -177,7 +177,7 @@ resource "openstack_compute_instance_v2" "wazuh_manager" {
177
177
boot_index = 0
178
178
destination_type = " volume"
179
179
delete_on_termination = true
180
- var. volume_type == " " ? null : var. volume_type
180
+ volume_type = var. volume_type == " " ? null : var. volume_type
181
181
}
182
182
timeouts {
183
183
create = " 90m"
0 commit comments