In my template,
[[ template "region" . ]]
when I run nomad-pack run .
, it returns with the message
nil pointer evaluating interface {}.region
This is how it looks in my _region.tpl
,
[[- define "region" -]]
[[- if not (eq .gitlab_runner.region "") -]]
region = [[ .gitlab_runner.region | quote]]
[[- end -]]
[[- end -]]
Any ideas on how to go from here? Repo: gitlab-runner-nomad-pack/packs/gitlab_runner at main · builtbyeleven/gitlab-runner-nomad-pack · GitHub