unquote env attributes

This commit is contained in:
Mahmood Ali
2020-12-10 09:29:14 -05:00
parent 863c194733
commit 3ce044876e
2 changed files with 2 additions and 4 deletions

View File

@@ -48,8 +48,6 @@ is preserved.
env {
key = 1.4
key = "1.4"
"key" = 1.4
"key" = "1.4"
key = true
key = "1"

View File

@@ -47,8 +47,8 @@ task "docs" {
# Environment variables are interpreted and can contain both runtime and
# node attributes. These environment variables are passed into the task.
env {
"DC" = "Running on datacenter ${node.datacenter}"
"VERSION" = "Version ${NOMAD_META_VERSION}"
DC = "Running on datacenter ${node.datacenter}"
VERSION = "Version ${NOMAD_META_VERSION}"
}
# Meta keys are also interpretable.