Closed e-gineer closed 6 months ago
Will be included in v0.4.2-rc.3
Fixed verified with the following pipeline:
pipeline "lots_of_sleep_bound_with_param" {
param "concurrency" {
default = 1
}
param "parallel" {
default = false
}
step "sleep" "lots_of_them" {
for_each = [1, 2, 3, 4, 5, 6, 7, 8, 9]
max_concurrency = param.parallel ? null : 1
duration = "2s"
}
}
I'd like to use an expression in
max_concurrency
for a step:But it fails with: