Skip to content

Commit 7d69499

Browse files
committed
Use unencrypted volume type
1 parent ac36fa3 commit 7d69499

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

compute_instances.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ resource "openstack_compute_instance_v2" "ansible_control" {
3636
boot_index = 0
3737
destination_type = "volume"
3838
delete_on_termination = true
39+
volume_type = "unencrypted"
3940
}
4041
}
4142
timeouts {
@@ -67,6 +68,7 @@ resource "openstack_compute_instance_v2" "seed" {
6768
boot_index = 0
6869
destination_type = "volume"
6970
delete_on_termination = true
71+
volume_type = "unencrypted"
7072
}
7173
}
7274
timeouts {
@@ -94,6 +96,7 @@ resource "openstack_compute_instance_v2" "compute" {
9496
boot_index = 0
9597
destination_type = "volume"
9698
delete_on_termination = true
99+
volume_type = "unencrypted"
97100
}
98101
}
99102
timeouts {
@@ -120,6 +123,7 @@ resource "openstack_compute_instance_v2" "controller" {
120123
boot_index = 0
121124
destination_type = "volume"
122125
delete_on_termination = true
126+
volume_type = "unencrypted"
123127
}
124128
}
125129
timeouts {
@@ -147,6 +151,7 @@ resource "openstack_compute_instance_v2" "storage" {
147151
boot_index = 0
148152
destination_type = "volume"
149153
delete_on_termination = true
154+
volume_type = "unencrypted"
150155
}
151156
}
152157
timeouts {
@@ -172,6 +177,7 @@ resource "openstack_compute_instance_v2" "wazuh_manager" {
172177
boot_index = 0
173178
destination_type = "volume"
174179
delete_on_termination = true
180+
volume_type = "unencrypted"
175181
}
176182
timeouts {
177183
create = "90m"

volumes.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ resource "openstack_blockstorage_volume_v3" "volumes" {
22
count = var.storage_count
33
name = format("%s-osd-%02d", var.prefix, count.index + 1)
44
size = 40
5+
volume_type = "unencrypted"
56
}
67

78
resource "openstack_compute_volume_attach_v2" "attachments" {

0 commit comments

Comments
 (0)