infra/stacks/mailserver/modules
Viktor Barzin 4ee4d1927d
Some checks failed
ci/woodpecker/push/default Pipeline was canceled
mailserver: guard alias filter against short lines with a lazy ternary
CI pipeline 469 failed with 'Invalid index' on the postfix_virtual alias
filter: terraform only short-circuits &&/|| from v1.6, and the older
terraform in the infra-ci image still evaluated split(" ", line)[1] for
the blank and comment lines that have been in extra/aliases.txt since the
plans@ block. The devvm's newer terraform short-circuits, which is why the
local apply of the same commit passed. A conditional expression is lazy on
every terraform version, so move the length guard into a ternary.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 14:38:30 +00:00
..
mailserver mailserver: guard alias filter against short lines with a lazy ternary 2026-07-03 14:38:30 +00:00