@@ -36,7 +36,7 @@ resource "openstack_compute_instance_v2" "ansible_control" {
3636 boot_index = 0
3737 destination_type = " volume"
3838 delete_on_termination = true
39- var. volume_type == " " ? null : var. volume_type
39+ volume_type = var. volume_type == " " ? null : var. volume_type
4040 }
4141 }
4242 timeouts {
@@ -68,7 +68,7 @@ resource "openstack_compute_instance_v2" "seed" {
6868 boot_index = 0
6969 destination_type = " volume"
7070 delete_on_termination = true
71- var. volume_type == " " ? null : var. volume_type
71+ volume_type = var. volume_type == " " ? null : var. volume_type
7272 }
7373 }
7474 timeouts {
@@ -96,7 +96,7 @@ resource "openstack_compute_instance_v2" "compute" {
9696 boot_index = 0
9797 destination_type = " volume"
9898 delete_on_termination = true
99- var. volume_type == " " ? null : var. volume_type
99+ volume_type = var. volume_type == " " ? null : var. volume_type
100100 }
101101 }
102102 timeouts {
@@ -123,7 +123,7 @@ resource "openstack_compute_instance_v2" "controller" {
123123 boot_index = 0
124124 destination_type = " volume"
125125 delete_on_termination = true
126- var. volume_type == " " ? null : var. volume_type
126+ volume_type = var. volume_type == " " ? null : var. volume_type
127127 }
128128 }
129129 timeouts {
@@ -151,7 +151,7 @@ resource "openstack_compute_instance_v2" "storage" {
151151 boot_index = 0
152152 destination_type = " volume"
153153 delete_on_termination = true
154- var. volume_type == " " ? null : var. volume_type
154+ volume_type = var. volume_type == " " ? null : var. volume_type
155155 }
156156 }
157157 timeouts {
@@ -177,7 +177,7 @@ resource "openstack_compute_instance_v2" "wazuh_manager" {
177177 boot_index = 0
178178 destination_type = " volume"
179179 delete_on_termination = true
180- var. volume_type == " " ? null : var. volume_type
180+ volume_type = var. volume_type == " " ? null : var. volume_type
181181 }
182182 timeouts {
183183 create = " 90m"
0 commit comments