Giter Club home page Giter Club logo

Comments (4)

dpb587-pivotal avatar dpb587-pivotal commented on August 20, 2024

Is this with the deploy command or create-env?

With deploy it's intentional because director may end up resolving the values via config server. Which is kind of weird, ambiguous behavior because of scenarios like you're describing. And a bit weird IMO - now you must know if your director is configured for config-server.

With create-env it's probably a good idea to error if we don't already since we won't be supporting anything else interpolating them.

from bosh-cli.

ljfranklin avatar ljfranklin commented on August 20, 2024

Is this with the deploy command or create-env?

This was with create-env. The deploy + config server example makes sense, although we should probably make sure we fail as quickly as possible on interpolation errors in that case as well.

To add a bit more context, I'm trying to interpolate some director secrets (e.g. passwords) and a separate file for the terraform outputs (e.g. IP addresses):

bosh create-env \
    -l <(echo "${BOSH_DIRECTOR_SECRETS}") \
    -l "${terraform_config}/metadata" \
    ./director.yml

from bosh-cli.

cppforlife avatar cppforlife commented on August 20, 2024

agreed that for create-env it should raise an error. deploy is on purpose.

from bosh-cli.

cppforlife avatar cppforlife commented on August 20, 2024

Fixed in https://github.com/cloudfoundry/bosh-cli/releases/tag/v0.0.87.

from bosh-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.