Skip to content
Snippets Groups Projects
Commit 3388a25f authored by František Řezníček's avatar František Řezníček
Browse files

refactor: distinguish between node and bastion extra volume also by volume name

parent 90447acc
No related branches found
No related tags found
No related merge requests found
# node extra volumes
resource "openstack_blockstorage_volume_v3" "nodes_extra_volumes" {
count = (var.nodes_extra_volume_size * var.nodes_extra_volume_count > 0) ? (var.nodes_count * var.nodes_extra_volume_count) : 0
name = "${var.infra_name}-extra-volume-${count.index+1}"
name = "${var.infra_name}-node-extra-volume-${count.index+1}"
size = var.nodes_extra_volume_size
volume_type = var.nodes_extra_volume_type
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment