Open geofffranks opened 8 years ago
Just ran into this when trying to use bosh create-env
to deploy a NAT box.
Also recently came up on slack, although didn't fully diagnose it to this exact issue.
Also ran into the same problem recently. Problem seems to be a very restrictive check in erb rendering: https://github.com/cloudfoundry/bosh-init/blob/a26a88ad318c816ac42cc63368f7ea0bc7ea40b6/templatescompiler/erbrenderer/template_evaluation_context_rb.go#L33-L37
If
jobs.X.properties
is empty, and properties are specified as global properties atproperties
, all templates fail to render, with the errorAdding an empty map to the job-specific properties key resolves this. This key is not required for traditional bosh deploys, so it feels like this should be allowed in bosh-init as well.
Failing manifest excerpt:
Working manifest excerpt: