chilly-waitress-62592
02/09/2023, 3:37 PMvalues
section of a helm module.
"${ environment.name != 'production' ? 20 : -1 }"
I'm assuming it's something silly I'm doing.bright-policeman-43626
02/09/2023, 4:19 PMchilly-waitress-62592
02/09/2023, 4:37 PMInvalid template string (${environment.name != 'production'…): Unable to parse as valid template string.
The goal is to give something a value of -1 for environment.name of production and 20 otherwise.variables:
maxConcurrentRuns:
production: -1
...
maxConcurrentRuns: ${var.maxConcurrentRuns["${environment.name}"] || 20}
Kind of a funny mix. I believe it might have been having an issue with the negative integer?bright-policeman-43626
02/09/2023, 6:49 PM