Closed mattcui closed 8 years ago
Not currently possible with bosh-init
. Not sure if it's a planned feature or anything.
As an alternative, you might be able to pre-parse it with something like erb bosh-init.yml.erb > bosh-init.yml
before running your bosh-init deploy bosh-init.yml
.
@mattcui it's not planned to add ERB rendering of manifests. we are planning to add {{..}} concourse/fly style interpolation soon.
did this get implemented?
@DonBower yes, please see this doc for the new BOSH CLI.
@dpb587-pivotal The Document you refer to is for Bosh CLI V2, not BOSH-INIT.
@DonBower bosh create-env
replaces bosh-init create
and has support for variables. This bosh-init repository is no longer maintained in favor of that.
In the past, we define variables at the top of yml (embraced with <%...%>) when deploying micro-bosh with bosh-cli and micro-plugin. But we found it can't work with bosh-init, is there a way to use variables in yml to deploy a micro bosh with bosh-init? Thanks.