3 ms·
> disabling a block without having to introduce a count parameter for_each is (weird and unpleasant but) an option, too. for_each = var.enabled ? ["thing"
by hericium 4y ago
> disabling a block without having to introduce a count parameter
for_each is (weird and unpleasant but) an option, too.
for_each = var.enabled ? ["thing"] : []