Skip to content

Commit

Permalink
use values for values
Browse files Browse the repository at this point in the history
  • Loading branch information
mboisson committed Jan 13, 2025
1 parent cf21be1 commit 498bf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstack/infrastructure.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ resource "openstack_compute_instance_v2" "instances" {

resource "openstack_blockstorage_volume_v3" "volumes" {
for_each = {
for x, values in module.design.volumes : x => true if !contains(keys(values), "volume_id")
for x, values in module.design.volumes : x => values if !contains(keys(values), "volume_id")
}
name = "${var.cluster_name}-${each.key}"
description = "${var.cluster_name} ${each.key}"
Expand Down

0 comments on commit 498bf7a

Please sign in to comment.