Levant 0.3.2 broke deploying configs with int values passed from envs
sokil opened this issue · 1 comments
sokil commented
Description
Levant 0.3.2 broke deploying configs with int values passed from envs
Relevant Nomad job specification file
job "[[.name]]" {
group "application" {
count = [[ env "NOMAD_GROUP_APP_COUNT" ]]
network {
mode = "bridge"
port "http" {}
}
}
}
Output
[ERROR] levant/command: error parsing: At 21:9: Unknown token: 21:9 IDENT network
if i fix config like this everything is fine
job "[[.name]]" {
group "application" {
count = "[[ env "NOMAD_GROUP_APP_COUNT" ]]"
network {
mode = "bridge"
port "http" {}
}
}
}
Maybe this fix affects #465 ?